πŸŽ„

CertoMetrics - 9% OFF Special Discount Offer - Ends In:

0d 00h 00m 00s
Coupon code: SALE2026

Google Associate Cloud Engineer (Associate_Cloud_Engineer)

Get full access to the updated question bank and pass on your first attempt.

Vendor

Google

Certification

Google Associate certification

Content

350 Qs

Status

Verified

Updated

2 days ago

Test the Practice Engine

Experience our real exam environment with free demo questions

Launch Free Demo
Best Value Bundle

Premium Bundle

Complete Success Suite

$108 $69

Save $39 Instantly

  • βœ“
    Full PDF + Interactive Engine Everything you need to pass
  • βœ“
    All Advanced Question Types Drag & Drop, Hotspots, Case Studies
  • βœ“
    Priority 24/7 Expert Support Direct line to certification leads
  • βœ“
    90 Days Free Priority Updates Stay current as exams change

Success Metric

98.4% Pass Rate

Verified by 15k+ Students
Secure Checkout
Popular

Standard Simulation

Practice Engine

$59

One-Time Payment

  • Web-Based (Zero Install)
  • Real Testing Environment Virtual & Practice Modes
  • Interactive Engine Drag & Drop, Hotspots
  • 60 Days Free Updates

Compatible with All Devices

Chrome
Verified Secure Checkout

Basic Tier

PDF Study Guide

$49

Digital Access

  • βœ“ Exam Questions (PDF)
  • βœ“ Mobile Friendly
  • βœ“ 60 Days Updates
Download Free Sample PDF

Verified 10-Question Preview

Secure Checkout

Verified Community

The CertoMetrics Standard.

Recommend the #1 platform for verified Google certification resources.

Success Network

Help a Colleague Succeed.

Invite a peer to get their own updated Associate_Cloud_Engineer prep kit.

Exam Overview

The Google Associate Cloud Engineer certification is a foundational credential that validates your ability to deploy applications, monitor operations, and manage enterprise solutions on Google Cloud Platform (GCP). Achieving this certification demonstrates a strong understanding of core GCP services, command-line tools, and the GCP Console. It's an invaluable stepping stone for IT professionals looking to build a career in cloud computing, proving practical skills in managing resources, setting up environments, and ensuring operational success. This certification significantly enhances marketability, opening doors to roles that require hands-on experience with one of the leading cloud providers, and serves as a prerequisite for more advanced professional-level certifications.

Questions

50-60

Passing Score

Not publicly disclosed by Google, but typically estimated around 70%

Duration

120 Minutes

Difficulty

Intermediate

Level

Associate

Skills Measured

Setting up a cloud solution environment
Planning and configuring a cloud solution
Deploying and implementing a cloud solution
Ensuring successful operation of a cloud solution
Configuring access and security

Career Path

Target Roles

Cloud Engineer Cloud Administrator Junior DevOps Engineer

Common Questions

Is the material up to date?

Yes. We update our question bank weekly to match the latest Google standards. You get free updates for 90 days.

What format do I get?

You get instant access to both the **PDF** (for reading) and our **Premium Test Engine** (for exam simulation).

Is there a guarantee?

Absolutely. If you fail the Associate_Cloud_Engineer exam using our materials, we offer a full money-back guarantee.

When do I get the download?

Instantly. The download link is available in your dashboard immediately after payment is confirmed.

Free Study Guide Samples

Previewing updated Associate_Cloud_Engineer bank (70 Questions).

QUESTION 1

You host a static website on Cloud Storage. Recently, you began to include links to PDF files on this site. Currently, when users click on the links to these PDF files, their browsers prompt them to save the file onto their local system. Instead, you want the clicked PDF files to be displayed within the browser window directly, without prompting the user to save the file locally. What should you do?

A
Enable Cloud CDN on the website frontend.
B
Enable β€˜Share publicly’ on the PDF file objects.
C
Set Content-Type metadata to application/pdf on the PDF file objects.
D
Add a label to the storage bucket with a key of Content-Type and value of application/pdf.

Correct Option: C

βœ… Option C (Correct) Reasoning: Setting the Content-Type metadata to application/pdf for the PDF file objects explicitly informs web browsers that the file is a PDF. Modern browsers are equipped with built-in PDF viewers and will consequently display the document directly within the browser window rather than prompting the user for a download. This is the standard HTTP mechanism for controlling how file types are handled.

❌ Why the other choices are incorrect:

  • Option A is incorrect: Cloud CDN primarily optimizes content delivery speed through caching. It does not alter the Content-Type metadata of objects or dictate how a browser renders specific file types.
  • Option B is incorrect: Enabling 'Share publicly' makes the file accessible via a URL, but it does not control the browser's display behavior for the content itself. The browser still relies on Content-Type.
  • Option D is incorrect: Adding a label to the storage bucket is for organizational purposes, such as billing or policy enforcement, and metadata about the bucket. It does not set HTTP headers like Content-Type for individual objects served from the bucket.


QUESTION 2

Your company would like to store invoices and other financial documents in Google Cloud. You need to identify a Google-managed solution to store this information for your company. You must ensure that the documents are kept for a duration of three years. Your company’s analysts need frequent access to invoices from the past six months. After six months, invoices should be archived for audit purposes only. You want to minimize costs and follow Google-recommended practices. What should you do?

A
Use Cloud Storage with Object Lifecycle Management to change the object storage class to Coldline after six months.
B
Use Cloud Storage with Object Lifecycle Management to change the object storage class to Standard after six months.
C
Store your documents on Filestore, and move the documents to Cloud Storage with object storage class set to Coldline after six months.
D
Store your documents on Filestore, and move the documents to Cloud Storage with object storage class set to Standard after six months.

Correct Option: A

βœ… Option A (Correct) Reasoning: Cloud Storage is a durable, cost-effective, Google-managed object storage solution. Object Lifecycle Management automates moving data to cheaper storage classes like Coldline for infrequent access, minimizing costs after six months. This strategy optimally balances frequent initial access, long-term retention for audit, and cost efficiency.

❌ Why the other choices are incorrect:

  • Option B is incorrect: Transitioning to Standard after six months is not cost-effective for documents accessed only for audit. Standard is for frequently accessed data, which costs more than Coldline.
  • Option C is incorrect: Filestore is a managed NFS service, generally more expensive than Cloud Storage for simple document storage, and moving data to Cloud Storage requires additional setup, not a fully integrated lifecycle solution from the start.
  • Option D is incorrect: Similar to C, Filestore is not ideal for initial storage. Additionally, moving to Standard for audit-only documents is not cost-optimized.
QUESTION 3

You have a virtual machine that is currently configured with 2 vCPUs and 4 GB of memory. It is running out of memory. You want to upgrade the virtual machine to have 8 GB of memory. What should you do?

A
Rely on live migration to move the workload to a machine with more memory.
B
Use gcloud to add metadata to the VM. Set the key to required-memory-size and the value to 8 GB.
C
Stop the VM, change the machine type to n1-standard-8, and start the VM.
D
Stop the VM, increase the memory to 8 GB, and start the VM.

Correct Option: D

βœ… Option D (Correct) Reasoning: To modify a Compute Engine VM's resources, like memory, the instance must first be stopped. After stopping, you can edit the machine configuration (machine type) to increase the memory to 8 GB (e.g., using a custom machine type or a predefined type). Finally, the VM must be started again for these changes to take effect.

❌ Why the other choices are incorrect:

  • Option A is incorrect: Live migration moves a running VM to a different host but does not change its allocated resources (vCPUs or memory). Resource upgrades require modifying the VM configuration.
  • Option B is incorrect: VM metadata is used to pass information to the guest operating system or for startup scripts, not to directly configure fundamental VM resources like memory or vCPUs.
  • Option C is incorrect: Changing to n1-standard-8 would provide 30 GB of memory and 8 vCPUs. While it includes 8 GB of memory, it also significantly over-provisions vCPUs (from 2 to 8) and total memory, which is more than just upgrading to 8 GB of memory.


