ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 146 - Professional Cloud Security Engineer discussion

Report
Export

Your security team wants to reduce the risk of user-managed keys being mismanaged and compromised. To achieve this, you need to prevent developers from creating user-managed service account keys for projects in their organization. How should you enforce this?

A.
Configure Secret Manager to manage service account keys.
Answers
A.
Configure Secret Manager to manage service account keys.
B.
Enable an organization policy to disable service accounts from being created.
Answers
B.
Enable an organization policy to disable service accounts from being created.
C.
Enable an organization policy to prevent service account keys from being created.
Answers
C.
Enable an organization policy to prevent service account keys from being created.
D.
Remove the iam.serviceAccounts.getAccessToken permission from users.
Answers
D.
Remove the iam.serviceAccounts.getAccessToken permission from users.
Suggested answer: C

Explanation:

https://cloud.google.com/iam/docs/best-practices-for-managing-service-account-keys

'To prevent unnecessary usage of service account keys, use organization policy constraints: At the root of your organization's resource hierarchy, apply the Disable service account key creation and Disable service account key upload constraints to establish a default where service account keys are disallowed. When needed, override one of the constraints for selected projects to re-enable service account key creation or upload.'

asked 18/09/2024
Keenan Bragg
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first