Google Associate Cloud Engineer Practice Test 57

Question 560

A capacity planner wants to avoid blindly accepting a machine-rightsizing recommendation that might reduce peak performance. Which choice provides the required behavior?

  1. Use Gemini Cloud Assist for supported Cloud Monitoring investigation assistance
  2. Open Active Assist and inspect relevant recommender findings
  3. Evaluate the IAM Recommender finding before applying it
  4. Check the data collection pipeline before changing alert thresholds
  5. Review workload history and performance requirements alongside Active Assist recommendations

Explanation

Correct Answer

E:

Recommender insights are suggestions rather than service-level guarantees. Peak utilization and resilience constraints must inform any machine-type change.

Incorrect Answers

A:

While this can assist incident diagnosis with AI, the present task requires an action to prevent harmful downsizing decisions. This operation does not supply the behavior described in the requirements.

B:

Its purpose is to review optimization recommendations. That distinction matters: the scenario calls for an action to prevent harmful downsizing decisions, not this separate configuration task.

C:

This setting would assess IAM role reduction suggestions. That behavior does not establish the requested ability to prevent harmful downsizing decisions; it addresses an adjacent concern instead.

D:

This proposal can diagnose missing telemetry samples, but the failure or goal described here calls for a way to prevent harmful downsizing decisions; It changes the wrong control or scope for the requested outcome.

Question 561

An automation script updates an IAM allow policy shared by several teams. Which TWO design choices help prevent accidental permission loss while granting a new role? (Choose TWO.)

  1. Read the existing allow policy and preserve unrelated bindings while merging the intended new grant
  2. Submit the update with the current policy etag and retry safely if there is a concurrent modification
  3. Replace the policy with only the new role binding to guarantee least privilege for all other teams
  4. Turn off all inherited policy evaluation before posting the new policy

Explanation

Correct Answers

A:

IAM policy updates can affect the entire bindings document. Preserving other members and condition bindings avoids silently removing previously authorized principals.

B:

The etag protects against overwriting a policy that changed between reading and writing. A conflict should trigger a fresh read and carefully reconstructed update.

Incorrect Answers

C:

Discarding unrelated bindings revokes other teams' intended grants. Least privilege does not justify deleting permissions outside the authorized change request.

D:

Effective permissions include inherited IAM policies where supported. A project script cannot simply switch off ancestor inheritance to avoid coordinating updates.

Question 562

An auditor must identify which principals receive a specified role on a project. What is the most direct solution?

  1. Use IAM policy analysis or an appropriate permission-troubleshooting interface
  2. Use a supported policy update with the current etag
  3. Inspect the project's IAM allow-policy role bindings
  4. Add an IAM allow-policy binding for the team group on the target project

Explanation

Correct Answer

C:

A role binding pairs a role with member identities and optional conditions. The policy describes granted access rather than recent API request history.

Incorrect Answers

A:

This approach can evaluate a principal's effective permission. The requirement is to review who receives a specific grant, so it controls a different part of the workflow and leaves that result unaddressed.

B:

This setting would update IAM bindings with concurrency protection. That behavior does not establish the requested ability to review who receives a specific grant; it addresses an adjacent concern instead.

D:

Using this action would bind a role to a principal on a resource, not review who receives a specific grant. Its function is different from the specific change described in the scenario.

Question 563

A security engineer needs to update an allow policy while avoiding overwriting simultaneous policy edits. Which implementation matches this requirement?

  1. Use IAM policy analysis or an appropriate permission-troubleshooting interface
  2. Use a supported policy update with the current etag
  3. Grant appropriate Project IAM Admin permissions on that project
  4. Inspect the project's IAM allow-policy role bindings
  5. Add an IAM allow-policy binding for the team group on the target project

Explanation

Correct Answer

B:

IAM policy etags provide optimistic concurrency control. A stale etag can cause an update conflict rather than silently replacing a newer policy.

Incorrect Answers

A:

While this can evaluate a principal's effective permission, the present task requires an action to avoid overwriting a concurrent IAM change. This operation does not supply the behavior described in the requirements.