QUESTION 4

You are planning to migrate your containerized workloads to Google Kubernetes Engine (GKE). You need to determine which GKE option to use. Your solution must have high availability, minimal downtime, and the ability to promptly apply security updates to your nodes. You also want to pay only for the compute resources that your workloads use without managing nodes. You want to follow Google-recommended practices and minimize operational costs. What should you do?

A
Configure a Standard regional GKE duster.
B
Configure a Standard zonal GKE duster.
C
Configure a Standard multi-zonal GKE cluster.
D
Configure an Autopilot GKE cluster.

Correct Option: D

βœ… Option D (Correct) Reasoning: Autopilot GKE is a fully managed service that provides high availability and automatic security updates for nodes. You pay only for actual pod resource usage, eliminating node management overhead and minimizing operational costs, aligning perfectly with all specified requirements.

❌ Why the other choices are incorrect:

  • Option A is incorrect: A Standard regional cluster offers high availability and prompt updates, but requires you to manage nodes, including upgrades and patching. This contradicts the requirement to "pay only for compute resources... without managing nodes."
  • Option B is incorrect: A Standard zonal cluster's control plane resides in a single zone, lacking high availability and making it susceptible to zonal failures. Furthermore, you must manage the nodes yourself.
  • Option C is incorrect: A Standard multi-zonal cluster spreads worker nodes across zones for workload resilience, but its control plane is still zonal, posing a single point of failure. Node management is also still your responsibility, not aligning with the requirements.


QUESTION 5

You have production and test workloads that you want to deploy on Compute Engine. Production VMs need to be in a different subnet than the test VMs. All the VMs must be able to reach each other over Internal IP without creating additional routes. You need to set up VPC and the 2 subnets. Which configuration meets these requirements?

A
Create a single custom VPC with 2 subnets. Create each subnet in a different region and with a different CIDR range.
B
Create a single custom VPC with 2 subnets. Create each subnet in the same region and with the same CIDR range.
C
Create 2 custom VPCs, each with a single subnet. Create each subnet in a different region and with a different CIDR range.
D
Create 2 custom VPCs, each with a single subnet. Create each subnet in the same region and with the same CIDR range.

Correct Option: A

βœ… Option A (Correct) Reasoning: A single custom VPC allows all VMs to communicate via internal IP without additional routes. Creating two subnets within this VPC (each with a unique CIDR range and potentially in different regions) satisfies the requirement for separating production and test workloads while maintaining seamless internal connectivity.

❌ Why the other choices are incorrect:

  • Option B is incorrect: Subnets within the same VPC cannot have the same or overlapping CIDR ranges. This configuration is invalid and impossible to create.
  • Option C is incorrect: Creating two separate VPCs would prevent VMs from reaching each other over internal IP without requiring additional routing configurations, such as VPC Peering.
  • Option D is incorrect: Similar to Option C, two separate VPCs would not allow internal IP communication without additional routes. The CIDR ranges themselves are not the primary issue here, but the separation of VPCs.


QUESTION 6

You need to create an autoscaling managed instance group for an HTTPS web application. You want to make sure that unhealthy VMs are recreated. What should you do?

A
Create a health check on port 443 and use that when creating the Managed Instance Group.
B
Select Multi-Zone instead of Single-Zone when creating the Managed Instance Group.
C
In the Instance Template, add the label β€˜health-check’.
D
In the Instance Template, add a startup script that sends a heartbeat to the metadata server.

Correct Option: A

βœ… Option A (Correct) Reasoning: A health check configured on port 443 (for HTTPS) and associated with the Managed Instance Group (MIG) enables the MIG to monitor instance health. If an instance fails the health check, the MIG automatically recreates it, ensuring unhealthy VMs are replaced.

❌ Why the other choices are incorrect:

  • Option B is incorrect: Multi-Zone MIGs improve availability against zone failures but do not inherently detect and recreate unhealthy individual instances within a zone. Health checks are still required for instance-level health monitoring.
  • Option C is incorrect: Adding a label 'health-check' to an instance template is merely metadata. It does not configure an actual health check or enable the MIG to detect and recreate unhealthy instances.
  • Option D is incorrect: While a startup script can perform initial configuration, sending a heartbeat to the metadata server is not the standard or effective mechanism for a MIG to detect application unhealthiness and trigger auto-healing. Native GCP health checks are designed for this.


QUESTION 7

You are managing binary large objects (BLOBs) stored in a regional Cloud Storage bucket. The bucket has Object Versioning

enabled to protect against accidental data loss, and it is used by an automated process that frequently uploads new versions of objects. You need to implement a cost-control measure that automatically and permanently deletes all noncurrent object versions 30 days after they are replaced by a newer version. What should you do?

A
Create an Object Lifecycle Management rule that specifies the daysSinceNoncurrentTime condition set to 30 and usesthe Delete action.
B
Configure a Bucket Lock retention policy on the Cloud Storage bucket set to 30 days.
C
Create a nightly scheduled Cloud Run function that uses the Cloud Storage API to list all noncurrent object versions andexecutes the Delete action on versions older than 30 days.
D
Create an Object Lifecycle Management rule that specifies the age condition set to 30 days and uses the Delete action.

Correct Option: A

βœ… Option A (Correct) Reasoning: An Object Lifecycle Management rule with daysSinceNoncurrentTime set to 30 and the Delete action precisely targets noncurrent object versions, deleting them 30 days after a newer version replaces them. This natively automates the specified cost-control measure.

❌ Why the other choices are incorrect:

  • Option B is incorrect: Bucket Lock retention policies prevent object deletion for a set period, used for compliance, which directly contradicts the goal of automatically deleting old versions.
  • Option C is incorrect: Creating a custom Cloud Run function is an overly complex and expensive solution for a common requirement that Cloud Storage Object Lifecycle Management handles natively and efficiently.
  • Option D is incorrect: The age condition deletes objects based on their original creation date. The requirement specifies deletion 30 days after they are replaced by a newer version, which is daysSinceNoncurrentTime, not age.


QUESTION 8

Your company has a Google Cloud Platform project that uses BigQuery for data warehousing. Your data science team changes frequently and has few members. You need to allow members of this team to perform queries. You want to follow Google-recommended practices. What should you do?

A
1. Create an IAM entry for each data scientist's user account. 2. Assign the BigQuery jobUser role to the group.
B
1. Create an IAM entry for each data scientist's user account. 2. Assign the BigQuery dataViewer user role to the group.
C
1. Create a dedicated Google group in Cloud Identity. 2. Add each data scientist's user account to the group. 3. Assign the BigQuery jobUser role to the group.
D
1. Create a dedicated Google group in Cloud Identity. 2. Add each data scientist's user account to the group. 3. Assign the BigQuery dataViewer user role to the group.

Correct Option: C

βœ… Option C (Correct) Reasoning: Creating a dedicated Google Group is Google's recommended practice for managing IAM for teams, especially those with frequent changes. Assigning the BigQuery jobUser role to this group grants members the necessary permissions to execute BigQuery queries, adhering to the principle of least privilege.

❌ Why the other choices are incorrect:

  • Option A is incorrect: Creating individual IAM entries is not recommended for frequently changing teams. Using a group simplifies management. The role assignment statement is also contradictory.
  • Option B is incorrect: Individual IAM entries are not recommended. The BigQuery dataViewer role only allows viewing data and metadata; it does not grant permission to perform queries (run jobs).
  • Option D is incorrect: While using a Google Group is correct for user management, the BigQuery dataViewer role is insufficient as it does not allow users to perform queries.
