Google Associate Cloud Engineer Practice Test 70

Question 690

A product is missing from an application's enabled APIs; administrators prefer a UI workflow. What project configuration surface is appropriate?

  1. Use Cloud Shell
  2. Use Cloud Identity administrative console
  3. List enabled project services
  4. Use Google Cloud console's API Library

Explanation

Correct Answer

D:

The API Library exposes available services and enables APIs in the selected project subject to access rules; this is the capability needed for enabling a selected service from the API Library.

Incorrect Answers

A:

Cloud Shell provides a browser terminal with Google Cloud CLI tools and user-based authentication integration; it would help with performing administration from a managed web shell, but it does not directly implement enabling a selected service from the API Library.

B:

The Google Admin console manages supported Cloud Identity directory users, groups and account settings; this is a distinct control for administering directory users and groups, rather than enabling a selected service from the API Library.

C:

The Service Usage listing and its gcloud services list interface expose enabled and available service states; it is not the focused action for enabling a selected service from the API Library; its primary use is listing service enablement state.

Question 691

A large operations team needs one membership object for assigning access consistently. What should identity administrators create?

  1. Create a Cloud Identity group
  2. Use Cloud Identity domain verification
  3. Use gcloud services enable
  4. Authenticate with gcloud auth login
  5. Grant IAM role at folder scope

Explanation

Correct Answer

A:

The scenario depends on controlling memberships as a shared identity group; Cloud Identity groups can represent users and be referenced as principals in supported IAM policies.

Incorrect Answers

B:

The alternative would address validating a domain for identity administration; Cloud Identity domain verification establishes authorized administration of an organization's domain; the question instead requires controlling memberships as a shared identity group.

C:

The gcloud services enable command activates named Service Usage APIs in the selected project; the supported outcome is enabling a service through the command line, while the requested result is controlling memberships as a shared identity group.

D:

Gcloud auth login authorizes a user account for gcloud, subject to its IAM permissions; the decision here is about controlling memberships as a shared identity group, not establishing user credentials for the Cloud SDK.

E:

A folder IAM policy passes applicable role grants to descendant resources and projects; it is not the focused action for controlling memberships as a shared identity group; its primary use is sharing an inherited role across department projects.

Question 692

A regional cost-sensitive public application can tolerate the networking tradeoffs of Internet transit and does not need Premium-only features. Which tier may fit?

  1. Use Premium Network Service Tier
  2. Reserve a static internal IP
  3. Choose external passthrough Network Load Balancer
  4. Use Standard Network Service Tier
  5. Choose internal passthrough Network Load Balancer

Explanation

Correct Answer

D:

The requirement is reducing eligible Internet egress network expense; Standard Tier routes eligible traffic with more reliance on the public Internet and has feature limitations.

Incorrect Answers

A:

Premium Tier uses Google's premium network and is required for certain global connectivity features; this is a distinct control for using Premium-tier global networking capabilities, rather than reducing eligible Internet egress network expense.

B:

Static internal address reservations hold eligible VPC IPs for supported resources or front ends; that supports keeping an internal service address stable; the problem to solve concerns reducing eligible Internet egress network expense.

C:

External passthrough Network Load Balancers distribute eligible TCP or UDP traffic to supported backends without terminating application protocols; it would help with balancing external TCP or UDP traffic without proxy termination, but it does not directly implement reducing eligible Internet egress network expense.

E:

Internal passthrough Network Load Balancers provide regional internal layer-four balancing with passthrough behavior; Applying it would target load balancing internal TCP connections, leaving the separate need for reducing eligible Internet egress network expense.

Question 693

An application requires read-only BigQuery metadata but its service account has broad Editor access. What should be changed?

  1. Create a custom IAM role
  2. Avoid basic Editor role
  3. Grant a predefined IAM role
  4. Bind IAM role at resource level

Explanation

Correct Answer

B:

Basic Editor is a broad predefined-style basic role that can change many resources beyond a narrow task; this corresponds to removing excessive resource mutation privileges, not a separate lifecycle action.

Incorrect Answers

A:

Custom roles let eligible administrators define a chosen set of supported IAM permissions; its operational role is defining a selected IAM permission list; the needed capability is removing excessive resource mutation privileges.

C:

Predefined roles contain Google-managed permission sets tailored to particular products and tasks; that applies to using a maintained service-specific permission set; the requested task is removing excessive resource mutation privileges.

D:

Resource-level IAM binding limits eligible permissions to that resource and its applicable descendants; that solves problems involving minimizing the hierarchy breadth of a role grant, rather than the removing excessive resource mutation privileges requirement.

Question 694

A third-party detection system must receive audit events through its Pub/Sub integration. How should logs be exported?

  1. Use Cloud Audit Logs System Event
  2. Configure a log view
  3. Create a log sink to Pub/Sub
  4. Create a dedicated log bucket

Explanation

Correct Answer

C:

Log sinks can publish matched log records to an authorized Pub/Sub topic; this is the capability needed for publishing filtered log entries for processing.

Incorrect Answers

A:

System Event audit logs record supported Google Cloud system operations modifying resource configurations; this is a distinct control for reviewing Google-managed operational changes, rather than publishing filtered log entries for processing.

B:

The alternative would address scoping read access to filtered log data; Log views expose subsets of log bucket entries with access control through IAM; the question instead requires publishing filtered log entries for processing.

D:

This alternative focuses on isolating log retention and access settings; Cloud Logging log buckets store ingested logs with configurable retention and access controls; the stem instead asks for publishing filtered log entries for processing.

Question 695

An organization has approved keyless authentication and wants to block ordinary creation of new service-account JSON keys. What governance control fits?

  1. Use Google-managed service agent identity
  2. Disable service account key creation by policy
  3. Rotate compromised service account key
  4. Use service-account-level IAM policy

Explanation

Correct Answer

B:

Organization Policy Service includes supported constraints controlling user-managed service account key creation; this is the capability needed for preventing generation of long-lived key credentials.

Incorrect Answers

A:

Service agents are Google-managed service accounts used by Google Cloud services and may require specific service-agent IAM roles; it is relevant when authorizing a provider-managed service agent, not when the primary need is preventing generation of long-lived key credentials.

C:

Deleting or disabling compromised user-managed service-account keys prevents further authentication with those keys; that solves problems involving invalidating exposed long-lived credentials, rather than the preventing generation of long-lived key credentials requirement.

D:

A service account is an IAM resource with its own allow policy for controlling who can use or manage it; Applying it would target scoping impersonation permissions to the target account, leaving the separate need for preventing generation of long-lived key credentials.

Question 696

Pods in a supported GKE Standard node pool are configured for workload identity, but application credentials are not being exposed as expected. What node feature should be checked?

  1. Grant Cloud Run Invoker
  2. Use signed identity tokens for authenticated endpoints
  3. Enable GKE metadata server
  4. Restrict federation provider attributes

Explanation

Correct Answer

C:

The GKE metadata server handles token access and identity federation for configured workloads on eligible GKE nodes; it supports supplying metadata-server identity tokens to Pods at the appropriate resource scope.

Incorrect Answers

A:

Cloud Run Invoker grants permission to invoke eligible Cloud Run services subject to authentication and ingress controls; it is not the focused action for supplying metadata-server identity tokens to Pods; its primary use is authorizing HTTP invocation of a private service.

B:

Authenticated Cloud Run HTTP invocation uses supported OIDC identity tokens with an appropriate audience and invoker permission; it is appropriate for using audience-targeted OIDC identity tokens; here, the deciding requirement is supplying metadata-server identity tokens to Pods.

D:

Workload identity provider attribute conditions restrict accepted external identity assertions; that solves problems involving enforcing attribute-based identity federation conditions, rather than the supplying metadata-server identity tokens to Pods requirement.

Question 697

A Google Cloud product needs its Google-managed service identity to operate on behalf of the project. Which account type is involved?

  1. Disable service account key creation by policy
  2. Use Google-managed service agent identity
  3. Attach a service account to Cloud Run
  4. Use service account organization policy enforcement
  5. Audit service-account key inventory

Explanation

Correct Answer

B:

Service agents are Google-managed service accounts used by Google Cloud services and may require specific service-agent IAM roles; it supports authorizing a provider-managed service agent at the appropriate resource scope.

Incorrect Answers

A:

This alternative focuses on preventing generation of long-lived key credentials; Organization Policy Service includes supported constraints controlling user-managed service account key creation; the stem instead asks for authorizing a provider-managed service agent.

