Google Associate Cloud Engineer Practice Test 59

Question 580

An employee's departure requires disabling their identity across cloud-connected applications. Where is centralized identity administration typically performed?

  1. Configure group synchronization
  2. Use an IAM policy binding to a group
  3. Use Cloud Identity administrative console
  4. Use Cloud Identity domain verification

Explanation

Correct Answer

C:

The Google Admin console manages supported Cloud Identity directory users, groups and account settings; the decisive property here is managing Cloud Identity account lifecycle.

Incorrect Answers

A:

Directory synchronization keeps supported Google identities and group records aligned with a source directory; that mechanism handles automatically reflecting external directory membership changes; it does not configure managing Cloud Identity account lifecycle.

B:

An IAM policy can bind a role to a group principal so members receive its permissions through membership; that mechanism handles granting access to a group principal; it does not configure managing Cloud Identity account lifecycle.

D:

Cloud Identity domain verification establishes authorized administration of an organization's domain; this is a distinct control for proving ownership of its Cloud Identity domain, rather than managing Cloud Identity account lifecycle.

Question 581

A new project must not automatically create default subnets across regions. What VPC network type is suitable?

  1. Create a custom-mode VPC
  2. Use Cloud Router
  3. Use HA VPN
  4. Use Cloud VPN

Explanation

Correct Answer

A:

What matters is choosing subnet ranges intentionally for a new network; Custom-mode VPC networks have no automatically created regional subnets and let administrators add them explicitly.

Incorrect Answers

B:

Cloud Router manages dynamic route exchange using BGP for supported hybrid connectivity; the supported outcome is dynamically exchanging hybrid routes, while the requested result is choosing subnet ranges intentionally for a new network.

C:

HA VPN uses regional high-availability gateways with two interfaces and supports Cloud Router dynamic routing; it is relevant when using redundant VPN interfaces for hybrid availability, not when the primary need is choosing subnet ranges intentionally for a new network.

D:

Cloud VPN provides managed IPsec VPN tunnels for hybrid network connectivity; that solves problems involving establishing encrypted site-to-cloud tunnels, rather than the choosing subnet ranges intentionally for a new network requirement.

Question 582

A container starts but the application crashes with an unhandled error. Which Kubernetes command retrieves container output?

  1. Use kubectl get pods
  2. Use kubectl logs
  3. Use kubectl rollout undo
  4. Configure Horizontal Pod Autoscaler

Explanation

Correct Answer

B:

Kubectl logs retrieves supported stdout and stderr logs from Pod containers, including options for prior instances; for the stated workload, the practical result is examining Pod container standard logs.

Incorrect Answers

A:

Kubectl get pods lists Pod resources and their summarized readiness and lifecycle information; this is a distinct control for inspecting Pods in a namespace, rather than examining Pod container standard logs.

C:

Kubectl rollout undo can revert supported Deployment rollouts to a previous revision; the scenario specifies examining Pod container standard logs, which differs from rolling back a Deployment release.

D:

Horizontal Pod Autoscaler adjusts supported workload replica counts using resource or custom metrics; it is relevant when automating the workload Pod count, not when the primary need is examining Pod container standard logs.

Question 583

An existing Cloud Run service should receive notifications when objects are finalized in a project Cloud Storage bucket, without polling or rewriting the service as a function. Which event integration should be configured?

  1. Use Eventarc triggers for Cloud Run
  2. Use Cloud Run ingress settings
  3. Use a Cloud Run service account
  4. Use Cloud Run jobs
  5. Migrate a Knative serving service to Cloud Run

Explanation

Correct Answer

A:

Eventarc provides managed triggers that route supported events to Cloud Run destinations with event filters and authenticated delivery identities; for the stated workload, the practical result is triggering an existing Cloud Run service on Cloud Storage events.

Incorrect Answers

B:

Cloud Run ingress settings control eligible network sources and front ends allowed to reach a service; it is not the focused action for triggering an existing Cloud Run service on Cloud Storage events; its primary use is restricting allowed request entry paths.

C:

Cloud Run services can run as a configured service account with IAM-granted permissions; that mechanism handles authorizing Cloud Run runtime API calls; it does not configure triggering an existing Cloud Run service on Cloud Storage events.

D:

Cloud Run jobs run tasks to completion without exposing a request-serving service endpoint; the supported outcome is running task-oriented serverless containers, while the requested result is triggering an existing Cloud Run service on Cloud Storage events.