QUESTION 9

Your company wants to provide engineers with access to explore Google Cloud freely in a sandbox environment. The total

budget for testing across your organization is $1000. You need to ensure that engineers are notified when the budget is about to be reached. You want to automate your solution as much as possible. What should you do?

A
Create an email template reminding people to regularly check their Google Cloud spend. Create a Cloud Run function thatsends the email to all the project owners. Create a daily job in Cloud Scheduler that triggers the Cloud Run function. Deploythis solution for each sandbox.
B
Configure a billing data export to a BjgQuery dataset on the Cloud Billing account. Create a dashboard for all costs relatedto the sandbox experiments. Share the dashboard with all engineers,
C
Create a separate Cloud Billing account for all sandbox projects. Link a credit card with a limit of $1000 to this billingAccount, Ensure all sandbox projects are linked to this new Cloud Billing account.
D
Create a Google Cloud Folder and ensure that all sandbox projects are located under that Folder. Create a Budget Alert for $1000 and scope it to the Folder. Configure an email alert to billing administrators and users once the budget is 90%reached.

Correct Option: D

βœ… Option D (Correct) Reasoning: Creating a Folder groups all sandbox projects, enabling a single Budget Alert scoped to that Folder for the $1000 total. Native Budget Alerts provide automated email notifications at specified thresholds (e.g., 90%), proactively informing engineers when the budget is about to be reached.

❌ Why the other choices are incorrect:

  • Option A is incorrect: Requires custom development and deployment per sandbox, lacking direct integration with actual billing spend thresholds for proactive, centralized alerts. It's less automated and scalable than a native budget.
  • Option B is incorrect: A dashboard provides visibility but requires manual checking. The requirement is for proactive notification when the budget is about to be reached, which a dashboard does not automate.
  • Option C is incorrect: Linking a credit card with a hard limit stops spending but doesn't provide prior notification before the limit is hit. This fails the requirement of alerting engineers before the budget is reached.
QUESTION 10

Your company has a 3-tier solution running on Compute Engine. The configuration of the current infrastructure is shown below.

Each tier has a service account that is associated with all instances within it. You need to enable communication on TCP port 8080 between tiers as follows:

A
Instances in tier #1 must communicate with tier #2.
B
Instances in tier #2 must communicate with tier #3.
C
1. Create an ingress firewall rule with the following settings:Targets: all instances
D
Source filter: IP ranges (with the range set to 10.0.2.0/24)
E
Protocols: allow all
F
Targets: all instances
G
Source filter: IP ranges (with the range set to 10.0.1.0/24)
H
Protocols: allow all
I
1. Create an ingress firewall rule with the following settings:Targets: all instances with tier #2 service account

Correct Option: B

βœ… Option B (Correct) Reasoning: The question asks to enable communication "as follows". Choice B directly specifies the required communication flow: instances in Tier #2 must communicate with instances in Tier #3. This clearly defines the source and destination tiers for the desired interaction on TCP port 8080.

❌ Why the other choices are incorrect:

  • Option A is incorrect: This describes a different communication flow (Tier #1 to Tier #2), not the one identified as correct.
  • Options C, D, E, F, G, H, I are incorrect: These choices are fragments of firewall rule definitions (targets, source filters, protocols). They do not, by themselves, describe the communication flow requested by the "as follows:" prompt. They would be components of a solution after the communication flow is defined.


QUESTION 11

You are deploying an application on Google Cloud that requires a relational database for storage. To satisfy your company's

security policies, your application must connect to your database through an encrypted and authenticated connection that requires

minimal management and integrates with Identity and Access Management (IAM), What should you do?

A
Deploy a Cloud SQL database with the SSL mode set to encrypted only, configure SSL/TLS client certificates, and configurea database user and password.
B
Deploy a Cloud SQL database and configure IAM database authentication. Access the database through the Cloud SQLAuth Proxy.
C
Deploy a Cloud SOL database with the SSL mode set to encrypted only, configure SSL/TLS client certificates, and configureIAM database authentication.
D
Deploy a Cloud SQL database and configure a database user and password, Access the database through the Cloud SQLAuth Proxy.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 12

You are given a project with a single virtual private cloud (VPC) and a single subnetwork in the us-central1 region. There is a Compute Engine instance hosting an application in this subnetwork. You need to deploy a new instance in the same project in the europe-west1 region. This new instance needs access to the application. You want to follow Google-recommended practices. What should you do?

A
1. Create a subnetwork in the same VPC, in europe-west1. 2. Create the new instance in the new subnetwork and use the first instance's private address as the endpoint.
B
1. Create a VPC and a subnetwork in europe-west1. 2. Expose the application with an internal load balancer. 3. Create the new instance in the new subnetwork and use the load balancer's address as the endpoint.
C
1. Create a subnetwork in the same VPC, in europe-west1. 2. Use Cloud VPN to connect the two subnetworks. 3. Create the new instance in the new subnetwork and use the first instance's private address as the endpoint.
D
1. Create a VPC and a subnetwork in europe-west1. 2. Peer the 2 VPCs. 3. Create the new instance in the new subnetwork and use the first instance's private address as the endpoint.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 13

You are storing your team's container images in Artifact Registry. You need to create a new Google Kubernetes Engine (GKE)

cluster and deploy these containers. You have already configured an IAM service account with the necessary permissions to pull images from Artifact Registry. You must ensure the images can be deployed on the GKE cluster. What should you do?

A
In the Pod manifest, enter the service account name in the serviceAcccuntName field.
B
Deploy the cluster nodes with the specified service account.
C
After creating the cluster, store the service account JSON key in a Kubernetes Secret.
D
Enable Workload Identity Federation for GKE on the cluster.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 14

Your projects incurred more costs than you expected last month. Your research reveals that a development GKE container emitted a huge number of logs, which resulted in higher costs. You want to disable the logs quickly using the minimum number of steps. What should you do?

A
1. Go to the Logs ingestion window in Cloud logging, and disable the log source for the GKE container resource.
B
1. Go to the Logs ingestion window in Cloud logging, and disable the log source for the GKE Cluster Operations resource.
C
1. Go to the GKE console, and delete existing clusters.
D
Recreate a new cluster.
E
Clear the option to enable legacy Cloud logging.
F
1. Go to the GKE console, and delete existing clusters.
G
Recreate a new cluster.
H
Clear the option to enable legacy Stackdriver Monitoring.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 15

You work for a large company that recently acquired three smaller startups. All of the startups' Google Cloud resources must

be centrally managed under a single Google Cloud organization. However, each startup has its own budget and financial reporting structure. You need to ensure that each startup receives a separate monthly invoice for its Google Cloud consumption. What should you do?

A
Create a Google Cloud organization for each startup. Share a single Cloud Billing account and use the detailed billingexport to allocate costs.
B
Create a Google Cloud organization for each startup. Configure each startup to have its own Cloud Billing account.
C
Create a Google Cloud organization with a folder for each startup. Configure each startup to have its own Cloud Billingaccount.
D
Create a Google Cloud organization with a folder for each startup. Share a single Cloud Billing account and use the detailedbilling export to allocate costs.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 16

You have a website hosted on App Engine standard environment. You want 1% of your users to see a new test version of the website. You want to minimize complexity. What should you do?

A
Deploy the new version in the same application and use the --migrate option.
B
Deploy the new version in the same application and use the --splits option to give a weight of 99 to the current version and a weight of 1 to the new version.
C
Create a new App Engine application in the same project. Deploy the new version in that application. Use the App Engine library to proxy 1% of the requests to the new version.
D
Create a new App Engine application in the same project. Deploy the new version in that application. Configure your network load balancer to send 1% of the traffic to that new application.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 17

You are deploying a new frontend service for an online game. The service was built using a micro-frontend architecture and consists of multiple containers that interact using a service mesh. You need to control the number of compute instances that are running at a given time. What should you do?

A
Create a Google Kubernetes Engine (GKE) Standard cluster with a node pool that has a fixed number of nodes. Enable the Cloud Service Mesh add-on, and deploy the service.
B
Create a Compute Engine instance template using a container-optimized virtual machine (VM) instance, and create astartup script that installs Istio service mesh. Deploy the service, and create a managed instance group with a fixed numberof instances to run the service.
C
Create a Cloud Run service specifying the minimum and maximum number of instances, and configure the service to use Cloud Service Mesh, Deploy all the containers to the service,
D
Create a Google Kubernetes Engine (GKE) Autopilot cluster and enable Cloud Service Mesh. Deploy the service, and use vertical and horizontal Pod autoscaling to control the cluster size,

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 18

You have a web application deployed as a managed instance group. You have a new version of the application to gradually deploy. Your web application is currently receiving live web traffic. You want to ensure that the available capacity does not decrease during the deployment. What should you do?

A
Perform a rolling-action start-update with maxSurge set to 0 and maxUnavailable set to 1.
B
Perform a rolling-action start-update with maxSurge set to 1 and maxUnavailable set to 0.
C
Create a new managed instance group with an updated instance template. Add the group to the backend service for the load balancer. When all instances in the new managed instance group are
D
Create a new instance template with the new application version. Update the existing managed instance group with the new instance template. Delete the instances in the managed instance group to allow the managed instance group to recreate the instance using the new instance template.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 19

You are developing an internet of things (IoT) application that captures sensor data from multiple devices that have already

been set up. You need to identify the global data storage product your company should use to store this data. You must ensure that the

storage solution you choose meets your requirements of sub-millisecond latency. What should you do?

A
Capture IoT data in Big Query datasets.
B
Store the IoT data in Spanner. Use caches to speed up the process and avoid latencies.
C
Store the IoT data in Bigtable.
D
Store the IoT data in Cloud Storage. Implement caching by using Cloud CDN.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 20

You are building an application that stores relational data from users. Users across the globe will use this application. Your CTO is concerned about the scaling requirements because the size of the user base is unknown. You need to implement a database solution that can scale with your user growth with minimum configuration changes. Which storage solution should you use?

A
Cloud SQL
B
Cloud Spanner
C
Cloud Firestore
D
Cloud Datastore

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 21

Your organization has created hundreds of service accounts for different applications hosted on-premises and in other clouds that use Google Cloud APIs. You need to audit the service account keys that have been created and identify the keys that are older than 90 days. What should you do?

A
options/AssociateCloudEngineer_e28d8e3dfb.webp
B
options/AssociateCloudEngineer_bedb04ad5c.webp
C
options/AssociateCloudEngineer_14ce360bc1.webp
D
options/AssociateCloudEngineer_2af546fc46.webp

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 22

You are the organization and billing administrator for your company. The engineering team has the Project Creator role on the organization. You do not want the engineering team to be able to link projects to the billing account. Only the finance team should be able to link a project to a billing account, but they should not be able to make any other changes to projects. What should you do?

A
Assign the finance team only the Billing Account User role on the billing account.
B
Assign the engineering team only the Billing Account User role on the billing account.
C
Assign the finance team the Billing Account User role on the billing account and the Project Billing Manager role on the organization.
D
Assign the engineering team the Billing Account User role on the billing account and the Project Billing Manager role on the organization.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 23

You are a Google Cloud organization policy administrator for your company, which operates in a regulated industry. You need

to enforce a policy that restricts all new location-based Google Cloud resources to the australia-southeast1 and australia-

southeast2 regions only. You want to ensure that this policy requires minimal configuration. What should you do?

A
Modify the gcp.resourceLocations list constraint by adding in: australia-locations to the allowed _ valueslist,
B
Modify the gcp.resourceLocations list constraint by adding in:australia-Locations to the denied_values list.
C
Create a custom organization policy that uses the resource. location. startsWith(β€˜australia’) CommonExpression Language (CEL) condition.
D
Create a custom organization policy that uses the resource.Location == β€˜australia-southeast1’ II resource.location == β€˜australia-southeast2’) Common Expression Language (CEL) condition.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 24

