Google Associate Cloud Engineer Practice Test 65

Question 640

A load balancer reports its backend group unhealthy, although VMs are running. What should operators inspect?

  1. Use Connectivity Tests
  2. Use external HTTP load balancer health checks
  3. Use Cloud CDN
  4. Use firewall rules logging

Explanation

Correct Answer

B:

Load balancer health checks determine backend eligibility based on configured protocol, port and response conditions; this is the specific mechanism used for checking application health probe configuration.

Incorrect Answers

A:

Network Intelligence Center Connectivity Tests analyzes supported connectivity paths and identifies potential configuration blocks; this is a distinct control for analyzing possible network paths and blockers, rather than checking application health probe configuration.

C:

Cloud CDN caches eligible HTTP(S) content at Google's edge using configured cache behavior; it is relevant when caching eligible content near users, not when the primary need is checking application health probe configuration.

D:

Firewall logging produces Cloud Logging records for matching supported firewall rule traffic; it is not the focused action for checking application health probe configuration; its primary use is recording network firewall policy matches.

Question 641

An engineer needs to search log entries from a specific resource and severity during an outage. What interface should they open?

  1. Use Logs Explorer
  2. Use Cloud Audit Logs
  3. Use Cloud Logging setup
  4. Enable log-based metrics

Explanation

Correct Answer

A:

Logs Explorer supports interactive filtering, viewing and investigating entries in authorized log buckets; the decisive property here is filtering operational log records interactively.

Incorrect Answers

B:

Cloud Audit Logs records supported administrative and access activity with audit-log type distinctions; it is not the focused action for filtering operational log records interactively; its primary use is reviewing authorized administrative API activity.

C:

Cloud Logging ingests and organizes supported resource and application logs into log buckets and views; the supported outcome is centralizing and querying operational logs, while the requested result is filtering operational log records interactively.

D:

Log-based metrics derive metric values from matching log entries and can support dashboards or alerts; the supported outcome is measuring a filtered log event pattern, while the requested result is filtering operational log records interactively.

Question 642

An untrusted client needs time-limited access to one object without creating a Google identity for that client. Which mechanism fits?

  1. Use Storage Transfer Service
  2. Use Cloud Storage uniform bucket-level access
  3. Use Cloud Storage signed URLs
  4. Use Cloud Storage soft delete

Explanation

Correct Answer

C:

Signed URLs authorize specific Cloud Storage requests for a bounded time using a signing identity; its effect directly addresses granting expiring URL-based object access.

Incorrect Answers

A:

Storage Transfer Service orchestrates supported large-scale transfers into and between storage systems; it concerns migrating bulk external object data, and its normal effect does not provide granting expiring URL-based object access.

B:

Uniform bucket-level access turns off object ACLs so IAM governs access to bucket objects; the decision here is about granting expiring URL-based object access, not disabling object ACL-based authorization.

D:

Soft delete retains eligible deleted object data for a configurable period to allow restoration; it concerns temporarily retaining deleted object data, and its normal effect does not provide granting expiring URL-based object access.

Question 643

A temporary development network benefits from automatically created subnets in supported regions and default IP ranges. Which network mode supplies that?

  1. Use an auto-mode VPC
  2. Use Cloud Interconnect
  3. Use Cloud VPN
  4. Use a Shared VPC host project

Explanation

Correct Answer

A:

Auto-mode VPC networks create subnets in eligible regions automatically and have defined address allocation behavior; this is the capability needed for creating regional subnets automatically.

Incorrect Answers

B:

Cloud Interconnect provides supported private connectivity between on-premises networks and Google Cloud through dedicated or partner arrangements; that applies to establishing dedicated or partner private connectivity; the requested task is creating regional subnets automatically.

C:

Cloud VPN provides managed IPsec VPN tunnels for hybrid network connectivity; its operational role is establishing encrypted site-to-cloud tunnels; the needed capability is creating regional subnets automatically.

D:

Shared VPC allows service projects to use subnets from a host project's shared network under delegated access; the supported outcome is sharing controlled VPC subnets across service projects, while the requested result is creating regional subnets automatically.

Question 644

An enterprise needs a fully managed advanced file-storage service with supported NFS or SMB capabilities. Which product should be evaluated?

  1. Use Filestore
  2. Use Google Cloud NetApp Volumes
  3. Use Bigtable
  4. Use Cloud SQL

Explanation

Correct Answer

B:

Google Cloud NetApp Volumes offers managed enterprise file-storage capabilities and supported NFS or SMB protocols; this is the capability needed for deploying managed enterprise file shares.

Incorrect Answers

A:

Filestore supplies managed NFS file systems that can be mounted by supported compute clients; Applying it would target mounting managed shared file storage, leaving the separate need for deploying managed enterprise file shares.

C:

The alternative would address storing massive low-latency wide-column datasets; Bigtable is a managed wide-column database optimized for large key-based workloads and low-latency access; the question instead requires deploying managed enterprise file shares.

D:

Cloud SQL provides managed MySQL, PostgreSQL and SQL Server database instances; it would help with operating managed conventional SQL databases, but it does not directly implement deploying managed enterprise file shares.

Question 645

A managed instance group uses an instance template whose startup script installs version 1 of an application. The new rollout needs version 2 for replacement VMs. How should the template-based rollout be managed?

  1. Edit the existing immutable instance template in place
  2. Update only a local gcloud named configuration
  3. Increase the Cloud Billing budget and wait for instances to change
  4. Create a new instance template and initiate a managed instance group rollout

Explanation