C:

This proposal can delegate project IAM management, but the failure or goal described here calls for a way to avoid overwriting a concurrent IAM change; It changes the wrong control or scope for the requested outcome.

D:

The result of this choice would be to list principals assigned a project role. The requested outcome, to avoid overwriting a concurrent IAM change, is handled at a different layer or through another operation.

E:

This mechanism is intended to bind a role to a principal on a resource. It does not implement the required action to avoid overwriting a concurrent IAM change, even though both are relevant to the same general service.

Question 564

A software team must validate whether a specific identity has a required permission on one resource. What should the administrator do?

  1. Grant a suitable view role at that folder scope
  2. Use a supported policy update with the current etag
  3. Use IAM policy analysis or an appropriate permission-troubleshooting interface
  4. Add an IAM allow-policy binding for the team group on the target project
  5. Inspect the project's IAM allow-policy role bindings

Explanation

Correct Answer

C:

Effective permission evaluation can involve inherited allow policies, conditions and other controls. Checking only a project's visible direct binding can be incomplete.

Incorrect Answers

A:

It can grant access within one hierarchy subtree; however, it does not provide the specific operation to diagnose whether access should be granted. The two controls serve different purposes.

B:

This setting would update IAM bindings with concurrency protection. That behavior does not establish the requested ability to diagnose whether access should be granted; it addresses an adjacent concern instead.

D:

The tool can bind a role to a principal on a resource, but it cannot be substituted for the capability needed to diagnose whether access should be granted. Its operational effect is not equivalent.

E:

Using this action would list principals assigned a project role, not diagnose whether access should be granted. Its function is different from the specific change described in the scenario.

Question 565

An auditor needs read access to resource metadata across one folder's projects but not sibling folders. Which solution should be used?

  1. Use an appropriate project-scoped administrative role
  2. Grant a suitable view role at that folder scope
  3. Grant an appropriate viewer capability at organization scope
  4. Bind an appropriate Storage Object Viewer role on that bucket

Explanation

Correct Answer

B:

Folder IAM roles are inherited by descendant projects. Narrow folder scope avoids giving access to unrelated branches of the organization.

Incorrect Answers

A:

Its purpose is to restrict management privileges to one project. That distinction matters: the scenario calls for an action to scope auditor read permissions to a folder, not this separate configuration task.

C:

This approach can authorize hierarchy-wide resource viewing. The requirement is to scope auditor read permissions to a folder, so it controls a different part of the workflow and leaves that result unaddressed.

D:

Administrators use it to assign object read permission on a bucket, rather than to scope auditor read permissions to a folder. Applying it would change the wrong component of this deployment.

Question 566

A contractor should be able to view an individual project's IAM policy and resource-security settings but should not be able to edit IAM grants. Which predefined role best matches the review responsibility?

  1. Grant an appropriate IAM Security Reviewer role at that project's scope
  2. Grant the Storage Object Creator role on a bucket
  3. Grant the Project Owner basic role to the contractor
  4. Grant the IAM Security Admin role to the contractor

Explanation

Correct Answer

A:

The IAM Security Reviewer role provides security-oriented visibility into IAM policies without granting policy-editing authority. Scoping the role to the project avoids unnecessary access elsewhere.

Incorrect Answers

B:

Storage Object Creator is a data-plane permission for object creation, not a read-only security inspection role for a project's IAM policies.

C:

The basic Owner role has broad administration and permission-management authority. It exceeds the read-only security review requirement and violates least privilege.

D:

IAM Security Admin is designed for IAM policy administration and may allow changes. The task specifically forbids the reviewer from editing grants.

Question 567

An engineer needs to administer one project and not have equivalent authority over other projects. What is the most direct solution?

  1. Grant a suitable view role at that folder scope
  2. Grant Storage Object Creator on the bucket
  3. Grant an appropriate viewer capability at organization scope
  4. Use an appropriate project-scoped administrative role
  5. Bind an appropriate Storage Object Viewer role on that bucket