You have an application running in Google Kubernetes Engine (GKE) with cluster autoscaling enabled. The application exposes a TCP endpoint. There are several replicas of this application. You have a Compute Engine instance in the same region, but in another Virtual Private Cloud (VPC), called gce-network, that has no overlapping IP ranges with the first VPC. This instance needs to connect to the application on GKE. You want to minimize effort. What should you do?

A
1. In GKE, create a Service of type LoadBalancer that uses the application's Pods as backend. 2. Set the service's externalTrafficPolicy to Cluster. 3. Configure the Compute Engine instance to use the address of the load balancer that has been created.
B
1. In GKE, create a Service of type NodePort that uses the application's Pods as backend. 2. Create a Compute Engine instance called proxy with 2 network interfaces, one in each VPC. 3. Use iptables on this instance to forward traffic from gce-network to the GKE nodes. 4. Configure the Compute Engine instance to use the address of proxy in gce-network as endpoint.
C
1. In GKE, create a Service of type LoadBalancer that uses the application's Pods as backend. 2. Add an annotation to this service: cloud.google.com/load-balancer-type: Internal 3. Peer the two VPCs together. 4. Configure the Compute Engine instance to use the address of the load balancer that has been created.
D
1. In GKE, create a Service of type LoadBalancer that uses the application's Pods as backend. 2. Add a Cloud Armor Security Policy to the load balancer that whitelists the internal IPs of the MIG's instances. 3. Configure the Compute Engine instance to use the address of the load balancer that has been created.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 25

You are configuring the network infrastructure for a new application on Google Cloud. The application will run on Compute Engine and consists of:

β€’ Web instances running in a managed instance group that are accessible from the public internet.

β€’ A single database instance that is accessible from the web instances.

All instances will be deployed in the same custom-mode VPC network and subnet. You want to configure the most secure and reliable solution. What should you do?

A
Assign external IP addresses to all instances. Create a firewall rule to allow access from the web instances to the databaseinstance. Create an external Application Load Balancer, and add the web instance group as a backend service. Create aDNS record by using the IP address of the load balancer.
B
Assign internal IP addresses to all instances. Create firewall rules to allow access from the internet to the web instancesand from the web instances to the database instance. Create DNS records by using the IP addresses of the web instances.
C
Assign internal IP addresses to all instances. Create a firewall rule to allow access from the web instances to the databaseinstance. Create an external Application Load Balancer, and add the web instance group as a backend service. Create aDNS record by using the IP address of the load balancer.
D
Assign external IP addresses to all instances. Create firewall rules to allow access from the internet to the web instancesand from the web instances to the database instance. Create DNS records by using the IP addresses of the web Instances.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 26

Your organization is a financial company that needs to store audit log files for 3 years. Your organization has hundreds of Google Cloud projects. You need to implement a cost-effective approach for log file retention. What should you do?

A
Create an export to the sink that saves logs from Cloud Audit to BigQuery.
B
Create an export to the sink that saves logs from Cloud Audit to a Coldline Storage bucket.
C
Write a custom script that uses logging API to copy the logs from Stackdriver logs to BigQuery.
D
Export these logs to Cloud Pub/Sub and write a Cloud Dataflow pipeline to store logs to Cloud SQL.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 27

Your organization has decided to deploy all its compute workloads to Kubernetes on Google Cloud and two other cloud

providers. You want to build an infrastructure-as-code solution to automate the provisioning process for all cloud resources. What should you do?

