Google Associate Cloud Engineer Practice Test 15

Question 140

A business wants different analyses over its standard and detailed billing exports. What is the most direct solution?

  1. Verify the enabled export type, destination dataset and billing access
  2. Use the appropriate usage and export timestamp fields in billing export data
  3. Include supported credits and adjustments in the billing export calculations
  4. Use the appropriate separate export tables and schema fields for each view
  5. Use Billing reporting or an exported dataset for granular investigation

Explanation

Correct Answer

D:

Standard and detailed exports have different coverage and granularity. Queries should be built for the chosen schema rather than assuming interchangeable table layouts.

Incorrect Answers

A:

This approach can complete cost export configuration. The requirement is to separate aggregate and detailed cost reporting, so it controls a different part of the workflow and leaves that result unaddressed.

B:

Its purpose is to distinguish usage timing from export timing. That distinction matters: the scenario calls for an action to separate aggregate and detailed cost reporting, not this separate configuration task.

C:

This setting would incorporate billing credits into net costs. That behavior does not establish the requested ability to separate aggregate and detailed cost reporting; it addresses an adjacent concern instead.

E:

Choosing this would investigate an unexpected cost increase, an appropriate action for billing status and troubleshooting operations; It cannot take the place of the separate step needed to separate aggregate and detailed cost reporting in this specific situation.

Question 141

An application portfolio contains a stateful monolith that requires custom OS kernel modules and an independent stateless HTTPS API packaged in a container. Which TWO compute choices align with those constraints? (Choose TWO.)

  1. Use Cloud Storage bucket lifecycle rules as the HTTP API execution environment
  2. Deploy the stateless container API as a Cloud Run service
  3. Run the kernel-module monolith only as a Cloud Run function
  4. Run the OS-dependent monolith on suitably configured Compute Engine VMs

Explanation

Correct Answers

B:

Cloud Run can run a stateless HTTP container with managed scaling and request handling. The API does not require customer-managed VM or Kubernetes nodes.

D:

Compute Engine gives administrators control over the guest operating system and supported kernel-dependent software. That level of customization is unsuitable for a fully abstracted container runtime.

Incorrect Answers

A:

Cloud Storage lifecycle policies manage object transitions and deletions. They cannot execute a live containerized HTTP application.

C:

Cloud Run functions do not provide arbitrary host-kernel module administration. A workload with explicit OS kernel dependencies needs a compatible VM-based environment.

Question 142

A product team already packages services as containers and wants Kubernetes-native deployment and scheduling. Which action is most appropriate?

  1. Deploy Compute Engine virtual machines
  2. Deploy the workloads to Google Kubernetes Engine
  3. Deploy a Cloud Run function with an appropriate trigger
  4. Deploy a Cloud Run service

Explanation

Correct Answer

B:

GKE provides managed Kubernetes control planes and cluster operations. Kubernetes resources describe container workloads and services.

Incorrect Answers

A:

This choice is useful to run and administer virtual machine operating systems. The stated task is to operate applications using Kubernetes constructs, which requires a different mechanism or permission scope.

C:

This approach can execute event-driven function code. The requirement is to operate applications using Kubernetes constructs, so it controls a different part of the workflow and leaves that result unaddressed.

D:

Using this action would serve HTTP containers without cluster administration, not operate applications using Kubernetes constructs. Its function is different from the specific change described in the scenario.

Question 143

A developer has a stateless HTTP container and wants managed request-driven deployment without administering clusters. Which solution should be used?

  1. Deploy a Cloud Run service
  2. Use an Eventarc trigger targeting a compatible Cloud Run destination
  3. Deploy the workloads to Google Kubernetes Engine
  4. Deploy Compute Engine virtual machines
  5. Deploy a Cloud Run function with an appropriate trigger

Explanation

Correct Answer

A:

Cloud Run hosts container applications with managed request routing and autoscaling. It removes the need to configure and operate Kubernetes nodes.

Incorrect Answers

B:

Choosing this would route storage events to Cloud Run, an appropriate action for cloud run events and messaging operations; It cannot take the place of the separate step needed to host a managed containerized HTTP service in this specific situation.

C:

Administrators use it to orchestrate containers with Kubernetes APIs, rather than to host a managed containerized HTTP service. Applying it would change the wrong component of this deployment.

