Google Cloud Professional Cloud DevOps Engineer — Question 104

You are building an application that runs on Cloud Run. The application needs to access a third-party API by using an API key. You need to determine a secure way to store and use the API key in your application by following Google-recommended practices. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because it follows best practices for securely managing sensitive information by using Secret Manager, which is designed for this purpose. The other options either involve unnecessary complexity, such as mounting and decrypting secrets, or do not utilize Secret Manager effectively.