A
Build the solution by using Config Connector, and provision the resources.
B
Build the solution by using YAML manifests, and provision the resources.
C
Build the solution by using Terraform, and provision the resources.
D
Build the solution by using Python and the cloud SDKs from all providers to provision the resources.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 28

You want to run a single caching HTTP reverse proxy on GCP for a latency-sensitive website. This specific reverse proxy consumes almost no CPU. You want to have a 30-GB in-memory cache, and need an additional 2 GB of memory for the rest of the processes. You want to minimize cost. How should you run this reverse proxy?

A
Create a Cloud Memorystore for Redis instance with 32-GB capacity.
B
Run it on Compute Engine, and choose a custom instance type with 6 vCPUs and 32 GB of memory.
C
Package it in a container image, and run it on Kubernetes Engine, using n1-standard-32 instances as nodes.
D
Run it on Compute Engine, choose the instance type n1-standard-1, and add an SSD persistent disk of 32 GB.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 29

You are deploying a large, multi-tiered application with more than 1,000 IP addresses in a Google Cloud project that needs to

be securely isolated. The application includes the:

1. web tier with frontend servers for public traffic,

2. application tier with servers running core application logic that only need access from the web tier, and

3. database tier with database servers that only need access from the application tier,

You want to minimize cost, complexity, and administrative overhead in the network architecture. What should you do?

A
Deploy each tier in a 124 VPC by using network tags to identify instances. Implement firewall rules for fine-grained networksegmentation.
B
Deploy each tier into a separate custom mode 116 VPC. Use VPC Network Peering to securely connect each custom modeVPC. Manage firewall rules individually in each VPC.
C
Create one custom mode 116 VPC with three subnets. Place each tier in its own subnet and use firewall rules that referenceIP subnets to control traffic.
D
Create a 124 Shared VPC with separate subnets for each tier. Use firewall rules that reference network tags to control traffic.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 30

You are hosting an application on bare-metal servers in your own data center. The application needs access to Cloud Storage. However, security policies prevent the servers hosting the application from having public IP addresses or access to the internet. You want to follow Google-recommended practices to provide

the application with access to Cloud Storage. What should you do?

A
1. Use nslookup to get the IP address for storage.googleapis.com.
B
Negotiate with the security team to be able to give a public IP address to the servers.
C
Only allow egress traffic from those servers to the IP addresses for storage.googleapis.com.
D
1. Using Cloud VPN, create a VPN tunnel to a Virtual Private Cloud (VPC) in Google Cloud Platform (GCP).
E
In this VPC, create a Compute Engine instance and install the Squid proxy server on this instance.
F
Configure your servers to use that instance as a proxy to access Cloud Storage.
G
1. Use Migrate for Compute Engine (formerly known as Velostrata) to migrate those servers to Compute Engine.
H
Create an internal load balancer (ILB) that uses storage.googleapis.com as backend.
I
Configure your new instances to use this ILB as proxy.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 31

You are implementing a company-wide standard to control SSH access for your Google Cloud projects. You want to simplify

SSH access management to your Compute Engine instances while maintaining audit compliance and eliminating as many manual steps as possible.

What should you do?

A
Configure a service account to add SSH keys for all VMs.
B
Configure metadata SSH keys to manage sudo access to instances.
C
Enable OS Login by using an organization policy for each Google Cloud project,
D
Enable OS Login with authentication for the domain.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 32

You want to deploy an application on Cloud Run that processes messages from a Cloud Pub/Sub topic. You want to follow Google-recommended practices. What should you do?

 

You want to deploy an application on Cloud Run that processes messages from a Cloud Pub/Sub topic. You want to follow Google-recommended practices. What should you do?

A
1. Create a Cloud Function that uses a Cloud Pub/Sub trigger on that topic. 2. Call your application on Cloud Run from the Cloud Function for every message.
B
1. Grant the Pub/Sub Subscriber role to the service account used by Cloud Run. 2. Create a Cloud Pub/Sub subscription for that topic. 3. Make your application pull messages from that subscription.
C
1. Create a service account. 2. Give the Cloud Run Invoker role to that service account for your Cloud Run application. 3. Create a Cloud Pub/Sub subscription that uses that service account and uses your Cloud Run application as the push endpoint.
D
1. Deploy your application on Cloud Run on GKE with the connectivity set to Internal. 2. Create a Cloud Pub/Sub subscription for that topic. 3. In the same Google Kubernetes Engine cluster as your application, deploy a container that takes the messages and sends them to your application.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 33

You are deploying an application to Google Kubernetes Engine (GKE) that needs to call an external third-party API. You need

to provide the external API vendor with a list of IP addresses for their firewall to allow traffic from your application. You want to follow Google-recommended practices and avoid any risk of interrupting traffic to the API due to IP address changes. What should you do?

A
Configure your GKE cluster with public nodes. Write a Cloud Run function that pulls the public IP addresses of each node in the cluster. Trigger the function to run every day with Cloud Scheduler. Send the list to the vendor by email every day.
B
Configure your GKE cluster with private nodes. Configure a Cloud NAT instance with dynamic IP addresses. Provide theseIP addresses to the vendor to be added to the allowlist.
C
Configure your GKE cluster with one node, and set the node to have a static external IP address. Ensure that the GKEcluster autoscaler is off. Send the external IP address of the node to the vendor to be added to the allowlist.
D
Configure your GKE cluster with private nodes. Configure a Cloud NAT instance with static IP addresses. Provide these IPaddresses to the vendor to be added to the allowlist.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 34

You need to deploy an application, which is packaged in a container image, in a new project. The application exposes an HTTP endpoint and receives very few requests per day. You want to minimize costs. What should you do?

A
Deploy the container on Cloud Run.
B
Deploy the container on Cloud Run on GKE.
C
Deploy the container on App Engine Flexible.
D
Deploy the container on Google Kubernetes Engine, with cluster autoscaling and horizontal pod autoscaling enabled.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 35

You are managing a web application that needs to read objects from a shared Cloud Storage bucket. You need to grant a

Cloud Run service access to objects in the existing bucket that are named with the site1-data/ prefix while ensuring that the Cloud Run service has access to new objects as they are uploaded. Your solution should require minimal work to implement and maintain.

What should you do?

A
Enable uniform bucket-level access and configure an IAM binding on the existing bucket. Grant the Cloud Run serviceidentity the roles/storage.objectViewer IAM role on the bucket with an IAM condition for objects with the site1- data/ prefix.
B
Enable fine-grained access control and configure the uploader to set a per object access control list for the Cloud Runservice identity to have the READER role when objects with the site1-data/ prefix are uploaded.
C
Create a new bucket to store only objects with the site1-data/ prefix. Grant the Cloud Run service identity theroles/storage.objectviewer IAM role on the bucket.
D
Create a new bucket to store only objects with the site1-data/ prefix. Grant the Cloud Run service Identity theroles/storage.objectviewer IAM role on the project.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 36

Your company has an existing GCP organization with hundreds of projects and a billing account. Your company recently acquired another company that also has hundreds of projects and its own billing account. You would like to consolidate all GCP costs of both GCP organizations onto a single invoice. You would like to consolidate all costs as of tomorrow. What should you do?

A
Link the acquired company’s projects to your company's billing account.
B
Configure the acquired company's billing account and your company's billing account to export the billing data into the same BigQuery dataset.
C
Migrate the acquired company’s projects into your company’s GCP organization. Link the migrated projects to your company's billing account.
D
Create a new GCP organization and a new billing account. Migrate the acquired company's projects and your company's projects into the new GCP organization and link the projects to the new billing account.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 37

You are migrating your on-premises workload to Google Cloud. Your company is implementing its Cloud Billing configuration

