
Ultimate access to all questions.
You are deploying an application to Cloud Run that requires a password to start. Your organization mandates password rotation every 24 hours, and your application must always use the latest password without any downtime during deployment. What is the recommended approach to achieve this?
A
Store the password in Secret Manager and send the secret to the application by using environment variables.
B
Store the password in Secret Manager and mount the secret as a volume within the application.
C
Use Cloud Build to add your password into the application container at build time. Ensure that Artifact Registry is secured from public access.
D
Store the password directly in the code. Use Cloud Build to rebuild and deploy the application each time the password changes.