D:

While this can run and administer virtual machine operating systems, the present task requires an action to host a managed containerized HTTP service. This operation does not supply the behavior described in the requirements.

E:

The result of this choice would be to execute event-driven function code. The requested outcome, to host a managed containerized HTTP service, is handled at a different layer or through another operation.

Question 144

A team needs an event-triggered snippet of application code to handle a Cloud Storage event without a persistent web server. How should the team proceed?

  1. Deploy a Cloud Run function with an appropriate trigger
  2. Evaluate a compute-optimized machine family
  3. Deploy the workloads to Google Kubernetes Engine
  4. Deploy a Cloud Run service
  5. Deploy Compute Engine virtual machines

Explanation

Correct Answer

A:

Cloud Run functions run event-driven function code with managed infrastructure. Event trigger configuration determines which published events invoke the handler.

Incorrect Answers

B:

This proposal can favor CPU-centric machine resources, but the failure or goal described here calls for a way to respond to storage events with managed code; It changes the wrong control or scope for the requested outcome.

C:

The tool can orchestrate containers with Kubernetes APIs, but it cannot be substituted for the capability needed to respond to storage events with managed code. Its operational effect is not equivalent.

D:

It can serve HTTP containers without cluster administration; however, it does not provide the specific operation to respond to storage events with managed code. The two controls serve different purposes.

E:

Using this action would run and administer virtual machine operating systems, not respond to storage events with managed code. Its function is different from the specific change described in the scenario.

Question 145

A VM needs a precise vCPU-to-memory ratio not offered by a predefined general-purpose machine type. Which configuration best meets the requirement?

  1. Choose a supported custom machine type
  2. Evaluate a memory-optimized Compute Engine machine family
  3. Select an appropriate general-purpose predefined machine type
  4. Evaluate a compute-optimized machine family

Explanation

Correct Answer

A:

Custom machine types allow supported Compute Engine families to use tailored vCPU and memory configurations. Eligibility depends on machine-series rules.

Incorrect Answers

B:

This approach can provide unusually high VM memory capacity. The requirement is to fit a nonstandard VM sizing requirement, so it controls a different part of the workflow and leaves that result unaddressed.

C:

While this can select a balanced predefined VM shape, the present task requires an action to fit a nonstandard VM sizing requirement. This operation does not supply the behavior described in the requirements.

D:

Its purpose is to favor CPU-centric machine resources. That distinction matters: the scenario calls for an action to fit a nonstandard VM sizing requirement, not this separate configuration task.

Question 146

A workload needs a recommended balanced configuration for typical business services without custom sizing. What should be configured?

  1. Choose a supported custom machine type
  2. Evaluate a memory-optimized Compute Engine machine family
  3. Deploy Compute Engine virtual machines
  4. Select an appropriate general-purpose predefined machine type
  5. Evaluate a compute-optimized machine family

Explanation

Correct Answer

D:

General-purpose families balance CPU and memory for common workloads. The predefined type gives a documented standard resource combination.

Incorrect Answers

A:

The tool can size a VM with custom vCPU and memory quantities, but it cannot be substituted for the capability needed to provision typical application compute efficiently. Its operational effect is not equivalent.

B:

This mechanism is intended to provide unusually high VM memory capacity. It does not implement the required action to provision typical application compute efficiently, even though both are relevant to the same general service.

C:

Choosing this would run and administer virtual machine operating systems, an appropriate action for choosing execution platforms operations; It cannot take the place of the separate step needed to provision typical application compute efficiently in this specific situation.

E:

Select this when the goal is to favor CPU-centric machine resources. Here the decisive requirement is to provision typical application compute efficiently, and that outcome is not achieved by this action.

Question 147

An in-memory analytics application needs a machine family optimized for very large memory capacity. Which action is most appropriate?

  1. Evaluate a compute-optimized machine family
  2. Select an appropriate general-purpose predefined machine type
  3. Evaluate a memory-optimized Compute Engine machine family
  4. Choose a supported custom machine type
  5. Select a compatible instance maintenance policy allowing live migration

Explanation

Correct Answer

C:

Memory-optimized families supply high memory capacity relative to compute. They are specialized compared with ordinary general-purpose shapes.