and requires access to a granular breakdown of its Google Cloud costs. You need to ensure that the Cloud Billing datasets are available in BigQuery so you can conduct a detailed analysis of costs. What should you do?

A
Enable Cloud Billing on the project, and link a Cloud Billing account. Then view the billing data table in the BigQueryDataset.
B
Enable the BigQuery API, and ensure that the BigQuery user IAM role is selected. Change the BigQuery dataset to select a data location.
C
Enable the Cloud Billing data export to Bigauery when you create a Cloud Billing account.
D
Create a Cloud Billing account. Enable the BigQuety Data Transfer Service API to export pricing data.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 38

You built an application on Google Cloud Platform that uses Cloud Spanner. Your support team needs to monitor the environment but should not have access to table data. You need a streamlined solution to grant the correct permissions to your support team, and you want to follow Google-recommended practices.

What should you do?

A
Add the support team group to the roles/monitoring.viewer role
B
Add the support team group to the roles/spanner.databaseUser role.
C
Add the support team group to the roles/spanner.databaseReader role.
D
Add the support team group to the roles/stackdriver.accounts.viewer role.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 39

You recently discovered an issue with your rolling update in Google Kubernetes Engine (GKE). You now need to roll back a

rolling update. What should you do?

A
Use the kubectl rollout restart command to revert the deployment.
B
Use the kubectl rollout undo command.
C
Delete the deployment.
D
Manually scale down the new Pods and scale up the old Pods.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 40

For analysis purposes, you need to send all the logs from all of your Compute Engine instances to a BigQuery dataset called platform-logs. You have already installed the Cloud logging agent on all the instances. You want to minimize cost. What should you do?

A
1. Give the BigQuery Data Editor role on the platform-logs dataset to the service accounts used by your instances. 2. Update your instances' metadata to add the following value: logs-destination: bq://platform-logs.
B
1. In Cloud Logging, create a logs export with a Cloud Pub/Sub topic called logs as a sink. 2. Create a Cloud Function that is triggered by messages in the logs topic. 3. Configure that Cloud Function to drop logs that are not from Compute Engine and to insert Compute Engine logs in the platform-logs dataset.
C
1. In Cloud Logging, create a filter to view only Compute Engine logs. 2. Click Create Export. 3. Choose BigQuery as Sink Service, and the platform-logs dataset as Sink Destination.
D
1. Create a Cloud Function that has the BigQuery User role on the platform-logs dataset. 2. Configure this Cloud Function to create a BigQuery Job that executes this query: INSERT INTO dataset.platform-logs (timestamp, log) SELECT timestamp, log FROM compute.logs WHERE timestamp > DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY) 3. Use Cloud Scheduler to trigger this Cloud Function once a day.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 41

You are managing a fleet of data storage solutions for your company on Google Cloud, including Bigtable, Cloud SQL,

Memory store, and Spanner. You need a single, unified view to monitor the health of all data storage solutions and identify any that are at risk for downtime. What should you do?

A
Use the terraform state list command in the directory used to deploy the data storage solutions,
B
In the Google Cloud Console, navigate to Database Center to find an overview of the data storage solutions.
C
In the Google Cloud Console, use Cloud Asset Inventory to see an overview of the data storage solutions.
D
Use Dataplex Universal Catalog to search the metadata of the data storage solutions to obtain the required Insights.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 42

You are using Deployment Manager to create a Google Kubernetes Engine cluster. Using the same Deployment Manager deployment, you also want to create a DaemonSet in the kube-system namespace of the cluster. You want a solution that uses the fewest possible services. What should you do?

A
Add the cluster’s API as a new Type Provider in Deployment Manager, and use the new type to create the DaemonSet.
B
Use the Deployment Manager Runtime Configurator to create a new Config resource that contains the DaemonSet definition.
C
With Deployment Manager, create a Compute Engine instance with a startup script that uses kubectl
D
In the cluster’s definition in Deployment Manager, add a metadata that has kube-system as key and the DaemonSet manifest as value.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 43

Your company's accounting department needs to run an overnight batch workload every day. You must implement a solution

that minimizes the cost to run this workload and automatically retries the batch if an execution fails. What should you do?

A
Develop a web application that listens for incoming requests, and deploy the application as a Cloud Run service. Use Cloud Scheduler to call the HTTP endpoint.
B
Develop an application that runs the batch workload, and deploy the application as a Google Kubernetes Engine (GKE)Cron Job.
C
Develop a web application that listens for incoming requests, and deploy the application as a Google Kubernetes Engine(GKE) Deployment. Use Cloud Scheduler to call the HTTP endpoint.
D
Develop an application that runs the batch workload, and deploy the application as a Cloud Run job. Use Cloud Schedulerto trigger the Job.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 44

You are building an application that will run in your data center. The application will use Google Cloud Platform (GCP) services like AutoML. You created a service account that has appropriate access to AutoML. You need to enable authentication to the APIs from your on-premises environment. What should you do?

A
Use service account credentials in your on-premises application.
B
Use gcloud to create a key file for the service account that has appropriate permissions.
C
Set up direct interconnect between your data center and Google Cloud Platform to enable authentication for your on-premises applications.
D
Go to the IAM & admin console, grant a user account permissions similar to the service account permissions, and use this user account for authentication from your data center.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 45

You manage an application that continuously writes logs to a Cloud Storage bucket. The logs are accessed frequently for the

first ten days and then accessed rarely after that. The logs must be retained for three months. You need to configure the Cloud Storage bucket in the most cost-effective way. What should you do?

A
Configure the default storage class as Standard. Create a lifecycle policy to transition the objects to Coldline storage afterten days, and delete the objects after three months.
B
Configure the default storage class as Nearline. Create a lifecycle policy to transition the objects to Archive storage after ten days, and delete the objects after three months.
C
Configure the default storage class as Standard. Create a lifecycle policy to transition the objects to Archive storage afterten days, and delete the objects after three months.
D
Enable Autoclass on the bucket. Create a lifecycle policy to delete the objects after three months.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 46

You are using Container Registry to centrally store your company’s container images in a separate project. In another project, you want to create a Google Kubernetes Engine (GKE) cluster. You want to ensure that Kubernetes can download images from Container Registry. What should you do?

A
In the project where the images are stored, grant the Storage Object Viewer IAM role to the service account used by the Kubernetes nodes.
B
When you create the GKE cluster, choose the Allow full access to all Cloud APIs option
C
Create a service account, and give it access to Cloud Storage. Create a P12 key for this service account and use it as an imagePullSecrets in Kubernetes.
D
Configure the ACLs on each image in Cloud Storage to give read-only access to the default Compute Engine service account.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 47

You are migrating your company's on-premises compute resources to Google Cloud. You need to deploy batch processing

jobs that run every night. The jobs require significant CPU and memory for several hours but can tolerate interruptions. You must ensure that the deployment is cost-effective. What should you do?

A
Containerize the batch processing jobs and deploy them on Compute Engine.
B
use Spot VMs on Compute Engine.
C
use the M1 machine series on Compute Engine.
D
Use custom machine types on Compute Engine.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 48

You deployed a new application inside your Google Kubernetes Engine cluster using the YAML file specified below.

You check the status of the deployed pods and notice that one of them is still in PENDING status:

You want to find out why the pod is stuck in pending status. What should you do?

A
Review details of the myapp-service Service object and check for error messages.
B
Review details of the myapp-deployment Deployment object and check for error messages.
C
Review details of myapp-deployment-58ddbbb995-lp86m Pod and check for warning messages.
D
View logs of the container in myapp-deployment-58ddbbb995-lp86m pod and check for warning messages.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 49

You are on a DevOps team responsible for deploying applications that share a standard architecture: a Cloud Run frontend, a Compute Engine backend, and a Cloud SQL database. You need to create a deployment strategy for 50 new applications, each requiring development, testing, QA, and production environments, Each development team will assign a tech lead to work with you on the deployment setup. You have to create a scalable deployment process that minimizes the number of errors. What should you do?

