ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 105 - Professional Cloud DevOps Engineer discussion

Report
Export

A third-party application needs to have a service account key to work properly When you try to export the key from your cloud project you receive an error 'The organization policy constraint larn.disableServiceAccountKeyCreation is enforcedM You need to make the third-party application work while following Google-recommended security practices What should you do?

A.
Enable the default service account key. and download the key
Answers
A.
Enable the default service account key. and download the key
B.
Remove the iam.disableServiceAccountKeyCreation policy at the organization level, and create a key.
Answers
B.
Remove the iam.disableServiceAccountKeyCreation policy at the organization level, and create a key.
C.
Disable the service account key creation policy at the project's folder, and download the default key
Answers
C.
Disable the service account key creation policy at the project's folder, and download the default key
D.
Add a rule to set the iam.disableServiceAccountKeyCreation policy to off in your project and create a key.
Answers
D.
Add a rule to set the iam.disableServiceAccountKeyCreation policy to off in your project and create a key.
Suggested answer: D

Explanation:

The best option for making the third-party application work while following Google-recommended security practices is to add a rule to set the iam.disableServiceAccountKeyCreation policy to off in your project and create a key. The iam.disableServiceAccountKeyCreation policy is an organization policy that controls whether service account keys can be created in a project or organization. By default, this policy is set to on, which means that service account keys cannot be created. However, you can override this policy at a lower level, such as a project, by adding a rule to set it to off. This way, you can create a service account key for your project without affecting other projects or organizations. You should also follow the best practices for managing service account keys, such as rotating them regularly, storing them securely, and deleting them when they are no longer needed.

asked 18/09/2024
Maurice Daly
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first