Vidyalelo
Ruby Programming · Q10

Best Practices and Code Conventions in Ruby

Programming · Ruby Programming · question 10

Q10

What is the recommended way to handle sensitive information, such as API keys, in Ruby projects?

A.
Store them in environment variables
Answer
B.
Embed them directly in the code
C.
Include them in a separate configuration file
D.
Store them in the source code as comments

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board