Correct Answer

D:

A new template captures the updated startup script; the managed instance group can roll out the new template to replacement instances under its update policy.

Incorrect Answers

A:

Instance templates are immutable resource specifications; changing the startup script requires a new template or equivalent version definition, not editing the old template.

B:

CLI named configurations select local command defaults and have no effect on startup scripts in previously created managed instance group templates.

C:

A budget influences financial notifications, not the image, metadata startup script or version selected for replacement VM instances.

Question 646

A signing service must use IAM Credentials to cryptographically sign an arbitrary request payload as a service account, without creating or downloading a private key. Which IAM Credentials method is appropriate?

  1. generateAccessToken
  2. signBlob
  3. projects.getIamPolicy
  4. generateIdToken

Explanation

Correct Answer

B:

The signBlob operation signs a supplied byte payload using a managed service-account key on behalf of an authorized caller and returns a signature without disclosing the private key.

Incorrect Answers

A:

Generating an OAuth access token authorizes API calls as a service account but does not itself produce a cryptographic signature over the arbitrary caller-provided payload.

C:

Retrieving an IAM policy reports bindings and access settings. That inspection operation cannot sign an application payload using the service account identity.

D:

Generating an ID token produces a token for an intended audience; it does not sign arbitrary user-chosen bytes with the signBlob contract.

Question 647

An application team seeks reproducible environments through audited manifests and configuration files. What design principle should guide it?

  1. Use Fabric FAST
  2. Use Terraform modules
  3. Use Terraform for infrastructure provisioning
  4. Use a declarative desired-state configuration

Explanation

Correct Answer

D:

The requested administrative outcome is codifying consistent cloud environments declaratively; Declarative infrastructure configuration specifies intended resources while tooling computes the necessary changes.

Incorrect Answers

A:

Fabric FAST supplies a structured foundation automation approach based on infrastructure-as-code modules; that mechanism handles implementing opinionated cloud foundation automation; it does not configure codifying consistent cloud environments declaratively.

B:

Terraform modules encapsulate resource definitions and input/output interfaces for reuse; its operational role is packaging reusable resource configurations; the needed capability is codifying consistent cloud environments declaratively.

C:

Terraform uses provider-managed declarative resources and state to plan and apply infrastructure changes; this is a distinct control for provisioning Google Cloud resources declaratively, rather than codifying consistent cloud environments declaratively.

Question 648

A Shielded VM was launched with Secure Boot disabled. A policy now requires boot components to be cryptographically verified before the guest OS starts. Which Shielded VM setting directly addresses this requirement?

  1. Enable Secure Boot on the supported VM
  2. Increase the VM boot disk size
  3. Enable an external public IP address
  4. Configure a Compute Engine instance schedule

Explanation

Correct Answer

A:

Secure Boot verifies signatures for supported boot software and helps reject untrusted components during startup. Enabling it targets the specified boot chain verification requirement.

Incorrect Answers

B:

A larger boot disk changes capacity and does not cause firmware and boot components to be validated against trusted signatures.

C:

A public IP affects network reachability, not trusted boot verification. It can increase exposure without satisfying the security policy.

D:

An instance schedule starts and stops VMs at planned times. It does not authenticate bootloader or guest boot-component signatures.

Question 649

A Google Cloud Batch task must download private objects while running on managed compute resources. Which identity needs object read rights?

  1. Use signed URL delegation with service account
  2. Use service account authentication without downloaded keys
  3. Use service account for Batch jobs
  4. Use service account permissions for Cloud Build

Explanation

Correct Answer

C:

Batch workloads run under configured service-account identities on underlying compute resources; it is the direct control for authorizing task runtime data access.

Incorrect Answers

A:

This alternative focuses on delegating bounded object download access; Authorized service account signing can generate Cloud Storage signed URLs for temporary operation-specific access; the stem instead asks for authorizing task runtime data access.

B:

Attached service accounts and the platform metadata service supply refreshed short-lived credentials to supported workloads; it is not the focused action for authorizing task runtime data access; its primary use is using default platform-supplied tokens.

D:

Build steps execute under a configured Cloud Build service account that needs IAM rights for target operations; this governs granting Cloud Build's selected build account deployment permissions, whereas the stated objective is authorizing task runtime data access.

Question 650

A Compute Engine instance needs to call Cloud Storage APIs using its runtime identity. Which VM setting should be configured?

  1. Attach a service account to a VM
  2. Grant target resource role to service account
  3. Create a dedicated service account
  4. Disable unused service account
  5. Use Application Default Credentials on Google Cloud

Explanation

Correct Answer

A:

The requirement is assigning workload identity to a compute instance; VMs can run as attached service accounts, with tokens available through the metadata server subject to access settings.

Incorrect Answers

B:

Attaching an account establishes identity but the service account still needs IAM permissions on the resources it accesses; its operational role is granting the workload identity the required API permissions; the needed capability is assigning workload identity to a compute instance.

C:

Dedicated service accounts provide separate nonhuman identities for workloads and make IAM grants auditable; its purpose differs: isolating workload authorization from user credentials is separate from assigning workload identity to a compute instance.

D:

Disabling a service account blocks its use without immediately deleting the identity and associated metadata; the scenario specifies assigning workload identity to a compute instance, which differs from disabling an unneeded service account.

E:

Application Default Credentials allows libraries to discover the runtime's supported identity credentials; it concerns using platform-discovered workload credentials, and its normal effect does not provide assigning workload identity to a compute instance.

Associate Cloud Engineer Practice Tests