A
Create a Terraform module with an application template, and ask each tech lead to include the configuration for all theenvironments in the same Terraform root module.
B
Create a Terraform module with an application template, and create a single Cloud Storage bucket to store all the Terraformstates. Ask each tech lead to include the module as part of the application code, and use Cloud Build to deploy each application.
C
Collect deployment instructions from all tech leads in a shared document, and consolidate the instructions in a single scriptusing gcloud commands. Request that tech leads review the script, and execute the script on each environment.
D
Create a runbook with instructions for deploying applications using the Google Cloud console, Grant Identity and AccessManagement (IAM) permissions to each tech lead, and ask them to follow the steps in the runbook.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 50

You are setting up a Windows VM on Compute Engine and want to make sure you can log in to the VM via RDP. What should you do?

A
After the VM has been created, use your Google Account credentials to log in into the VM.
B
After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM.
C
When creating the VM, add metadata to the instance using β€˜windows-password’ as the key and a password as the value.
D
After the VM has been created, download the JSON private key for the default Compute Engine service account. Use the credentials in the JSON file to log in to the VM.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 51

You are managing your company's archival records that are stored in a Cloud Storage bucket using the Multi Regional storage class. These objects are rarely accessed after 90 days but must be retained indefinitely to meet regulatory compliance requirements. You need to implement a cost-effective process that automatically transitions these objects to the lowest-cost storage class suitable for long-term retention immediately after the 90-day period. What should you do?

A
Create an Object Lifecycle Management rule on the bucket that specifies the created Before condition set to 90 days agoand uses the Delete action to remove the objects.
B
Enable Object Versioning on the bucket, and create an Object Lifecycle Management rule that sets theDays Since Noncurrent Time condition to 90 days, transitioning noncurrent versions to Archive storage.
C
Create an Object Lifecycle Management rule on the bucket that specifies an age condition of 90 days and uses theSet storage Class action to transition the objects to Archive storage.
D
Create a nightly scheduled Cloud Run function that uses the Cloud Storage API to change the storage class of all objectsolder than 90 days to Archive storage.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 52

You want to configure an SSH connection to a single Compute Engine instance for users in the dev1 group. This instance is the only resource in this particular Google Cloud Platform project that the dev1 users should be able to connect to. What should you do?

A
Set metadata to enable-oslogin=true for the instance. Grant the dev1 group the
B
Set metadata to enable-oslogin=true for the instance. Set the service account to no service account for that instance. Direct them to use the Cloud Shell to ssh to that instance.
C
Enable block project wide keys for the instance. Generate an SSH key for each user in the dev1 group. Distribute the keys to dev1 users and direct them to use their third-party tools to connect.
D
Enable block project wide keys for the instance. Generate an SSH key and associate the key with that instance. Distribute the key to dev1 users and direct them to use their third-party tools to connect.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 53

You are managing Google Cloud infrastructure with Terraform. The Terraform configuration files are stored in a Git repository.

You need to implement a solution that enables multiple team members to work on the Terraform configurations concurrently without conflicts and ensures that sensitive values are not persisted to local machines. What should you do?

A
Configure a local backend in Terraform, and deploy all changes by using a shared account on a bastion server.
B
Configure a local backend in Terraform, and manually share the Terraform state file with team members after every change,
C
Configure a local backend in Terraform, and store the state file in a Git repository.
D
Configure a Cloud Storage backend in Terraform.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 54

You need to produce a list of the enabled Google Cloud Platform APIs for a GCP project using the gcloud command line in the Cloud Shell. The project name is my-project. What should you do?

A
Run gcloud projects list to get the project ID, and then run gcloud services list -- project <project ID>.
B
Run gcloud init to set the current project to my-project, and then run gcloud services list
C
Run gcloud info to view the account value, and then run gcloud services list --account
D
Run gcloud projects describe <project ID> to verify the project value, and then run gcloud services list --available.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 55

You are deploying an application to CloueRun. Your application requires the use ot an API that runs on Google Kubemeters

Engine (GKE). You need to ensure that your Cloud Run service can privately reach the API on GKE, and you want to allow Google recommended practices. What should you do?

A
Deploy an ingress resource on the GKE cluster to expose the API to the internet, Use Google Cloud Armor to fitter for IPaddresses that can connect to the API. On the Cloud Run service, configure the application to fetch its public IP addressand update the Google Cloud error policy on startup to allow this IP address to call the API on ports 80 and 443.
B
Create an egress firewall rule on the VPC to allow connections to 0.0.0.0/ on ports 80 and 443.
C
Create an Ingress firewall rule on VPC to allow connections from 0.0.0-C:O on pons 80 and 443.
D
Deploy an internal Application Load Balancer to expose the API on GKE to the VPC. Configure Cloud DNS me IPaddress of the internal Application Load Balancer, Deploy a Serverless VPC Access connector to allow the Cloud Runservice to call the API through the FODN on Cloud ONS.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 56

You are building a new version of an application hosted in an App Engine environment. You want to test the new version with 1% of users before you completely switch your application over to the new version. What should you do?

A
Deploy a new version of your application in Google Kubernetes Engine instead of App Engine and then use GCP Console to split traffic.
B
Deploy a new version of your application in a Compute Engine instance instead of App Engine and then use GCP Console to split traffic.
C
Deploy a new version as a separate app in App Engine. Then configure App Engine using GCP Console to split traffic between the two apps.
D
Deploy a new version of your application in App Engine. Then go to App Engine settings in GCP Console and split traffic between the current version and newly deployed versions accordingly.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 57

Your company Is adopting Google for administration purposes, you need to ensure that your company receives the

minimum number of invoices tor all Google Cloud resource usage. What should you do?

A
Create a Cloud Billing account or each user's projects, and use the same company Invoicing Information when creatingtheir account.
B
Instruct all users to create a Cloud Billing account for their projects, and use the same credit card when creating theiraccount.
C
instruct all users to create a Cloud Billing account tot their projects, and associate the account With the same Google Cloudorganization.
D
Create a single Cloud Billing account, and link all Google Cloud projects to this account Ensure other users do not have the Billing Account Creator IAM role,

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 58

You need to provide a cost estimate for a Kubernetes cluster using the GCP pricing calculator for Kubernetes. Your workload requires high IOPs, and you will also be using disk snapshots. You start by entering the number of nodes, average hours, and average days. What should you do next?

A
Fill in local SSD. Fill in persistent disk storage and snapshot storage.
B
Fill in local SSD. Add estimated cost for cluster management.
C
Select Add GPUs. Fill in persistent disk storage and snapshot storage.
D
Select Add GPUs. Add estimated cost for cluster management.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 59

Your company's Human Resources department publishes a Big Query dataset with anonymized information about company sales and products. All employees in your company are managed in the Cloud Identity account and must be able

to view this dataset as an authenticated user. You need to grant all employees in your company read-only access to this Big Query dataset. What should you do?

A
options/AssociateCloudEngineer_fb97becbdf.webp
B
options/AssociateCloudEngineer_e857c08959.webp
C
options/AssociateCloudEngineer_8c43f73d94.webp
D
options/AssociateCloudEngineer_faf9deecaa.webp

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 60

You are using Google Kubernetes Engine with autoscaling enabled to host a new application. You want to expose this new application to the public, using HTTPS on a public IP address. What should you do?

