Question 620
A project already permits an API call but the API is disabled. What is the most direct solution?
- Enable the corresponding API with suitable service-usage privileges
- Inspect effective organization-policy constraints on external IP use
- Verify product regional availability and capacity instead of adding another role
- Grant an appropriate network security administration role
- Troubleshoot VPC connectivity and firewall evaluation separately from IAM
Explanation
Correct Answer
A:Role assignment and API activation are separate prerequisites. An IAM grant alone does not turn on a project service.
Incorrect Answers
B:Its purpose is to explain policy denial despite project Editor. That distinction matters: the scenario calls for an action to fix disabled-API calls, not this separate configuration task.
C:This approach can distinguish authorization from location support. The requirement is to fix disabled-API calls, so it controls a different part of the workflow and leaves that result unaddressed.
D:Choosing this would delegate firewall rule management, an appropriate action for resource-specific iam grants operations; It cannot take the place of the separate step needed to fix disabled-API calls in this specific situation.
E:This setting would separate network policy from API authorization. That behavior does not establish the requested ability to fix disabled-API calls; it addresses an adjacent concern instead.
Question 621
A security reviewer wants to compare current and earlier IAM bindings on supported resources. What should be configured?
- Evaluate effective allow, deny, condition and eligibility controls for that specific permission
- Export or query supported IAM policy asset data at hierarchy scope
- Use Cloud Asset Inventory history or supported audit logs for policy changes
- Search Cloud Audit Logs for the relevant setIamPolicy administrative call
Explanation
Correct Answer
C:Asset history and Admin Activity logs provide different evidence about configuration over time. A current policy alone cannot show the sequence of prior edits.
Incorrect Answers
A:The tool can assess effective access comprehensively, but it cannot be substituted for the capability needed to reconstruct access policy changes. Its operational effect is not equivalent.
B:This mechanism is intended to generate hierarchy-wide role assignment reports. It does not implement the required action to reconstruct access policy changes, even though both are relevant to the same general service.
D:The result of this choice would be to audit IAM policy mutations. The requested outcome, to reconstruct access policy changes, is handled at a different layer or through another operation.
Question 622
An incident responder needs to know which identity changed a project's IAM policy. Which action is most appropriate?
- Use Cloud Asset Inventory history or supported audit logs for policy changes
- Evaluate effective allow, deny, condition and eligibility controls for that specific permission
- Use suitable IAM policy analysis or Cloud Asset Inventory search
- Search Cloud Audit Logs for the relevant setIamPolicy administrative call
- Export or query supported IAM policy asset data at hierarchy scope
Explanation
Correct Answer
D:Administrative audit entries include the acting principal and API method when available. They provide mutation history separate from the resulting current binding.
Incorrect Answers
A:This approach can investigate historical IAM grants. The requirement is to identify who changed project access, so it controls a different part of the workflow and leaves that result unaddressed.
B:This choice is useful to assess effective access comprehensively. The stated task is to identify who changed project access, which requires a different mechanism or permission scope.
C:The technical effect is to locate cross-resource IAM grants, not to identify who changed project access; That distinction matters here because the first operation serves audit a principal across projects, rather than the scenario's required result.
E:This setting would generate hierarchy-wide role assignment reports. That behavior does not establish the requested ability to identify who changed project access; it addresses an adjacent concern instead.
Question 623
A reviewer is asked to prove that one service account cannot access a bucket. Which solution should be used?
- Evaluate effective allow, deny, condition and eligibility controls for that specific permission
- Use Cloud Asset Inventory history or supported audit logs for policy changes
- Search Cloud Audit Logs for the relevant setIamPolicy administrative call
- Export or query supported IAM policy asset data at hierarchy scope
- Use the suitable Compute Engine operational role rather than organization policy administration
Explanation
Correct Answer
A:Absence from the bucket's direct policy is not enough if inherited grants exist. A permission-specific investigation provides stronger evidence.
Incorrect Answers
B:While this can investigate historical IAM grants, the present task requires an action to verify whether a principal can read a bucket. This operation does not supply the behavior described in the requirements.
C:This mechanism is intended to audit IAM policy mutations. It does not implement the required action to verify whether a principal can read a bucket, even though both are relevant to the same general service.
D:The result of this choice would be to generate hierarchy-wide role assignment reports. The requested outcome, to verify whether a principal can read a bucket, is handled at a different layer or through another operation.
E:Choosing this would manage compute resources without governance changes, an appropriate action for resource-specific iam grants operations; It cannot take the place of the separate step needed to verify whether a principal can read a bucket in this specific situation.
Question 624
A large organization wants automated reports of project IAM grants. How should the team proceed?
- Export or query supported IAM policy asset data at hierarchy scope
- Use Cloud Asset Inventory history or supported audit logs for policy changes
- Grant appropriate Project IAM Admin permissions on that project
- Evaluate effective allow, deny, condition and eligibility controls for that specific permission
- Search Cloud Audit Logs for the relevant setIamPolicy administrative call
Explanation
Correct Answer
A:Policy asset records provide structured principal-role relationships across projects. The resulting report should include ancestor and conditional context where relevant.
Incorrect Answers
B:The tool can investigate historical IAM grants, but it cannot be substituted for the capability needed to audit project roles centrally. Its operational effect is not equivalent.
C:This proposal can delegate project IAM management, but the failure or goal described here calls for a way to audit project roles centrally; It changes the wrong control or scope for the requested outcome.
D:It can assess effective access comprehensively; however, it does not provide the specific operation to audit project roles centrally. The two controls serve different purposes.
E:Using this action would audit IAM policy mutations, not audit project roles centrally. Its function is different from the specific change described in the scenario.
Question 625
An IAM update script accidentally removes unrelated role members by replacing the entire policy without preservation. Which configuration best meets the requirement?
- Review the permission definition and affected principals before publishing the change
- Review the resource path and inherited descendants affected by the binding
- Read the existing policy, merge the intended binding, and update with its etag
- Identify the intended binding and condition rather than editing every matching role entry
Explanation
Correct Answer
C:Allow policies contain multiple bindings; destructive replacement can remove other grants. etags help avoid concurrent overwrite errors.
Incorrect Answers
A:This approach can assess custom-role update blast radius. The requirement is to safely edit resource policy contents, so it controls a different part of the workflow and leaves that result unaddressed.
B:While this can inspect role grant blast radius, the present task requires an action to safely edit resource policy contents. This operation does not supply the behavior described in the requirements.
D:Administrators use it to edit a particular conditional IAM binding, rather than to safely edit resource policy contents. Applying it would change the wrong component of this deployment.
Question 626
A security engineer needs to verify a new role grant has the expected scope before rollout. What should be configured?
- Use a supported policy update with the current etag
- Review the permission definition and affected principals before publishing the change
- Review the resource path and inherited descendants affected by the binding
- Read the existing policy, merge the intended binding, and update with its etag
- Identify the intended binding and condition rather than editing every matching role entry
Explanation
Correct Answer
C:A binding on an organization or folder can authorize many resources. Scope review prevents unintended privilege expansion.
Incorrect Answers
A:Choosing this would update IAM bindings with concurrency protection, an appropriate action for iam allow policy structure operations; It cannot take the place of the separate step needed to avoid an overly broad inherited assignment in this specific situation.
B:The tool can assess custom-role update blast radius, but it cannot be substituted for the capability needed to avoid an overly broad inherited assignment. Its operational effect is not equivalent.
D:This mechanism is intended to preserve existing IAM bindings during updates. It does not implement the required action to avoid an overly broad inherited assignment, even though both are relevant to the same general service.
E:Select this when the goal is to edit a particular conditional IAM binding. Here the decisive requirement is to avoid an overly broad inherited assignment, and that outcome is not achieved by this action.
Question 627
A policy has multiple condition-based bindings for the same role and one team needs to update a specific grant. Which action is most appropriate?
- Add an IAM allow-policy binding for the team group on the target project
- Review the permission definition and affected principals before publishing the change
- Review the resource path and inherited descendants affected by the binding
- Identify the intended binding and condition rather than editing every matching role entry
- Read the existing policy, merge the intended binding, and update with its etag
Explanation
Correct Answer
D:IAM bindings can be distinguished by members, role and condition. Blanket replacement can alter other conditional access.
Incorrect Answers
A:While this can bind a role to a principal on a resource, the present task requires an action to preserve unrelated role conditions. This operation does not supply the behavior described in the requirements.
B:This setting would assess custom-role update blast radius. That behavior does not establish the requested ability to preserve unrelated role conditions; it addresses an adjacent concern instead.
C:Its purpose is to inspect role grant blast radius. That distinction matters: the scenario calls for an action to preserve unrelated role conditions, not this separate configuration task.
E:This approach can preserve existing IAM bindings during updates. The requirement is to preserve unrelated role conditions, so it controls a different part of the workflow and leaves that result unaddressed.
Question 628
A custom role update adds a permission with broader API effects than expected. Which solution should be used?
- Export or query supported IAM policy asset data at hierarchy scope
- Read the existing policy, merge the intended binding, and update with its etag
- Review the permission definition and affected principals before publishing the change
- Review the resource path and inherited descendants affected by the binding
- Identify the intended binding and condition rather than editing every matching role entry
Explanation
Correct Answer
C:Updating a custom role can expand authority for every existing principal bound to it. Change review should include both permission content and assignment footprint.
Incorrect Answers
A:An operator would use this action to generate hierarchy-wide role assignment reports, chiefly when trying to audit project roles centrally; The current requirement is to avoid privilege escalation from role edits, which remains unresolved by that operation.
B:Select this when the goal is to preserve existing IAM bindings during updates. Here the decisive requirement is to avoid privilege escalation from role edits, and that outcome is not achieved by this action.
D:This mechanism is intended to inspect role grant blast radius. It does not implement the required action to avoid privilege escalation from role edits, even though both are relevant to the same general service.
E:Administrators use it to edit a particular conditional IAM binding, rather than to avoid privilege escalation from role edits. Applying it would change the wrong component of this deployment.
Question 629
An IAM allow policy must grant access to an individual Cloud Identity human user. What is the best next step?
- Use a Google group as the IAM binding member
- Use an IAM service account as the workload principal
- Use the appropriate user principal in the binding
- Use Workforce Identity Federation principal identifiers
Explanation
Correct Answer
C:User principals represent interactive human accounts in IAM. This differs from granting the role to a service-account identity used by workloads.
Incorrect Answers
A:This setting would grant IAM permissions to a group. That behavior does not establish the requested ability to authorize an individual employee; it addresses an adjacent concern instead.
B:It can identify an application as a service account; however, it does not provide the specific operation to authorize an individual employee. The two controls serve different purposes.
D:Using this action would represent external human identities in IAM, not authorize an individual employee. Its function is different from the specific change described in the scenario.
Question 630
The same access must apply to all members of an operations team through a managed principal. Which configuration best meets the requirement?
- Use an IAM service account as the workload principal
- Identify the intended binding and condition rather than editing every matching role entry
- Use Workforce Identity Federation principal identifiers
- Use the appropriate user principal in the binding
- Use a Google group as the IAM binding member
Explanation
Correct Answer
E:Group principals represent memberships maintained by an identity system. They reduce the need for individual per-person bindings.
Incorrect Answers
A:Administrators use it to identify an application as a service account, rather than to authorize a rotating team. Applying it would change the wrong component of this deployment.
B:This proposal can edit a particular conditional IAM binding, but the failure or goal described here calls for a way to authorize a rotating team; It changes the wrong control or scope for the requested outcome.
C:While this can represent external human identities in IAM, the present task requires an action to authorize a rotating team. This operation does not supply the behavior described in the requirements.
D:Its purpose is to bind an IAM role to a human user. That distinction matters: the scenario calls for an action to authorize a rotating team, not this separate configuration task.