Google Associate Cloud Engineer Practice Test 11

Question 100

A hybrid environment must connect on-premises routers to cloud private networks without leased private circuits. Which service applies?

  1. Use Cloud Interconnect
  2. Use Cloud DNS private zones
  3. Use Cloud NAT
  4. Use Cloud VPN

Explanation

Correct Answer

D:

Cloud VPN provides managed IPsec VPN tunnels for hybrid network connectivity; its effect directly addresses connecting external networks through VPN tunnels.

Incorrect Answers

A:

Cloud Interconnect provides supported private connectivity between on-premises networks and Google Cloud through dedicated or partner arrangements; that supports establishing dedicated or partner private connectivity; the problem to solve concerns connecting external networks through VPN tunnels.

B:

Private Cloud DNS zones are authorized for specific networks and resolve within those networks; Applying it would target resolving private hostnames inside authorized networks, leaving the separate need for connecting external networks through VPN tunnels.

C:

Cloud NAT provides managed outbound network address translation for eligible resources without exposing unsolicited inbound endpoints; it is appropriate for allowing source-NAT egress without public VM interfaces; here, the deciding requirement is connecting external networks through VPN tunnels.

Question 101

Business intelligence users need a managed warehouse for aggregations across many datasets. What Google Cloud product is appropriate?

  1. Use BigQuery external tables
  2. Use Memorystore
  3. Use BigQuery
  4. Use BigQuery load job from Cloud Storage

Explanation

Correct Answer

C:

The requirement is querying large analytical datasets; BigQuery is a managed analytical data warehouse designed for scalable SQL workloads.

Incorrect Answers

A:

This alternative focuses on using SQL over external object-backed tables; BigQuery external tables reference supported external data sources instead of ingesting them into native storage; the stem instead asks for querying large analytical datasets.

B:

For caching frequently requested data in memory, this could be relevant; Memorystore provides managed in-memory data-store options for caching and similar workloads; the actual request concerns querying large analytical datasets.

D:

BigQuery load jobs read supported source objects and create or append data in destination tables; the scenario specifies querying large analytical datasets, which differs from loading staged files into BigQuery tables.

Question 102

A development environment must clone the standard Linux boot environment repeatedly. Which Compute Engine source is appropriate?

  1. Use a MIG rolling update
  2. Diagnose OS Login IAM roles
  3. Create an instance from an image
  4. Restore a new disk from a snapshot
  5. Resize a persistent disk

Explanation

Correct Answer

C:

VM boot disks can be initialized from public or custom images in compatible configurations; for the stated workload, the practical result is provisioning new machines from a standard OS image.

Incorrect Answers

A:

MIG rolling updates progressively apply new instance templates with configurable surge and unavailability; the scenario specifies provisioning new machines from a standard OS image, which differs from coordinating staged VM fleet updates.

B:

OS Login uses IAM roles and identities for VM SSH access, superseding metadata-managed key access when enabled; that supports authorizing OS Login rather than legacy metadata keys; the problem to solve concerns provisioning new machines from a standard OS image.

D:

A snapshot can be the source for creating a new compatible disk, enabling recovery workflows; its operational role is recovering persistent data onto a replacement disk; the needed capability is provisioning new machines from a standard OS image.

E:

Persistent disks can be expanded subject to limits, with guest partition or filesystem growth often still required; it is appropriate for increasing allocated disk capacity; here, the deciding requirement is provisioning new machines from a standard OS image.

Question 103

A business needs its verified corporate domain tied to identity administration before organizing enterprise accounts. What setup step is relevant?

  1. Use Cloud Identity domain verification
  2. Create a Cloud Identity group
  3. Configure group synchronization
  4. Use Cloud Identity administrative console

Explanation

Correct Answer

A:

Cloud Identity domain verification establishes authorized administration of an organization's domain; for the stated workload, the practical result is proving ownership of its Cloud Identity domain.

Incorrect Answers

B:

Cloud Identity groups can represent users and be referenced as principals in supported IAM policies; its operational role is assigning permissions through group membership; the needed capability is proving ownership of its Cloud Identity domain.

C:

The alternative would address keeping cloud groups aligned with an authoritative directory; Directory synchronization keeps supported Google identities and group records aligned with a source directory; the question instead requires proving ownership of its Cloud Identity domain.

D:

The Google Admin console manages supported Cloud Identity directory users, groups and account settings; it is appropriate for managing Cloud Identity account lifecycle; here, the deciding requirement is proving ownership of its Cloud Identity domain.

Question 104

An incident team needs copies of supported VM network packets sent to a security collector for deep inspection. What networking feature helps?

  1. Inspect Cloud NAT logs
  2. Use packet mirroring
  3. Use firewall rules logging
  4. Use external HTTP load balancer health checks

Explanation

Correct Answer

B:

Packet Mirroring duplicates eligible VM packet traffic to configured collector backends; it is the direct control for mirroring network traffic for inspection.

Incorrect Answers

A:

Cloud NAT logging records supported NAT translation and error information for troubleshooting; the scenario specifies mirroring network traffic for inspection, which differs from diagnosing NAT translation behavior.

C:

Firewall logging produces Cloud Logging records for matching supported firewall rule traffic; it is not the focused action for mirroring network traffic for inspection; its primary use is examining firewall-matched connections.

D:

Load balancer health checks determine backend eligibility based on configured protocol, port and response conditions; this is a distinct control for aligning load balancer backend health checks, rather than mirroring network traffic for inspection.

Question 105

A Terraform configuration must manage Google Cloud APIs and resource types. Which plugin supplies the necessary resource implementations?

  1. Import an existing resource into Terraform state
  2. Run terraform apply
  3. Use a Terraform provider
  4. Use Terraform variables

Explanation

Correct Answer

C:

The requested administrative outcome is connecting Terraform resources to Google Cloud APIs; the Google Terraform provider maps supported resource schemas to Google Cloud API operations.

Incorrect Answers

A:

Terraform import associates eligible existing remote objects with resource addresses in state, with configuration alignment still required; this governs bringing an existing resource under Terraform state, whereas the stated objective is connecting Terraform resources to Google Cloud APIs.

B:

Terraform apply performs authorized resource changes described by the configuration or saved plan; the supported outcome is applying a Terraform resource plan, while the requested result is connecting Terraform resources to Google Cloud APIs.

D:

Terraform input variables let callers supply environment-specific configuration to reusable definitions; the supported outcome is configuring reusable Terraform modules with inputs, while the requested result is connecting Terraform resources to Google Cloud APIs.

Question 106

A folder role is suspected of giving unexpected permissions to a child project. Which IAM investigation is relevant?

  1. Bind IAM role at organization scope
  2. Inspect effective IAM allow bindings
  3. Use IAM deny policies
  4. Remove an IAM policy binding

Explanation

Correct Answer

B:

Effective IAM access can include organization, folder, project and resource-level bindings with inheritance; this is relevant because the outcome sought is tracing allow policies up the resource hierarchy.

Incorrect Answers

A:

Organization-level IAM allow bindings generally propagate to eligible child resources; its operational role is inheriting a role throughout the organization tree; the needed capability is tracing allow policies up the resource hierarchy.

C:

The alternative would address overriding applicable allows with a deny; IAM deny policies can block eligible permissions for matching principals despite otherwise applicable allow grants; the question instead requires tracing allow policies up the resource hierarchy.

D:

Removing an IAM binding eliminates that grant path, although other inherited or indirect grants may remain; the scenario specifies tracing allow policies up the resource hierarchy, which differs from revoking a principal's existing project role.

Question 107

An analyst must inspect a service's objects but must not modify or delete them. What role selection principle applies?

  1. Set gcloud's active project
  2. Use Google Cloud console's API Library
  3. Use the least-privilege predefined IAM role
  4. Use Cloud Identity domain verification

Explanation

Correct Answer

C:

The requested administrative outcome is granting only the service-specific read permissions required; Predefined service roles offer narrower permission sets than broad basic roles when suitable.

Incorrect Answers

A:

The active gcloud core/project property determines the default project for commands that honor it; its operational role is setting the default gcloud project context; the needed capability is granting only the service-specific read permissions required.

B:

The API Library exposes available services and enables APIs in the selected project subject to access rules; the decision here is about granting only the service-specific read permissions required, not enabling a selected service from the API Library.

D:

This alternative focuses on validating a domain for identity administration; Cloud Identity domain verification establishes authorized administration of an organization's domain; the stem instead asks for granting only the service-specific read permissions required.

Question 108

A scheduled authenticated HTTP job needs to invoke a protected endpoint under a dedicated identity. What should the scheduler job reference?

  1. Use a service account with Cloud Scheduler
  2. Attach a service account to Cloud Run
  3. Grant Cloud Run Invoker
  4. Use service account for Batch jobs

Explanation

Correct Answer

A:

The requirement is authenticating a scheduled HTTP trigger; Cloud Scheduler can use an attached service account for supported authenticated HTTP requests.

Incorrect Answers

B:

Cloud Run services use configured runtime service accounts for Google Cloud API calls; the decision here is about authenticating a scheduled HTTP trigger, not running the container as a selected service account.

C:

Cloud Run Invoker grants permission to invoke eligible Cloud Run services subject to authentication and ingress controls; Applying it would target authorizing HTTP invocation of a private service, leaving the separate need for authenticating a scheduled HTTP trigger.

D:

Batch workloads run under configured service-account identities on underlying compute resources; that supports granting Batch task instances their required API permissions; the problem to solve concerns authenticating a scheduled HTTP trigger.

Question 109

The same resource module must run in different projects with different machine types and region names. Which Terraform construct parameterizes it?

  1. Use Terraform variables
  2. Use a protected service account for IaC
  3. Use a Terraform provider
  4. Use Terraform modules

Explanation

Correct Answer

A:

Terraform input variables let callers supply environment-specific configuration to reusable definitions; this is relevant because the outcome sought is separating environment parameters from shared IaC logic.

Incorrect Answers

B:

A dedicated automation service account with narrowly scoped IAM permissions can execute approved IaC changes; it would help with separating automated deployment identity from operator login, but it does not directly implement separating environment parameters from shared IaC logic.

C:

The Google Terraform provider maps supported resource schemas to Google Cloud API operations; that mechanism handles connecting Terraform resources to Google Cloud APIs; it does not configure separating environment parameters from shared IaC logic.

D:

For standardizing infrastructure through reusable components, this could be relevant; Terraform modules encapsulate resource definitions and input/output interfaces for reuse; the actual request concerns separating environment parameters from shared IaC logic.

Question 110

An on-call engineer must correlate a request's trace spans, inspect the exact failure log and review persistent metrics charts during an incident. Choose THREE observability views.

  1. Query logs in Logs Explorer
  2. Use Error Reporting groups
  3. Use Cloud Monitoring dashboards
  4. Use Cloud Trace spans
  5. Use Personalized Service Health
  6. Use Cloud Profiler profiles

Explanation

Correct Answers

A:

Logs Explorer filters indexed log entries and displays structured resource labels and payload details; within the multi-part workflow of checking trace spans, exact log entries and metrics charts in one incident, this provides searching centralized logs by resource and time.

C:

Monitoring dashboards arrange charts and widgets to visualize supported time-series data; within the multi-part workflow of checking trace spans, exact log entries and metrics charts in one incident, this provides organizing health metrics into operational charts.

D:

Trace spans describe timed operations within a distributed request for root-cause investigation; within the multi-part workflow of checking trace spans, exact log entries and metrics charts in one incident, this provides analyzing distributed request timing.

Incorrect Answers

B:

Error Reporting recognizes and groups application error events by supported signatures; the question is specifically about checking trace spans, exact log entries and metrics charts in one incident, rather than aggregating recurring application stack traces.

E:

Personalized Service Health surfaces supported provider events relevant to particular resources and projects; it is designed for checking provider incidents relevant to selected projects, rather than the needed checking trace spans, exact log entries and metrics charts in one incident.

F:

Cloud Profiler collects supported statistical application profiles that highlight code resource consumption, which serves identifying CPU-intensive code paths instead of checking trace spans, exact log entries and metrics charts in one incident.

Associate Cloud Engineer Practice Tests