E:

The migration path requires adapting the Knative serving YAML for Cloud Run APIs and replacing unsupported Kubernetes-specific features before deployment; it would help with exporting and adapting a Knative service manifest for managed Cloud Run, but it does not directly implement triggering an existing Cloud Run service on Cloud Storage events.

Question 584

A Kubernetes Service exists, but requests never reach the intended healthy Pods. The Service selector uses app=frontend while the Deployment’s Pod template labels are app=payments. Which field should be corrected?

  1. The Google Cloud project display name
  2. The Service spec.selector to match the Pod labels
  3. The Cloud Billing budget threshold
  4. The Cloud DNS public zone TTL

Explanation

Correct Answer

B:

A Service selects eligible Pods by label matching. Aligning the selector with the Deployment Pod template’s app label allows Kubernetes to discover the intended endpoints.

Incorrect Answers

A:

Kubernetes routes Service traffic according to cluster resources and endpoints, not the Google Cloud project’s display name. Renaming the project does not fix selectors.

C:

A budget determines financial notifications rather than Kubernetes endpoint membership. It cannot make Pods appear in the Service’s backend endpoints.

D:

Public DNS caching may affect hostname resolution but not the label selector that determines which Pods are members of a Kubernetes Service.

Question 585

A quota request is rejected or a hard service limit cannot be raised in the console. Which escalation route may clarify options?

  1. Check a quota in Quotas & System Limits
  2. Use a support case for quota constraints
  3. Distinguish quota from physical capacity
  4. Use service quotas proactively
  5. Choose a supported region
  6. Select a compatible zone for zonal resources

Explanation

Correct Answer

B:

What matters is escalating a quota constraint through support; Google Cloud support can clarify policy and capacity options, although some system limits are not adjustable.

Incorrect Answers

A:

Quotas and System Limits surfaces supported quota consumption, values and adjustable limits; the scenario specifies escalating a quota constraint through support, which differs from diagnosing a project-level quota limit.

C:

Quota determines allowed resource consumption; regional or zonal hardware capacity is a separate constraint; that supports separating zone capacity limits from quota authorization; the problem to solve concerns escalating a quota constraint through support.

D:

This alternative focuses on validating required quota headroom; Service quotas impose consumption limits that may need review or adjustment before substantial growth; the stem instead asks for escalating a quota constraint through support.

E:

Google Cloud services have distinct regional and global availability; not every SKU exists in each location; the decision here is about escalating a quota constraint through support, not validating service availability and data location.

F:

The alternative would address co-locating a zonal disk and its VM; Zonal compute and zonal disks must be placed in compatible zones to attach directly; the question instead requires escalating a quota constraint through support.

Question 586

A business purchased an eligible one-year compute committed use discount, but the associated workloads are decommissioned after two months. Finance asks whether stopping the VMs automatically stops the committed payment obligation. Which statement is correct?

  1. The commitment automatically ends when the last VM is deleted
  2. Unused committed capacity converts to a free on-demand credit
  3. The commitment remains payable for its term even if matching usage is lower
  4. The remaining commitment can be removed by changing the project name

Explanation

Correct Answer

C:

A purchased committed use discount is a contractual spending or resource obligation over its term. Underuse does not automatically end the commitment or make remaining committed charges disappear.

Incorrect Answers

A:

Deleting VMs changes actual usage, but a purchased committed use discount is a separate term commitment and is not canceled merely by removing the matching workloads.

B:

A commitment does not become a refundable or free credit when usage declines. Budgeting must still account for the purchased commitment through its remaining term.

D:

Display-name changes affect resource labeling, not the binding commercial commitment. Project identity metadata cannot cancel a purchased pricing obligation.

Question 587

An object was deleted by mistake, but the bucket's soft-delete retention period has not expired. What recovery approach should be used?

  1. Configure Cloud Storage lifecycle deletion
  2. Use generation preconditions for object writes
  3. Grant Storage Object Admin
  4. Grant Storage Object Creator
  5. Restore a soft-deleted Cloud Storage object

Explanation

Correct Answer

E:

Soft-deleted objects can be restored within their applicable retention period using supported restore workflows; this is the capability needed for restoring an object during its soft-delete window.

Incorrect Answers

A:

