New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud DevOps Engineer Exam - Topic 3 Question 96 Discussion

Actual exam question for Google's Professional Cloud DevOps Engineer exam
Question #: 96
Topic #: 3
[All Professional Cloud DevOps Engineer Questions]

[Building and implementing CI/CD pipelines for a service]

You are deploying an application to Cloud Run. The application requires a password to start. Your organization requires that all passwords are rotated every 24 hours, and your application must have the latest password. You need to deploy the application with no downtime. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Hassie
2 months ago
I thought storing passwords in code was a big no-no? D seems risky.
upvoted 0 times
...
Gary
2 months ago
I disagree, B seems better for managing secrets.
upvoted 0 times
...
Lucy
2 months ago
Option A is the best choice! Using Secret Manager is secure.
upvoted 0 times
...
Levi
3 months ago
Wait, can you really rotate passwords every 24 hours without downtime?
upvoted 0 times
...
Sabine
3 months ago
A is definitely the way to go, no downtime and secure!
upvoted 0 times
...
Tamala
3 months ago
Storing the password in the code seems really risky, but I guess option D could work if we automate the rebuild process.
upvoted 0 times
...
Valentine
3 months ago
I practiced a similar question where we had to manage secrets, and I feel like using environment variables might expose the password during deployment.
upvoted 0 times
...
Clay
4 months ago
I'm not entirely sure, but I think mounting the secret as a volume could be a better way to handle updates without downtime.
upvoted 0 times
...
Crista
4 months ago
I remember discussing the importance of using Secret Manager for sensitive data, so option A seems like a good choice.
upvoted 0 times
...
Sylvie
4 months ago
Cloud Build to add the password at build time? That's an interesting approach. I'll need to make sure the Artifact Registry is locked down tight, but that could be a good solution.
upvoted 0 times
...
Gertude
4 months ago
Mounting the secret as a volume seems like it could work, but I'm not sure if that's the most secure option. I'll have to research that a bit more.
upvoted 0 times
...
Maricela
4 months ago
Okay, I think I've got a plan. I'll use Secret Manager to store the password and send it to the application as an environment variable. That way, I can rotate the password easily without any downtime.
upvoted 0 times
...
Helga
4 months ago
Hmm, storing the password directly in the code seems like a bad idea from a security standpoint. I'll probably rule that out.
upvoted 0 times
...
Venita
5 months ago
This looks like a tricky one. I'll need to think through the security implications of each approach carefully.
upvoted 0 times
...
Rosio
5 months ago
I disagree, I believe we should store the password in Secret Manager and mount the secret as a volume within the application.
upvoted 0 times
...
Ettie
6 months ago
I think we should store the password in Secret Manager and send the secret to the application by using environment variables.
upvoted 0 times
...

Save Cancel