A
Create a Kubernetes Service of type NodePort for your application, and a Kubernetes Ingress to expose this Service via a Cloud Load Balancer.
B
Create a Kubernetes Service of type ClusterIP for your application. Configure the public DNS name of your application using the IP of this Service.
C
Create a Kubernetes Service of type NodePort to expose the application on port 443 of each node of the Kubernetes cluster. Configure the public DNS name of your application with the IP of every node of the cluster to achieve load-balancing.
D
Create a HAProxy pod in the cluster to load-balance the traffic to all the pods of the application. Forward the public traffic to HAProxy with an iptable rule. Configure the DNS name of your application using the public IP of the node HAProxy is running on.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 61

You have an application that reads data from a Pub/Sub topic. During local development, you authenticated using your personal credentials to test the application. You now want to deploy the application to Vertex Al and have created a new service account to be used as the application's identity. You need to ensure that the deployed application can still access the Pub/Sub topic.

What should you do?

A
Create a secret in Secret Manager to store your personal credentials, and configure the application's authentication code to use this secret.
B
Grant the relevant IAM roles to the service account used as your agent identity.
C
Extract your access token by using the gcloud p:int-access-zoken command, and store it with the application.
D
Generate a JSON private key for the service account, and upload the key as Vertex Al metadata.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 62

You need to enable traffic between multiple groups of Compute Engine instances that are currently running two different GCP projects. Each group of Compute Engine instances is running in its own VPC. What should you do?

A
Verify that both projects are in a GCP Organization. Create a new VPC and add all instances.
B
Verify that both projects are in a GCP Organization. Share the VPC from one project and request that the Compute Engine instances in the other project use this shared VPC.
C
Verify that you are the Project Administrator of both projects. Create two new VPCs and add all instances.
D
Verify that you are the Project Administrator of both projects. Create a new VPC and add all instances.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 63

You are creating an isolated Google Cloud environment for a new data science team. The team needs to experiment with

machine learning models in short-lived projects and requires full administrative access. All team members belong to the same group.

Your solution must restrict resource creation to the us-east: region and only allow the use of BigQuery and Cloud Storage. What should you do?

A
Create a new folder. Create an organization policy with constraints to restrict resource locations and allowed services, andapply it to the Grant the BigQuery Admin and Storage Admin IAM roles to the group at the folder level.
B
Create a new folder. Create an organization policy with constraints to restrict resource locations, and apply it to the folder.Grant the BigQuery Admin and Storage Admin IAM roles to the group at the folder level.
C
Create a new folder. Create an organization policy with constraints to restrict resource locations, and apply it to the folder.Grant the Owner IAM role to the group at the folder level.
D
Create a new folder. Create an organization policy with constraints to restrict resource locations and allowed services, andapply it to the folder. Grant the Owner IAM role to the group at the folder level.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 64

You want to add a new auditor to a Google Cloud Platform project. The auditor should be allowed to read, but not modify, all project items.

How should you configure the auditor's permissions?

A
Create a custom role with view-only project permissions. Add the user's account to the custom role.
B
Create a custom role with view-only service permissions. Add the user's account to the custom role.
C
Select the built-in IAM project Viewer role. Add the user's account to this role.
D
Select the built-in IAM service Viewer role. Add the user's account to this role.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 65

You are creating a Compute Engine virtual machine (VM) instance for a new application. Your organization's policy prohibits assigning external IP addresses to VM instances for security reasons. However, the application on the instance needs to access the internet to download necessary software updates and packages. What should you do?

A
Set up a VPC Network Peering connection between your VPC network and a VPC network with Internet access.
B
Assign an internal static IP address to the VM.
C
Configure Cloud NAT for the subnet that the VM is in.
D
Create a bastion host with an external IP address and use it to connect to the VM using SSH.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 66

You are operating a Google Kubernetes Engine (GKE) cluster for your company where different teams can run non-production workloads. Your Machine Learning (ML) team needs access to Nvidia Tesla P100 GPUs to train their models. You want to minimize effort and cost. What should you do?

A
Ask your ML team to add the β€œaccelerator: gpu” annotation to their pod specification.
B
Recreate all the nodes of the GKE cluster to enable GPUs on all of them.
C
Create your own Kubernetes cluster on top of Compute Engine with nodes that have GPUs. Dedicate this cluster to your ML team.
D
Add a new, GPU-enabled, node pool to the GKE cluster. Ask your ML team to add the cloud.google.com/gke -accelerator: nvidia-tesla-p100 nodeSelector to their pod specification.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 67

You have an application that is currently processing transactions by using a group of managed VM instances. You need to migrate the application so that it is serverless and scalable. You want to implement an asynchronous transaction processing system. while minimizing management overhead. What should you do?

A
Install Kafka on VM instances to acknowledge Incoming transactions. Use VM instances to process transactions.
B
Install Kafka on VM instances to acknowledge Incoming transactions. Use Cloud Run to process transactions.
C
Use Pub/Sub to acknowledge incoming transactions. Use VM instances to process transactions.
D
Use Pub/Sub to acknowledge incoming transactions. Use Cloud Run to process transactions

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 68

Your VMs are running in a subnet that has a subnet mask of 255.255.255.240. The current subnet has no more free IP addresses and you require an additional 10 IP addresses for new VMs. The existing and new VMs should all be able to reach each other without additional routes. What should you do?

A
Use gcloud to expand the IP range of the current subnet.
B
Delete the subnet, and recreate it using a wider range of IP addresses.
C
Create a new project. Use Shared VPC to share the current network with the new project.
D
Create a new subnet with the same starting IP but a wider range to overwrite the current subnet.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 69

You are developing a monitoring application that runs on a Google Kubernetes Engine (GKE) cluster. The application requires credentials from a service account to collect performance data. However, your organization has a policy that prohibits the creation of new service account keys. You need to grant the application access while following Google-recommended security practices. What should you do?

A
Configure Workload Identity Federation to allow the application to impersonate a service account.
B
Override the organization policy in the project, and create a long-lived service account key in the GKE cluster.
C
Create a new project, generate a service account key in the new project, and grant the service account the required IAM roles in the application project.
D
Use your personal user credentials to authenticate the application, ensuring your account has the necessary permissions.

Premium Solution Locked

Unlock all 350 answers & explanations

QUESTION 70

Your organization uses G Suite for communication and collaboration. All users in your organization have a G Suite account. You want to grant some G Suite users access to your Cloud Platform project. What should you do?

A
Enable Cloud Identity in the GCP Console for your domain.
B
Grant them the required IAM roles using their G Suite email address.
C
Create a CSV sheet with all users’ email addresses. Use the gcloud command line tool to convert them into Google Cloud Platform accounts.
D
In the G Suite console, add the users to a special group called cloud-console-<a href="mailto:users@yourdomain.com"> users@yourdomain.com. </a>Rely on the default behavior of the Cloud Platform to grant users access if they are members of this group.

Premium Solution Locked

Unlock all 350 answers & explanations

Full Question Bank Locked

You have reached the end of the free study guide preview. Upgrade now to unlock all 350 questions and the full simulation engine.

Customer Reviews

5 / 5
(15,000+ verified)
5
100%
4
0%
3
0%
2
0%
1
0%

Global Community Feedback

DM

David M.

Verified Student

"The practice engine is incredible. It feels exactly like the real testing environment and helped me build so much confidence."

SJ

Sarah J.

Premium Member

"The PDF is very well organized and the explanations for the answers are actually helpful, not just random text."

MC

Michael C.

Verified Buyer

"I was skeptical, but the content is high quality and definitely worth the price. I passed on my first try!"

Need Assistance?

Our expert support team is available to assist you with any inquiries about our exam materials.

Contact Support
Average response: < 24 Hours

Get Exam Updates

Subscribe to receive instant notifications on new questions and exclusive flash sales.

* Join 5,000+ students getting weekly updates

Support Chat ● Active Now

πŸ‘‹ Hi! How can we help you pass your exam?

Enter email to start chatting