Cloud Storage lifecycle rules can remove objects when configured age or other conditions are satisfied; it is appropriate for expiring old objects automatically; here, the deciding requirement is restoring an object during its soft-delete window.

B:

The alternative would address enforcing optimistic write concurrency; Cloud Storage generation preconditions condition object mutations on expected generation values; the question instead requires restoring an object during its soft-delete window.

C:

For administering object data within a bucket, this could be relevant; Storage Object Admin grants object management permissions without inherently granting all project administration rights; the actual request concerns restoring an object during its soft-delete window.

D:

Storage Object Creator supports creating objects without granting general read or delete permissions; Applying it would target granting create-only object access, leaving the separate need for restoring an object during its soft-delete window.

Question 588

An application requires a supported high-performance block volume with configurable performance characteristics. Which disk family should be evaluated?

  1. Use a local SSD
  2. Use a regional persistent disk
  3. Use a Hyperdisk volume
  4. Use a zonal persistent disk

Explanation

Correct Answer

C:

Hyperdisk offers supported block volume types with configurable performance capabilities subject to type and machine limits; this corresponds to provisioning tunable high-performance block storage, not a separate lifecycle action.

Incorrect Answers

A:

Local SSD delivers high-speed instance-local storage that is ephemeral and not a durable system of record; the decision here is about provisioning tunable high-performance block storage, not using low-latency ephemeral instance storage.

B:

Regional Persistent Disk provides synchronously replicated block storage across two zones with applicable failover considerations; that mechanism handles supporting zonal failover of persistent block data; it does not configure provisioning tunable high-performance block storage.

D:

Zonal Persistent Disk is persistent block storage tied to one zone and attachable to compatible VMs; this is a distinct control for maintaining persistent block data with a VM, rather than provisioning tunable high-performance block storage.

Question 589

A project owner must determine which identity changed a resource's control-plane configuration. Which log family is most relevant?

  1. Use Cloud Audit Logs
  2. Use Cloud Logging setup
  3. Use a Logs Router sink
  4. Create a Cloud Monitoring dashboard

Explanation

Correct Answer

A:

The scenario depends on attributing administrative resource changes; Cloud Audit Logs records supported administrative and access activity with audit-log type distinctions.

Incorrect Answers

B:

For making cloud resource log entries queryable, this could be relevant; Cloud Logging ingests and organizes supported resource and application logs into log buckets and views; the actual request concerns attributing administrative resource changes.

C:

Log sinks use inclusion filters and destination permissions to route supported log entries from a configured scope; it concerns routing matched log entries to an export destination, and its normal effect does not provide attributing administrative resource changes.

D:

Cloud Monitoring dashboards arrange metrics and supported visual widgets for operational visibility; that solves problems involving organizing metrics charts on a shared dashboard, rather than the attributing administrative resource changes requirement.

Question 590

A product team asks for narrowly scoped storage read access, and the built-in role is sufficient. Which role category should be preferred?

  1. Use custom role permissions support check
  2. Grant a predefined IAM role
  3. Use the basic Viewer role cautiously
  4. Bind IAM role at folder scope
  5. Bind IAM role at resource level
  6. Avoid basic Editor role

Explanation

Correct Answer

B:

Predefined roles contain Google-managed permission sets tailored to particular products and tasks; it supports assigning built-in least-privilege service permissions at the appropriate resource scope.

Incorrect Answers

A:

Not all IAM permissions can be placed in custom roles, and support levels vary by permission; that supports validating permissions permitted in custom roles; the problem to solve concerns assigning built-in least-privilege service permissions.

C:

Basic Viewer confers broad view access to many resource types rather than only one specific service; it is appropriate for limiting the scope of broad read access; here, the deciding requirement is assigning built-in least-privilege service permissions.

D:

Folder IAM policies can grant inherited permissions to descendant projects and resources; the scenario specifies assigning built-in least-privilege service permissions, which differs from inheriting permissions through one folder subtree.

E:

Resource-level IAM binding limits eligible permissions to that resource and its applicable descendants; that supports minimizing the hierarchy breadth of a role grant; the problem to solve concerns assigning built-in least-privilege service permissions.

F:

Basic Editor is a broad predefined-style basic role that can change many resources beyond a narrow task; that supports removing excessive resource mutation privileges; the problem to solve concerns assigning built-in least-privilege service permissions.

Associate Cloud Engineer Practice Tests