
Answer-first summary for fast verification
Answer: A policy enforcing the `constraints/iam.disableServiceAccountKeyCreation` constraint has been applied to the resource hierarchy.
The correct answer is **A**. A policy that enforces the `constraints/iam.disableServiceAccountKeyCreation` constraint on the resource hierarchy directly prevents the creation of service account keys, a necessary step for utilizing a service account. This makes it impossible for the developer to proceed with creating the service account under such constraints. - **B** is incorrect because the `deployment.yaml` file is related to deploying applications in Kubernetes and has no bearing on the creation of service accounts. - **C** is incorrect as DNS A records are used for domain name to IP address mappings and are unrelated to service account creation. - **D**, while theoretically a possible issue, is less likely compared to the resource hierarchy policy due to the broader impact the latter has on service account creation capabilities.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A developer is attempting to set up a service account for a data pipeline but encounters an issue preventing the operation's completion. What could be the possible reason?
A
A policy enforcing the constraints/iam.disableServiceAccountKeyCreation constraint has been applied to the resource hierarchy.
B
The deployment.yaml file, necessary for the operation, is not correctly configured by the developer.
C
The developer has failed to properly set up a Domain Name Services (DNS) A record, which is crucial for the operation.
D
A policy that restricts the creation of service accounts has been applied to an IAM group, which needs to be removed.
No comments yet.