Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Security Engineer All Questions

View all questions & answers for the Professional Cloud Security Engineer exam

Exam Professional Cloud Security Engineer topic 1 question 172 discussion

Actual exam question from Google's Professional Cloud Security Engineer
Question #: 172
Topic #: 1
[All Professional Cloud Security Engineer Questions]

You're developing the incident response plan for your company. You need to define the access strategy that your DevOps team will use when reviewing and investigating a deployment issue in your Google Cloud environment. There are two main requirements:
✑ Least-privilege access must be enforced at all times.
✑ The DevOps team must be able to access the required resources only during the deployment issue.
How should you grant access while following Google-recommended best practices?

  • A. Assign the Project Viewer Identity and Access Management (IAM) role to the DevOps team.
  • B. Create a custom IAM role with limited list/view permissions, and assign it to the DevOps team.
  • C. Create a service account, and grant it the Project Owner IAM role. Give the Service Account User Role on this service account to the DevOps team.
  • D. Create a service account, and grant it limited list/view permissions. Give the Service Account User Role on this service account to the DevOps team.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Baburao
Highly Voted 2 years, 2 months ago
I think the answer should D. Option B gives them "Always On" permissions but the question asks for "Just in time" permissions. So, this is possible only with a Service Account. Once the incident response team resolves the issue, the service account key can be disabled.
upvoted 16 times
pfilourenco
1 year, 3 months ago
You can create "Just in time" permissions with IAM conditions.
upvoted 6 times
...
...
Mr_MIXER007
Most Recent 2 months, 3 weeks ago
Selected Answer: D
D. Create a service account, and grant it limited list/view permissions. Give the Service Account User Role on this service account to the DevOps team. This option allows you to create a service account with limited access rights (list/view), and the DevOps team will be able to use this service account only when needed. This is consistent with the principle of least privilege and incident-only access.
upvoted 1 times
...
Mr_MIXER007
2 months, 3 weeks ago
Selected Answer: D
D. Create a service account, and grant it limited list/view permissions. Give the Service Account User Role on this service account to the DevOps team. This option allows you to create a service account with limited access rights (list/view), and the DevOps team will be able to use this service account only when needed. This is consistent with the principle of least privilege and incident-only access.
upvoted 1 times
...
jujanoso
4 months, 2 weeks ago
Selected Answer: D
D. This approach allows the creation of a service account with specific limited permissions necessary for investigating deployment issues. The DevOps team can then be granted the Service Account User role on this service account. This setup ensures that the DevOps team can use the service account with appropriate permissions only when needed, fulfilling both requirements of least-privilege access and temporary access
upvoted 1 times
...
shanwford
7 months ago
Selected Answer: D
Its (D) according https://cloud.google.com/iam/docs/best-practices-service-accounts "Some applications only require access to certain resources at specific times or under specific circumstances....In such scenarios, using a single service account and granting it access to all resources goes against the principle of least privilege"
upvoted 2 times
...
Bettoxicity
7 months, 4 weeks ago
Selected Answer: D
D. -Least Privilege: By creating a service account with restricted permissions (limited list/view access to specific resources), you adhere to the principle of least privilege. The DevOps team can only access the information needed for investigation without broader project-level control. -Temporary Access: Service accounts are not tied to individual users. Once the investigation is complete, you can simply revoke access to the service account from the DevOps team, effectively removing their access to the resources. This ensures temporary access for the specific incident.
upvoted 1 times
...
glb2
8 months, 1 week ago
Selected Answer: B
Answer is B, it sets least-privilege access.
upvoted 1 times
...
dija123
8 months, 2 weeks ago
Selected Answer: D
Any DevOps Engineer knows verywell, it is D
upvoted 1 times
...
Nachtwaker
8 months, 3 weeks ago
Selected Answer: B
B or D, I prefer B because of traceability, impersonating an account is harder to audit in relation to using personal account.
upvoted 2 times
...
dija123
8 months, 3 weeks ago
Selected Answer: D
I go with D, While B seems to allows defining specific permissions, it adds complexity to the access control strategy and might still grant more access than necessary.
upvoted 1 times
...
JoaquinJimenezGarcia
11 months, 3 weeks ago
Selected Answer: B
B follows the google best practices
upvoted 2 times
...
rglearn
1 year, 2 months ago
Selected Answer: B
Answer should be B
upvoted 1 times
...
desertlotus1211
1 year, 2 months ago
The real answer shouldn be 'breakglass' tool.
upvoted 1 times
...
ymkk
1 year, 2 months ago
Between B and D, I choose D Because option B Granting IAM roles to the DevOps team directly would give them ongoing, not temporary, access.
upvoted 3 times
...
cyberpunk21
1 year, 3 months ago
Selected Answer: B
I go with B, if we consider D we need to assume too many things and B is simple custom role with JIT condition can address all the issues.
upvoted 3 times
...
ITIFR78
1 year, 3 months ago
Selected Answer: B
B is more relvant
upvoted 2 times
...
akg001
1 year, 3 months ago
Selected Answer: B
B is right answer.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...