Incorrect Answers

A:

This approach can favor CPU-centric machine resources. The requirement is to support memory-heavy processing in a VM, so it controls a different part of the workflow and leaves that result unaddressed.

B:

Its purpose is to select a balanced predefined VM shape. That distinction matters: the scenario calls for an action to support memory-heavy processing in a VM, not this separate configuration task.

D:

This setting would size a VM with custom vCPU and memory quantities. That behavior does not establish the requested ability to support memory-heavy processing in a VM; it addresses an adjacent concern instead.

E:

This proposal can preserve VM continuity during maintenance where supported, but the failure or goal described here calls for a way to support memory-heavy processing in a VM; It changes the wrong control or scope for the requested outcome.

Question 148

A batch simulation is CPU-bound and benefits from more cores relative to memory. Which solution should be used?

  1. Evaluate a memory-optimized Compute Engine machine family
  2. Select an appropriate general-purpose predefined machine type
  3. Evaluate a compute-optimized machine family
  4. Choose a supported custom machine type
  5. Use Local SSD on a supported VM configuration

Explanation

Correct Answer

C:

Compute-optimized shapes target high CPU performance per workload. They are a better starting point than memory-oriented configurations for CPU-intensive tasks.

Incorrect Answers

A:

This mechanism is intended to provide unusually high VM memory capacity. It does not implement the required action to run compute-heavy simulations, even though both are relevant to the same general service.

B:

Administrators use it to select a balanced predefined VM shape, rather than to run compute-heavy simulations. Applying it would change the wrong component of this deployment.

D:

The result of this choice would be to size a VM with custom vCPU and memory quantities. The requested outcome, to run compute-heavy simulations, is handled at a different layer or through another operation.

E:

An operator would use this action to use ephemeral low-latency scratch storage, chiefly when trying to store transient processing data on local disks; The current requirement is to run compute-heavy simulations, which remains unresolved by that operation.

Question 149

A large batch pipeline can safely resume from checkpoints after an unexpected VM stop. What is the best next step?

  1. Select a compatible instance maintenance policy allowing live migration
  2. Use eligible Spot VMs with checkpointing
  3. Configure an eligible terminate-on-maintenance behavior and workload recovery
  4. Use standard non-Spot Compute Engine instances with appropriate resilience

Explanation

Correct Answer

B:

Spot VMs offer discounted interruptible compute capacity and can be reclaimed. Checkpointing makes task recovery practical.

Incorrect Answers

A:

This setting would preserve VM continuity during maintenance where supported. That behavior does not establish the requested ability to lower cost for recoverable batch execution; it addresses an adjacent concern instead.

C:

This choice is useful to handle host maintenance without live migration. The stated task is to lower cost for recoverable batch execution, which requires a different mechanism or permission scope.

D:

Using this action would avoid voluntary Spot preemption for a critical stateful server, not lower cost for recoverable batch execution. Its function is different from the specific change described in the scenario.

Question 150

A database must keep running without provider-initiated Spot preemption. Which configuration best meets the requirement?

  1. Select a compatible instance maintenance policy allowing live migration
  2. Configure an eligible terminate-on-maintenance behavior and workload recovery
  3. Use standard non-Spot Compute Engine instances with appropriate resilience
  4. Deploy Compute Engine virtual machines
  5. Use eligible Spot VMs with checkpointing

Explanation

Correct Answer

C:

Regular instances are not subject to Spot VM preemption behavior. High availability still requires deliberate replication and failure handling.

Incorrect Answers

A:

The result of this choice would be to preserve VM continuity during maintenance where supported. The requested outcome, to host continuous production compute without Spot interruptions, is handled at a different layer or through another operation.

B:

While this can handle host maintenance without live migration, the present task requires an action to host continuous production compute without Spot interruptions. This operation does not supply the behavior described in the requirements.

D:

Administrators use it to run and administer virtual machine operating systems, rather than to host continuous production compute without Spot interruptions. Applying it would change the wrong component of this deployment.

E:

This mechanism is intended to run interruptible, restartable compute jobs. It does not implement the required action to host continuous production compute without Spot interruptions, even though both are relevant to the same general service.

Associate Cloud Engineer Practice Tests