C:

Cloud Run services use configured runtime service accounts for Google Cloud API calls; it concerns setting the identity of a serverless service, and its normal effect does not provide authorizing a provider-managed service agent.

D:

Organization policy constraints can restrict supported service-account key operations across hierarchy scopes; Applying it would target using inherited organization policy for credential creation, leaving the separate need for authorizing a provider-managed service agent.

E:

Service-account key listings expose user-managed key metadata, which can be audited and managed; this governs finding long-lived service account credentials, whereas the stated objective is authorizing a provider-managed service agent.

Question 698

A Pub/Sub push subscription must deliver messages to a protected HTTPS endpoint using a trusted identity. What subscription option fits?

  1. Use service account permissions for Cloud Build
  2. Use signed identity tokens for authenticated endpoints
  3. Use authenticated Pub/Sub push
  4. Use Cloud Run runtime identity permission checks
  5. Grant Cloud Run Invoker

Explanation

Correct Answer

C:

Authenticated Pub/Sub push uses a configured service account to attach supported OIDC tokens to push requests; it supports authenticating push delivery to a webhook at the appropriate resource scope.

Incorrect Answers

A:

Build steps execute under a configured Cloud Build service account that needs IAM rights for target operations; its operational role is authorizing the build execution identity to publish artifacts; the needed capability is authenticating push delivery to a webhook.

B:

Authenticated Cloud Run HTTP invocation uses supported OIDC identity tokens with an appropriate audience and invoker permission; that applies to using audience-targeted OIDC identity tokens; the requested task is authenticating push delivery to a webhook.

D:

Production API authorization follows the workload's attached service account, not the developer's personal IAM roles; it concerns checking runtime principal privileges rather than developer grants, and its normal effect does not provide authenticating push delivery to a webhook.

E:

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 push delivery to a webhook.

Question 699

An architect needs to estimate expected spend for a planned VM, storage and egress design before creating resources. Which tool helps?

  1. Configure billing export to BigQuery
  2. Use billing cost table reports
  3. Use billing account cost reports
  4. Use the Google Cloud pricing calculator

Explanation

Correct Answer

D:

The pricing calculator estimates charges from specified product usage assumptions and published price structures; that matches the requirement for estimating predeployment cloud cost.

Incorrect Answers

A:

Cloud Billing exports send selected cost and pricing information to BigQuery datasets for analysis; that supports making Cloud Billing data queryable in BigQuery; the problem to solve concerns estimating predeployment cloud cost.

B:

The Cost table provides tabular cost records and invoice-oriented analysis for supported billing accounts; the supported outcome is reviewing invoice-aligned billing cost detail, while the requested result is estimating predeployment cloud cost.

C:

Cloud Billing Reports offers cost visualization and filtering without first creating a custom data warehouse; its operational role is analyzing spend in the Billing Reports interface; the needed capability is estimating predeployment cloud cost.

Question 700

A system depends on native Kafka topic and client semantics but wants Google-managed broker infrastructure. Which offering fits?

  1. Use BigQuery load job from Cloud Storage
  2. Use Dataflow
  3. Use Managed Service for Apache Kafka
  4. Use Memorystore
  5. Use a multi-region Cloud Storage bucket

Explanation

Correct Answer

C:

Google Cloud Managed Service for Apache Kafka offers managed Kafka clusters and familiar Kafka interfaces; this is relevant because the outcome sought is hosting compatible managed Kafka workloads.

Incorrect Answers

A:

BigQuery load jobs read supported source objects and create or append data in destination tables; the supported outcome is loading staged files into BigQuery tables, while the requested result is hosting compatible managed Kafka workloads.

B:

Dataflow runs managed batch and streaming pipelines, including Apache Beam workloads; the scenario specifies hosting compatible managed Kafka workloads, which differs from executing scalable managed data transformations.

D:

Memorystore provides managed in-memory data-store options for caching and similar workloads; that applies to operating a low-latency managed cache; the requested task is hosting compatible managed Kafka workloads.

E:

For storing objects across a multi-region location, this could be relevant; Cloud Storage multi-region locations store object data using Google's supported multi-region placement and redundancy model; the actual request concerns hosting compatible managed Kafka workloads.

Associate Cloud Engineer Practice Tests