Explanation

Correct Answer

D:

IAM scopes restrict the descendants affected by a role binding. An organization-level role would cover more resources than this task requires.

Incorrect Answers

A:

This setting would grant access within one hierarchy subtree. That behavior does not establish the requested ability to avoid organization-wide administration; it addresses an adjacent concern instead.

B:

An operator would use this action to grant write-new-object access, chiefly when trying to avoid unnecessary object read and delete power; The current requirement is to avoid organization-wide administration, which remains unresolved by that operation.

C:

Its purpose is to authorize hierarchy-wide resource viewing. That distinction matters: the scenario calls for an action to avoid organization-wide administration, not this separate configuration task.

E:

Using this action would assign object read permission on a bucket, not avoid organization-wide administration. Its function is different from the specific change described in the scenario.

Question 568

A security officer must read all child projects' metadata throughout the company. Which implementation matches this requirement?

  1. Use an appropriate project-scoped administrative role
  2. Grant an appropriate viewer capability at organization scope
  3. Bind an appropriate Storage Object Viewer role on that bucket
  4. Add an IAM allow-policy binding for the team group on the target project
  5. Grant a suitable view role at that folder scope

Explanation

Correct Answer

B:

Organization IAM bindings propagate to descendants according to the role's supported resources. Central assignment can avoid dozens of independent grants.

Incorrect Answers

A:

Administrators use it to restrict management privileges to one project, rather than to inspect resources across an organization. Applying it would change the wrong component of this deployment.

C:

The result of this choice would be to assign object read permission on a bucket. The requested outcome, to inspect resources across an organization, is handled at a different layer or through another operation.

D:

For the stated need to inspect resources across an organization, this would instead bind a role to a principal on a resource; it supports the separate task to grant one team's project read access, not the required configuration.

E:

Select this when the goal is to grant access within one hierarchy subtree. Here the decisive requirement is to inspect resources across an organization, and that outcome is not achieved by this action.

Question 569

A development prototype needs a broad built-in project permission set but security wants to recognize the risks. Which action is most appropriate?

  1. Identify the basic Editor role as broad rather than least-privilege
  2. Create a custom IAM role with supported permissions
  3. Choose a suitable predefined IAM role
  4. Inspect the role definition separately from allow-policy bindings

Explanation

Correct Answer

A:

Basic roles include extensive permissions and are discouraged for narrowly scoped production duties. Predefined service roles are usually preferable.

Incorrect Answers

B:

This setting would define a tailored role permission set. That behavior does not establish the requested ability to avoid using Editor for a single task; it addresses an adjacent concern instead.

C:

It can use a managed service-specific permission bundle; however, it does not provide the specific operation to avoid using Editor for a single task. The two controls serve different purposes.

D:

This choice is useful to separate permissions from principal bindings. The stated task is to avoid using Editor for a single task, which requires a different mechanism or permission scope.

Question 570

A database operator needs the vendor-maintained set of permissions for a supported service function. Which solution should be used?

  1. Identify the basic Editor role as broad rather than least-privilege
  2. Describe the custom role and review its included permissions
  3. Create a custom IAM role with supported permissions
  4. Choose a suitable predefined IAM role
  5. Inspect the role definition separately from allow-policy bindings

Explanation

Correct Answer

D:

Predefined roles package documented permissions for Google Cloud services and are maintained by Google. They can offer narrower authority than basic roles.

Incorrect Answers

A:

While this can recognize basic-role overbreadth, the present task requires an action to assign a documented operational role. This operation does not supply the behavior described in the requirements.

B:

An operator would use this action to inspect included permissions in a role, chiefly when trying to audit a custom permission set; The current requirement is to assign a documented operational role, which remains unresolved by that operation.

C:

The result of this choice would be to define a tailored role permission set. The requested outcome, to assign a documented operational role, is handled at a different layer or through another operation.

E:

Administrators use it to separate permissions from principal bindings, rather than to assign a documented operational role. Applying it would change the wrong component of this deployment.

Associate Cloud Engineer Practice Tests