DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Boost Your Performance in the Google Associate Cloud Engineer Exam with Practice Tests

SPOTO's exam preparation materials provide you with a simulated exam environment, allowing you to practice with realistic exam questions, study materials, and exam resources. This hands-on experience can help you identify your strengths and weaknesses, enabling you to focus your efforts on areas that need improvement. Preparing for the Google Associate Cloud Engineer certification exam can be a daunting task, but with the right resources, you can increase your chances of passing successfully. SPOTO offers a comprehensive set of exam questions and answers, test questions, and mock exams that can help you ace the exam. These exam questions are meticulously crafted to cover the entire exam syllabus, ensuring that you have a thorough understanding of the concepts and practical skills required for an Associate Cloud Engineer. An Associate Cloud Engineer deploys and secures applications and infrastructure, monitors operations of multiple projects, and maintains enterprise solutions to ensure that they meet target performance metrics. This individual has experience working with public clouds and on-premises solutions.
Take other online exams

Question #1
Your management has asked an external auditor to review all the resources in a specific project. The security team has enabled the Organization Policy called Domain Restricted Sharing on the organization node by specifying only your Cloud Identity domain. You want the auditor to only be able to view, but not modify, the resources in that project. What should you do?
A. sk the auditor for their Google account, and give them the Viewer role on the project
B. sk the auditor for their Google account, and give them the Security Reviewer role on the project
C. reate a temporary account for the auditor in Cloud Identity, and give that account the Viewer role on the project
D. reate a temporary account for the auditor in Cloud Identity, and give that account the Security Reviewer role on the project
View answer
Correct Answer: A
Question #2
You are managing several Google Cloud Platform (GCP) projects and need access to all logs for the past 60 days. You want to be able to explore and quickly analyze the log contents. You want to follow Google- recommended practices to obtain the combined logs for all projects. What should you do?
A. avigate to Stackdriver Logging and select resource
B. reate a Stackdriver Logging Export with a Sink destination to a BigQuery dataset
C. reate a Stackdriver Logging Export with a Sink destination to Cloud Storage
D. onfigure a Cloud Scheduler job to read from Stackdriver and store the logs in BigQuery
View answer
Correct Answer: B
Question #3
You need a dynamic way of provisioning VMs on Compute Engine. The exact specifications will be in a dedicated configuration file. You want to follow Google's recommended practices. Which method should you use?
A. eployment Manager
B. loud Composer
C. anaged Instance Group
D. nmanaged Instance Group
View answer
Correct Answer: C
Question #4
You need to set a budget alert for use of Compute Engineer services on one of the three Google Cloud Platform projects that you manage. All three projects are linked to a single billing account.What should you do?
A. erify that you are the project billing administrator
B. erify that you are the project billing administrator
C. erify that you are the project administrator
D. erify that you are project administrator
View answer
Correct Answer: B
Question #5
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 dat
A. ou need a streamlined solution to grant the correct permissions to your support team, and you want to follow Google-recommended practices
B. dd the support team group to the roles/monitoring
C. dd the support team group to the roles/spanner
D. dd the support team group to the roles/spanner
E. dd the support team group to the roles/stackdriver
View answer
Correct Answer: B
Question #6
You want to configure 10 Compute Engine instances for availability when maintenance occurs. Your requirements state that these instances should attempt to automatically restart if they crash. Also, the instances should be highly available including during system maintenance. What should you do?
A. reate an instance template for the instances
B. reate an instance template for the instances
C. reate an instance group for the instances
D. reate an instance group for the instance
View answer
Correct Answer: B
Question #7
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. fter the VM has been created, use your Google Account credentials to log in into the VM
B. fter the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM
C. hen creating the VM, add metadata to the instance using `windows-password' as the key and a password as the value
D. fter the VM has been created, download the JSON private key for the default Compute Engine service account
View answer
Correct Answer: D
Question #8
You have a Google Cloud Platform account with access to both production and development projects. You need to create an automated process to list all compute instances in development and production projects on a daily basis. What should you do?
A. reate two configurations using gcloud config
B. reate two configurations using gsutil config
C. o to Cloud Shell and export this information to Cloud Storage on a daily basis
D. o to GCP Console and export this information to Cloud SQL on a daily basis
View answer
Correct Answer: A
Question #9
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. erify that both projects are in a GCP Organization
B. erify that both projects are in a GCP Organization
C. erify that you are the Project Administrator of both projects
D. erify that you are the Project Administrator of both projects
View answer
Correct Answer: B
Question #10
You are configuring service accounts for an application that spans multiple projects. Virtual machines (VMs) running in the web-applications project need access to BigQuery datasets in crm-databases- proj. You want to follow Google-recommended practices to give access to the service account in the web-applications project. What should you do?
A. ive "project owner" for web-applications appropriate roles to crm-databases- proj
B. ive "project owner" role to crm-databases-proj and the web-applications project
C. ive "project owner" role to crm-databases-proj and bigquery
D. ive bigquery
View answer
Correct Answer: D
Question #11
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. reate a health check on port 443 and use that when creating the Managed Instance Group
B. elect Multi-Zone instead of Single-Zone when creating the Managed Instance Group
C. n the Instance Template, add the label `health-check'
D. n the Instance Template, add a startup script that sends a heartbeat to the metadata server
View answer
Correct Answer: C
Question #12
You want to select and configure a cost-effective solution for relational data on Google Cloud Platform. You are working with a small set of operational data in one geographic location. You need to support point-in-time recovery. What should you do?
A. elect Cloud SQL (MySQL)
B. elect Cloud SQL (MySQL)
C. elect Cloud Spanner
D. elect Cloud Spanner
View answer
Correct Answer: A
Question #13
You have one project called proj-sa where you manage all your service accounts. You want to be able to use a service account from this project to take snapshots of VMs running in another project called proj-vm. What should you do?
A. ownload the private key from the service account, and add it to each VMs custom metadata
B. ownload the private key from the service account, and add the private key to each VM's SSH keys
C. rant the service account the IAM Role of Compute Storage Admin in the project called proj-vm
D. hen creating the VMs, set the service account's API scope for Compute Engine to read/write
View answer
Correct Answer: C
Question #14
Your company uses Cloud Storage to store application backup files for disaster recovery purposes. You want to follow Google's recommended practices. Which storage option should you use?
A. ulti-Regional Storage
B. egional Storage
C. earline Storage
D. oldline Storage
View answer
Correct Answer: D
Question #15
You recently deployed a new version of an application to App Engine and then discovered a bug in the release. You need to immediately revert to the prior version of the application. What should you do?
A. un gcloud app restore
B. n the App Engine page of the GCP Console, select the application that needs to be reverted and click Revert
C. n the App Engine Versions page of the GCP Console, route 100% of the traffic to the previous version
D. eploy the original version as a separate application
View answer
Correct Answer: D
Question #16
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. reate a health check on port 443 and use that when creating the Managed Instance Group
B. elect Multi-Zone instead of Single-Zone when creating the Managed Instance Group
C. n the Instance Template, add the label `health-check'
D. n the Instance Template, add a startup script that sends a heartbeat to the metadata server
View answer
Correct Answer: C
Question #17
Your company's infrastructure is on-premises, but all machines are running at maximum capacity. You want to burst to Google Cloud. The workloads on Google Cloud must be able to directly communicate to the workloads on-premises using a private IP range. What should you do?
A. n Google Cloud, configure the VPC as a host for Shared VPC
B. n Google Cloud, configure the VPC for VPC Network Peering
C. reate bastion hosts both in your on-premises environment and on Google Cloud
D. et up Cloud VPN between the infrastructure on-premises and Google Cloud
View answer
Correct Answer: B
Question #18
You need to provide a cost estimate for a Kubernetes cluster using the GCP pricing calculator forKubernetes. 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. ill in local SSD
B. ill in local SSD
C. elect Add GPUs
D. elect Add GPUs
View answer
Correct Answer: C
Question #19
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. reate an export to the sink that saves logs from Cloud Audit to BigQuery
B. reate an export to the sink that saves logs from Cloud Audit to a Coldline Storage bucket
C. rite a custom script that uses logging API to copy the logs from Stackdriver logs to BigQuery
D. xport these logs to Cloud Pub/Sub and write a Cloud Dataflow pipeline to store logs to Cloud SQL
View answer
Correct Answer: A
Question #20
You are analyzing Google Cloud Platform service costs from three separate projects. You want to use this information to create service cost estimates by service type, daily and monthly, for the next six months using standard query syntax. What should you do?
A. xport your bill to a Cloud Storage bucket, and then import into Cloud Bigtable for analysis
B. xport your bill to a Cloud Storage bucket, and then import into Google Sheets for analysis
C. xport your transactions to a local file, and perform analysis with a desktop tool
D. xport your bill to a BigQuery dataset, and then write time window-based SQL queries for analysis
View answer
Correct Answer: D
Question #21
You have a Compute Engine instance hosting a production application. You want to receive an email if the instance consumes more than 90% of its CPU resources for more than 15 minutes. You want to use Google services. What should you do?
A.
B.
C.
D.
View answer
Correct Answer: D
Question #22
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. fter the VM has been created, use your Google Account credentials to log in into the VM
B. fter the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM
C. hen creating the VM, add metadata to the instance using `windows-password' as the key and a password as the value
D. fter the VM has been created, download the JSON private key for the default Compute Engine service account
View answer
Correct Answer: D
Question #23
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.
B.
C.
D.
View answer
Correct Answer: B
Question #24
You deployed an LDAP server on Compute Engine that is reachable via TLS through port 636 using UDP. You want to make sure it is reachable by clients over that port. What should you do?
A. dd the network tag allow-udp-636 to the VM instance running the LDAP server
B. reate a route called allow-udp-636 and set the next hop to be the VM instance running the LDAP server
C. dd a network tag of your choice to the instance
D. dd a network tag of your choice to the instance running the LDAP server
View answer
Correct Answer: C
Question #25
Your company has a single sign-on (SSO) identity provider that supports Security Assertion Markup Language (SAML) integration with service providers. Your company has users in Cloud Identity. You would like users to authenticate using your company's SSO provider. What should you do?
A. n Cloud Identity, set up SSO with Google as an identity provider to access custom SAML apps
B. n Cloud Identity, set up SSO with a third-party identity provider with Google as a service provider
C. btain OAuth 2
D. btain OAuth 2
View answer
Correct Answer: C
Question #26
You created an instance of SQL Server 2017 on Compute Engine to test features in the new version. You want to connect to this instance using the fewest number of steps. What should you do?
A. nstall a RDP client on your desktop
B. nstall a RDP client in your desktop
C. et a Windows password in the GCP Console
D. et a Windows username and password in the GCP Console
View answer
Correct Answer: B
Question #27
Your company is moving from an on-premises environment to Google Cloud Platform (GCP). You have multiple development teams that use Cassandra environments as backend databases. They all need a development environment that is isolated from other Cassandra instances. You want to move to GCP quickly and with minimal support effort. What should you do?
A.
B.
C.
D.
View answer
Correct Answer: D
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. reate a Cloud Memorystore for Redis instance with 32-GB capacity
B. un it on Compute Engine, and choose a custom instance type with 6 vCPUs and 32 GB of memory
C. ackage it in a container image, and run it on Kubernetes Engine, using n1-standard-32 instances as nodes
D. un it on Compute Engine, choose the instance type n1-standard-1, and add an SSD persistent disk of 32 GB
View answer
Correct Answer: B
Question #29
You need to assign a Cloud Identity and Access Management (Cloud IAM) role to an external auditor. The auditor needs to have permissions to review your Google Cloud Platform (GCP) Audit Logs and also to review your Data Access logs. What should you do?
A. ssign the auditor the IAM role roles/logging
B. ssign the auditor the IAM role roles/logging
C. ssign the auditor's IAM user to a custom role that has logging
D. ssign the auditor's IAM user to a custom role that has logging
View answer
Correct Answer: C
Question #30
You need to host an application on a Compute Engine instance in a project shared with other teams. You want to prevent the other teams from accidentally causing downtime on that application. Which feature should you use?
A. se a Shielded VM
B. se a Preemptible VM
C. se a sole-tenant node
D. nable deletion protection on the instance
View answer
Correct Answer: D
Question #31
You have an object in a Cloud Storage bucket that you want to share with an external company. The object contains sensitive dat
A. ou want access to the content to be removed after four hours
B. reate a signed URL with a four-hour expiration and share the URL with the company
C. et object access to `public' and use object lifecycle management to remove the object after four hours
D. onfigure the storage bucket as a static website and furnish the object's URL to the company
E. reate a new Cloud Storage bucket specifically for the external company to access
View answer
Correct Answer: A
Question #32
You are the project owner of a GCP project and want to delegate control to colleagues to manage buckets and files in Cloud Storage. You want to follow Google-recommended practices. Which IAM roles should you grant your colleagues?
A. roject Editor
B. torage Admin
C. torage Object Admin
D. torage Object Creator
View answer
Correct Answer: B
Question #33
You have sensitive data stored in three Cloud Storage buckets and have enabled data access logging.You want to verify activities for a particular user for these buckets, using the fewest possible steps. You need to verify the addition of metadata labels and which files have been viewed from those buckets. What should you do?
A. sing the GCP Console, filter the Activity log to view the information
B. sing the GCP Console, filter the Stackdriver log to view the information
C. iew the bucket in the Storage section of the GCP Console
D. reate a trace in Stackdriver to view the information
View answer
Correct Answer: A
Question #34
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 dat
A. ou need a streamlined solution to grant the correct permissions to your support team, and you want to follow Google-recommended practices
B. dd the support team group to the roles/monitoring
C. dd the support team group to the roles/spanner
D. dd the support team group to the roles/spanner
E. dd the support team group to the roles/stackdriver
View answer
Correct Answer: B
Question #35
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. loud SQL
B. loud Spanner
C. loud Firestore
D. loud Datastore
View answer
Correct Answer: D
Question #36
You have an application that looks for its licensing server on the IP 10.0.3.21. You need to deploy the licensing server on Compute Engine. You do not want to change the configuration of the application and want the application to be able to reach the licensing server. What should you do?
A. eserve the IP 10
B. eserve the IP 10
C. se the IP 10
D. tart the licensing server with an automatic ephemeral IP address, and then promote it to a static internal IP address
View answer
Correct Answer: A
Question #37
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 Stackdriver Logging agent on all the instances. You want to minimize cost. What should you do?
A.
B.
C.
D.
View answer
Correct Answer: C
Question #38
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. reate a single custom VPC with 2 subnets
B. reate a single custom VPC with 2 subnets
C. reate 2 custom VPCs, each with a single subnet
D. reate 2 custom VPCs, each with a single subnet
View answer
Correct Answer: A
Question #39
You have a workload running on Compute Engine that is critical to your business. You want to ensure that the data on the boot disk of this workload is backed up regularly. You need to be able to restore a backup as quickly as possible in case of disaster. You also want older backups to be cleaned automatically to save on cost. You want to follow Google-recommended practices. What should you do?
A. reate a Cloud Function to create an instance template
B. reate a snapshot schedule for the disk using the desired interval
C. reate a cron job to create a new disk from the disk using gcloud
D. reate a Cloud Task to create an image and export it to Cloud Storage
View answer
Correct Answer: B
Question #40
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. reate a Cloud Memorystore for Redis instance with 32-GB capacity
B. un it on Compute Engine, and choose a custom instance type with 6 vCPUs and 32 GB of memory
C. ackage it in a container image, and run it on Kubernetes Engine, using n1-standard-32 instances as nodes
D. un it on Compute Engine, choose the instance type n1-standard-1, and add an SSD persistent disk of 32 GB
View answer
Correct Answer: B
Question #41
You are migrating a production-critical on-premises application that requires 96 vCPUs to perform its task. You want to make sure the application runs in a similar environment on GCP. What should you do?
A. hen creating the VM, use machine type n1-standard-96
B. hen creating the VM, use Intel Skylake as the CPU platform
C. reate the VM using Compute Engine default settings
D. tart the VM using Compute Engine default settings, and adjust as you go based on Rightsizing Recommendations
View answer
Correct Answer: C
Question #42
You are running an application on multiple virtual machines within a managed instance group and have autoscaling enabled. The autoscaling policy is configured so that additional instances are added to the group if the CPU utilization of instances goes above 80%. VMs are added until the instance group reaches its maximum limit of five VMs or until CPU utilization of instances lowers to 80%. The initial delay for HTTP health checks against the instances is set to 30 seconds. The virtual machine instances take
A. et the maximum number of instances to 1
B. ecrease the maximum number of instances to 3
C. se a TCP health check instead of an HTTP health check
D. ncrease the initial delay of the HTTP health check to 200 seconds
View answer
Correct Answer: D
Question #43
Your company is moving from an on-premises environment to Google Cloud Platform (GCP). You have multiple development teams that use Cassandra environments as backend databases. They all need a development environment that is isolated from other Cassandra instances. You want to move to GCP quickly and with minimal support effort. What should you do?
A.
B.
C.
D.
View answer
Correct Answer: D
Question #44
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
B. 1
C. 1
D. 1
View answer
Correct Answer: C
Question #45
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. se gcloud to expand the IP range of the current subnet
B. elete the subnet, and recreate it using a wider range of IP addresses
C. reate a new project
D. reate a new subnet with the same starting IP but a wider range to overwrite the current subnet
View answer
Correct Answer: C
Question #46
You create a Deployment with 2 replicas in a Google Kubernetes Engine cluster that has a single preemptible node pool. After a few minutes, you use kubectl to examine the status of your Pod and observe that one of them is still in Pending status:What is the most likely cause?
A. he pending Pod's resource requests are too large to fit on a single node of the cluster
B. oo many Pods are already running in the cluster, and there are not enough resources left to schedule the pending Pod
C. he node pool is configured with a service account that does not have permission to pull the container image used by the pending Pod
D. he pending Pod was originally scheduled on a node that has been preempted between the creation of the Deployment and your verification of the Pods' status
View answer
Correct Answer: B
Question #47
Your company has a large quantity of unstructured data in different file formats. You want to perform ETL transformations on the dat
A. ou need to make the data accessible on Google Cloud so it can be processed by a Dataflow job
B. pload the data to BigQuery using the bq command line tool
C. pload the data to Cloud Storage using the gsutil command line tool
D. pload the data into Cloud SQL using the import function in the console
E. pload the data into Cloud Spanner using the import function in the console
View answer
Correct Answer: A
Question #48
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. dd the cluster's API as a new Type Provider in Deployment Manager, and use the new type to create the DaemonSet
B. se the Deployment Manager Runtime Configurator to create a new Config resource that contains the DaemonSet definition
C. ith Deployment Manager, create a Compute Engine instance with a startup script that uses kubectl to create the DaemonSet
D. n the cluster's definition in Deployment Manager, add a metadata that has kube-system as key and the DaemonSet manifest as value
View answer
Correct Answer: C
Question #49
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. sk your ML team to add the "accelerator: gpu" annotation to their pod specification
B. ecreate all the nodes of the GKE cluster to enable GPUs on all of them
C. reate your own Kubernetes cluster on top of Compute Engine with nodes that have GPUs
D. dd a new, GPU-enabled, node pool to the GKE cluster
View answer
Correct Answer: B
Question #50
Every employee of your company has a Google account. Your operational team needs to manage a large number of instances on Compute Engine. Each member of this team needs only administrative access to the servers. Your security team wants to ensure that the deployment of credentials is operationally efficient and must be able to determine who accessed a given instance. What should you do?
A. enerate a new SSH key pair
B. sk each member of the team to generate a new SSH key pair and to send you their public key
C. sk each member of the team to generate a new SSH key pair and to add the public key to their Google account
D. enerate a new SSH key pair
View answer
Correct Answer: C
Question #51
You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?
A. se kubectl app deploy
B. se gcloud app deploy
C. reate a docker image from the Dockerfile and upload it to Container Registry
D. reate a docker image from the Dockerfile and upload it to Cloud Storage
View answer
Correct Answer: C
Question #52
You have one project called proj-sa where you manage all your service accounts. You want to be able to use a service account from this project to take snapshots of VMs running in another project called proj-vm. What should you do?
A. ownload the private key from the service account, and add it to each VMs custom metadata
B. ownload the private key from the service account, and add the private key to each VM's SSH keys
C. rant the service account the IAM Role of Compute Storage Admin in the project called proj-vm
D. hen creating the VMs, set the service account's API scope for Compute Engine to read/write
View answer
Correct Answer: C
Question #53
You have sensitive data stored in three Cloud Storage buckets and have enabled data access logging.You want to verify activities for a particular user for these buckets, using the fewest possible steps. You need to verify the addition of metadata labels and which files have been viewed from those buckets. What should you do?
A. sing the GCP Console, filter the Activity log to view the information
B. sing the GCP Console, filter the Stackdriver log to view the information
C. iew the bucket in the Storage section of the GCP Console
D. reate a trace in Stackdriver to view the information
View answer
Correct Answer: A
Question #54
You need to host an application on a Compute Engine instance in a project shared with other teams. You want to prevent the other teams from accidentally causing downtime on that application. Which feature should you use?
A. se a Shielded VM
B. se a Preemptible VM
C. se a sole-tenant node
D. nable deletion protection on the instance
View answer
Correct Answer: D
Question #55
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.
B.
C.
D.
View answer
Correct Answer: A
Question #56
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. nable Cloud CDN on the website frontend
B. nable `Share publicly' on the PDF file objects
C. et Content-Type metadata to application/pdf on the PDF file objects
D. dd a label to the storage bucket with a key of Content-Type and value of application/pdf
View answer
Correct Answer: C
Question #57
You have successfully created a development environment in a project for an application. This application uses Compute Engine and Cloud SQL. Now, you need to create a production environment for this application.The security team has forbidden the existence of network routes between these 2 environments, and asks you to follow Google-recommended practices. What should you do?
A. reate a new project, enable the Compute Engine and Cloud SQL APIs in that project, and replicate the setup you have created in the development environment
B. reate a new production subnet in the existing VPC and a new production Cloud SQL instance in your existing project, and deploy your application using those resources
C. reate a new project, modify your existing VPC to be a Shared VPC, share that VPC with your new project, and replicate the setup you have in the development environment in that new project, in the Shared VP
D. sk the security team to grant you the Project Editor role in an existing production project used by another division of your company
View answer
Correct Answer: A
Question #58
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. erform a rolling-action start-update with maxSurge set to 0 and maxUnavailable set to 1
B. erform a rolling-action start-update with maxSurge set to 1 and maxUnavailable set to 0
C. reate a new managed instance group with an updated instance template
D. reate a new instance template with the new application version
View answer
Correct Answer: B
Question #59
You need to run an important query in BigQuery but expect it to return a lot of records. You want to find out how much it will cost to run the query. You are using on-demand pricing. What should you do?
A. rrange to switch to Flat-Rate pricing for this query, then move back to on-demand
B. se the command line to run a dry run query to estimate the number of bytes read
C. se the command line to run a dry run query to estimate the number of bytes returned
D. un a select count (*) to get an idea of how many records your query will look through
View answer
Correct Answer: B
Question #60
You want to select and configure a cost-effective solution for relational data on Google Cloud Platform. You are working with a small set of operational data in one geographic location. You need to support point-in-time recovery. What should you do?
A. elect Cloud SQL (MySQL)
B. elect Cloud SQL (MySQL)
C. elect Cloud Spanner
D. elect Cloud Spanner
View answer
Correct Answer: A
Question #61
You have an application that uses Cloud Spanner as a backend database. The application has a very predictable traffic pattern. You want to automatically scale up or down the number of Spanner nodes depending on traffic. What should you do?
A. reate a cron job that runs on a scheduled basis to review stackdriver monitoring metrics, and then resize the Spanner instance accordingly
B. reate a Stackdriver alerting policy to send an alert to oncall SRE emails when Cloud Spanner CPU exceeds the threshold
C. reate a Stackdriver alerting policy to send an alert to Google Cloud Support email when Cloud Spanner CPU exceeds your threshold
D. reate a Stackdriver alerting policy to send an alert to webhook when Cloud Spanner CPU is over or under your threshold
View answer
Correct Answer: D
Question #62
You need a dynamic way of provisioning VMs on Compute Engine. The exact specifications will be in a dedicated configuration file. You want to follow Google's recommended practices. Which method should you use?
A. eployment Manager
B. loud Composer
C. anaged Instance Group
D. nmanaged Instance Group
View answer
Correct Answer: C
Question #63
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. n the project where the images are stored, grant the Storage Object Viewer IAM role to the service account used by the Kubernetes nodes
B. hen you create the GKE cluster, choose the Allow full access to all Cloud APIs option under `Access scopes'
C. reate a service account, and give it access to Cloud Storage
D. onfigure the ACLs on each image in Cloud Storage to give read-only access to the default Compute Engine service account
View answer
Correct Answer: B
Question #64
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. nable Cloud CDN on the website frontend
B. nable `Share publicly' on the PDF file objects
C. et Content-Type metadata to application/pdf on the PDF file objects
D. dd a label to the storage bucket with a key of Content-Type and value of application/pdf
View answer
Correct Answer: C
Question #65
You need to monitor resources that are distributed over different projects in Google Cloud Platform. You want to consolidate reporting under the same Stackdriver Monitoring dashboard. What should you do?
A. se Shared VPC to connect all projects, and link Stackdriver to one of the projects
B. or each project, create a Stackdriver account
C. onfigure a single Stackdriver account, and link all projects to the same account
D. onfigure a single Stackdriver account for one of the projects
View answer
Correct Answer: D
Question #66
You create a new Google Kubernetes Engine (GKE) cluster and want to make sure that it always runs a supported and stable version of Kubernetes. What should you do?
A. nable the Node Auto-Repair feature for your GKE cluster
B. nable the Node Auto-Upgrades feature for your GKE cluster
C. elect the latest available cluster version for your GKE cluster
D. elect "Container-Optimized OS (cos)" as a node image for your GKE cluster
View answer
Correct Answer: B
Question #67
Your company's infrastructure is on-premises, but all machines are running at maximum capacity. You want to burst to Google Cloud. The workloads on Google Cloud must be able to directly communicate to the workloads on-premises using a private IP range. What should you do?
A. n Google Cloud, configure the VPC as a host for Shared VPC
B. n Google Cloud, configure the VPC for VPC Network Peering
C. reate bastion hosts both in your on-premises environment and on Google Cloud
D. et up Cloud VPN between the infrastructure on-premises and Google Cloud
View answer
Correct Answer: B
Question #68
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 Stackdriver Logging agent on all the instances. You want to minimize cost. What should you do?
A.
B.
C.
D.
View answer
Correct Answer: C
Question #69
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. ely on live migration to move the workload to a machine with more memory
B. se gcloud to add metadata to the VM
C. top the VM, change the machine type to n1-standard-8, and start the VM
D. top the VM, increase the memory to 8 GB, and start the VM
View answer
Correct Answer: D
Question #70
Several employees at your company have been creating projects with Cloud Platform and paying for it with their personal credit cards, which the company reimburses. The company wants to centralize all these projects under a single, new billing account. What should you do?
A. ontact cloud-billing@google
B. reate a ticket with Google Support and wait for their call to share your credit card details over the phone
C. n the Google Platform Console, go to the Resource Manage and move all projects to the root Organization
D. n the Google Cloud Platform Console, create a new billing account and set up a payment method
View answer
Correct Answer: D
Question #71
You need to host an application on a Compute Engine instance in a project shared with other teams. You want to prevent the other teams from accidentally causing downtime on that application. Which feature should you use?
A. se a Shielded VM
B. se a Preemptible VM
C. se a sole-tenant node
D. nable deletion protection on the instance
View answer
Correct Answer: D
Question #72
Your finance team wants to view the billing report for your projects. You want to make sure that the finance team does not get additional permissions to the project. What should you do?
A. dd the group for the finance team to roles/billing user role
B. dd the group for the finance team to roles/billing admin role
C. dd the group for the finance team to roles/billing viewer role
D. dd the group for the finance team to roles/billing project/Manager role
View answer
Correct Answer: A
Question #73
A team of data scientists infrequently needs to use a Google Kubernetes Engine (GKE) cluster that you manage. They require GPUs for some long-running, non-restartable jobs. You want to minimize cost. What should you do?
A. nable node auto-provisioning on the GKE cluster
B. reate a VerticalPodAutscaler for those workloads
C. reate a node pool with preemptible VMs and GPUs attached to those VMs
D. reate a node pool of instances with GPUs, and enable autoscaling on this node pool with a minimum size of 1
View answer
Correct Answer: C
Question #74
Your company uses Cloud Storage to store application backup files for disaster recovery purposes. You want to follow Google's recommended practices. Which storage option should you use?
A. ulti-Regional Storage
B. egional Storage
C. earline Storage
D. oldline Storage
View answer
Correct Answer: D
Question #75
Your managed instance group raised an alert stating that new instance creation has failed to create new instances. You need to maintain the number of running instances specified by the template to be able to process expected application traffic. What should you do?
A. reate an instance template that contains valid syntax which will be used by the instance group
B. reate an instance template that contains valid syntax that will be used by the instance group
C. erify that the instance template being used by the instance group contains valid syntax
D. elete the current instance template and replace it with a new instance template
View answer
Correct Answer: C
Question #76
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. reate a health check on port 443 and use that when creating the Managed Instance Group
B. elect Multi-Zone instead of Single-Zone when creating the Managed Instance Group
C. n the Instance Template, add the label `health-check'
D. n the Instance Template, add a startup script that sends a heartbeat to the metadata server
View answer
Correct Answer: C
Question #77
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. et metadata to enable-oslogin=true for the instance
B. et metadata to enable-oslogin=true for the instance
C. nable block project wide keys for the instance
D. nable block project wide keys for the instance
View answer
Correct Answer: D
Question #78
Your company has a large quantity of unstructured data in different file formats. You want to perform ETL transformations on the dat
A. ou need to make the data accessible on Google Cloud so it can be processed by a Dataflow job
B. pload the data to BigQuery using the bq command line tool
C. pload the data to Cloud Storage using the gsutil command line tool
D. pload the data into Cloud SQL using the import function in the console
E. pload the data into Cloud Spanner using the import function in the console
View answer
Correct Answer: A
Question #79
You need to configure IAM access audit logging in BigQuery for external auditors. You want to follow Google-recommended practices. What should you do?
A. dd the auditors group to the `logging
B. dd the auditors group to two new custom IAM roles
C. dd the auditor user accounts to the `logging
D. dd the auditor user accounts to two new custom IAM roles
View answer
Correct Answer: C
Question #80
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. loud SQL
B. loud Spanner
C. loud Firestore
D. loud Datastore
View answer
Correct Answer: D
Question #81
You are running an application on multiple virtual machines within a managed instance group and have autoscaling enabled. The autoscaling policy is configured so that additional instances are added to the group if the CPU utilization of instances goes above 80%. VMs are added until the instance group reaches its maximum limit of five VMs or until CPU utilization of instances lowers to 80%. The initial delay for HTTP health checks against the instances is set to 30 seconds. The virtual machine instances take
A. et the maximum number of instances to 1
B. ecrease the maximum number of instances to 3
C. se a TCP health check instead of an HTTP health check
D. ncrease the initial delay of the HTTP health check to 200 seconds
View answer
Correct Answer: D
Question #82
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. dd the cluster's API as a new Type Provider in Deployment Manager, and use the new type to create the DaemonSet
B. se the Deployment Manager Runtime Configurator to create a new Config resource that contains the DaemonSet definition
C. ith Deployment Manager, create a Compute Engine instance with a startup script that uses kubectl to create the DaemonSet
D. n the cluster's definition in Deployment Manager, add a metadata that has kube-system as key and the DaemonSet manifest as value
View answer
Correct Answer: C
Question #83
Your company is moving from an on-premises environment to Google Cloud Platform (GCP). You have multiple development teams that use Cassandra environments as backend databases. They all need a development environment that is isolated from other Cassandra instances. You want to move to GCP quickly and with minimal support effort. What should you do?
A.
B.
C.
D.
View answer
Correct Answer: D
Question #84
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. n the project where the images are stored, grant the Storage Object Viewer IAM role to the service account used by the Kubernetes nodes
B. hen you create the GKE cluster, choose the Allow full access to all Cloud APIs option under `Access scopes'
C. reate a service account, and give it access to Cloud Storage
D. onfigure the ACLs on each image in Cloud Storage to give read-only access to the default Compute Engine service account
View answer
Correct Answer: B
Question #85
You have a project for your App Engine application that serves a development environment. The required testing has succeeded and you want to create a new project to serve as your production environment. What should you do?
A. se gcloud to create the new project, and then deploy your application to the new project
B. se gcloud to create the new project and to copy the deployed application to the new project
C. reate a Deployment Manager configuration file that copies the current App Engine deployment into a new project
D. eploy your application again using gcloud and specify the project parameter with the new project name to create the new project
View answer
Correct Answer: C
Question #86
Your organization has strict requirements to control access to Google Cloud projects. You need to enable your Site Reliability Engineers (SREs) to approve requests from the Google Cloud support team when an SRE opens a support case. You want to follow Google-recommended practices. What should you do?
A. dd your SREs to roles/iam
B. dd your SREs to roles/accessapproval approver role
C. dd your SREs to a group and then add this group to roles/iam roleAdmin role
D. dd your SREs to a group and then add this group to roles/accessapproval approver role
View answer
Correct Answer: A
Question #87
You built an application on Google Cloud 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
B. Add the support team group to the roles/spanner
C. Add the support team group to the roles/spanner
D. Add the support team group to the roles/stackdriver
View answer
Correct Answer: B
Question #88
You have a large 5-TB AVRO file stored in a Cloud Storage bucket. Your analysts are proficient only in SQL and need access to the data stored in this file. You want to find a cost-effective way to complete their request as soon as possible. What should you do?
A. oad data in Cloud Datastore and run a SQL query against it
B. reate a BigQuery table and load data in BigQuery
C. reate external tables in BigQuery that point to Cloud Storage buckets and run a SQL query on these external tables to complete your request
D. reate a Hadoop cluster and copy the AVRO file to NDFS by compressing it
View answer
Correct Answer: C
Question #89
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 GKE with cluster autoscaling and horizontal pod autoscaling enabled
View answer
Correct Answer: B
Question #90
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. reate a Kubernetes Service of type NodePort for your application, and a Kubernetes Ingress to expose this Service via a Cloud Load Balancer
B. reate a Kubernetes Service of type ClusterIP for your application
C. reate a Kubernetes Service of type NodePort to expose the application on port 443 of each node of the Kubernetes cluster
D. reate a HAProxy pod in the cluster to load-balance the traffic to all the pods of the application
View answer
Correct Answer: A
Question #91
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. ssign the finance team only the Billing Account User role on the billing account
B. ssign the engineering team only the Billing Account User role on the billing account
C. ssign the finance team the Billing Account User role on the billing account and the Project Billing Manager role on the organization
D. ssign the engineering team the Billing Account User role on the billing account and the Project Billing Manager role on the organization
View answer
Correct Answer: D
Question #92
You have a development project with appropriate IAM roles defined. You are creating a production project and want to have the same IAM roles on the new project, using the fewest possible steps.What should you do?
A. se gcloud iam roles copy and specify the production project as the destination project
B. se gcloud iam roles copy and specify your organization as the destination organization
C. n the Google Cloud Platform Console, use the `create role from role' functionality
D. n the Google Cloud Platform Console, use the `create role' functionality and select all applicable permissions
View answer
Correct Answer: B
Question #93
Your organization has strict requirements to control access to Google Cloud projects. You need to enable your Site Reliability Engineers (SREs) to approve requests from the Google Cloud support team when an SRE opens a support case. You want to follow Google-recommended practices. What should you do?
A. dd your SREs to roles/iam
B. dd your SREs to roles/accessapproval approver role
C. dd your SREs to a group and then add this group to roles/iam roleAdmin role
D. dd your SREs to a group and then add this group to roles/accessapproval approver role
View answer
Correct Answer: A
Question #94
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.
B.
C.
D.
View answer
Correct Answer: D
Question #95
Your company uses BigQuery for data warehousing. Over time, many different business units in your company have created 1000+ datasets across hundreds of projects. Your CIO wants you to examine all datasets to find tables that contain an employee_ssn column. You want to minimize effort in performing this task. What should you do?
A. o to Data Catalog and search for employee_ssn in the search box
B. rite a shell script that uses the bq command line tool to loop through all the projects in your organization
C. rite a script that loops through all the projects in your organization and runs a query on INFORMATION_SCHEMA
D. rite a Cloud Dataflow job that loops through all the projects in your organization and runs a query on INFORMATION_SCHEMA
View answer
Correct Answer: D
Question #96
You need to monitor resources that are distributed over different projects in Google Cloud Platform. You want to consolidate reporting under the same Stackdriver Monitoring dashboard. What should you do?
A. se Shared VPC to connect all projects, and link Stackdriver to one of the projects
B. or each project, create a Stackdriver account
C. onfigure a single Stackdriver account, and link all projects to the same account
D. onfigure a single Stackdriver account for one of the projects
View answer
Correct Answer: D
Question #97
You are creating a Google Kubernetes Engine (GKE) cluster with a cluster autoscaler feature enabled. You need to make sure that each node of the cluster will run a monitoring pod that sends container metrics to a third-party monitoring solution. What should you do?
A. eploy the monitoring pod in a StatefulSet object
B. eploy the monitoring pod in a DaemonSet object
C. eference the monitoring pod in a Deployment object
D. eference the monitoring pod in a cluster initializer at the GKE cluster creation time
View answer
Correct Answer: B
Question #98
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:· Instances in tier #1 must communicate with tier #2.· Instances in tier #2 must communicate with tier #3.What should you do?
A.
B.
C.
D.
View answer
Correct Answer: B
Question #99
You need to set up permissions for a set of Compute Engine instances to enable them to write data into a particular Cloud Storage bucket. You want to follow Google-recommended practices. What should you do?
A. reate a service account with an access scope
B. reate a service account with an access scope
C. reate a service account and add it to the IAM role `storage
D. reate a service account and add it to the IAM role `storage
View answer
Correct Answer: B
Question #100
You significantly changed a complex Deployment Manager template and want to confirm that the dependencies of all defined resources are properly met before committing it to the project. You want the most rapid feedback on your changes. What should you do?
A. se granular logging statements within a Deployment Manager template authored in Python
B. onitor activity of the Deployment Manager execution on the Stackdriver Logging page of the GCP Console
C. xecute the Deployment Manager template against a separate project with the same configuration, and monitor for failures
D. xecute the Deployment Manager template using the \xad-preview option in the same project, and observe the state of interdependent resources
View answer
Correct Answer: D
Question #101
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.
B.
C.
D.
View answer
Correct Answer: D
Question #102
You've deployed a microservice called myapp1 to a Google Kubernetes Engine cluster using the YAML file specified below:You need to refactor this configuration so that the database password is not stored in plain text. You want to follow Google-recommended practices. What should you do?
A. tore the database password inside the Docker image of the container, not in the YAML file
B. tore the database password inside a Secret object
C. tore the database password inside a ConfigMap object
D. tore the database password in a file inside a Kubernetes persistent volume, and use a persistent volume claim to mount the volume to the container
View answer
Correct Answer: C
Question #103
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. reate a Kubernetes Service of type NodePort for your application, and a Kubernetes Ingress to expose this Service via a Cloud Load Balancer
B. reate a Kubernetes Service of type ClusterIP for your application
C. reate a Kubernetes Service of type NodePort to expose the application on port 443 of each node of the Kubernetes cluster
D. reate a HAProxy pod in the cluster to load-balance the traffic to all the pods of the application
View answer
Correct Answer: A
Question #104
You need to manage multiple Google Cloud Platform (GCP) projects in the fewest steps possible. You want to configure the Google Cloud SDK command line interface (CLI) so that you can easily manage multiple GCP projects. What should you?
A.
B.
C.
D.
View answer
Correct Answer: D
Question #105
You want to verify the IAM users and roles assigned within a GCP project named my-project. What should you do?
A. un gcloud iam roles list
B. un gcloud iam service-accounts list
C. avigate to the project and then to the IAM section in the GCP Console
D. avigate to the project and then to the Roles section in the GCP Console
View answer
Correct Answer: D
Question #106
You need to update a deployment in Deployment Manager without any resource downtime in the deployment. Which command should you use?
A. cloud deployment-manager deployments create --config
B. cloud deployment-manager deployments update --config
C. cloud deployment-manager resources create --config
D. cloud deployment-manager resources update --config
View answer
Correct Answer: B
Question #107
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
View answer
Correct Answer: C
Question #108
You want to configure a solution for archiving data in a Cloud Storage bucket. The solution must be cost-effective. Data with multiple versions should be archived after 30 days. Previous versions are accessed once a month for reporting. This archive data is also occasionally updated at month-end.What should you do?
A. dd a bucket lifecycle rule that archives data with newer versions after 30 days to Coldline Storage
B. dd a bucket lifecycle rule that archives data with newer versions after 30 days to Nearline Storage
C. dd a bucket lifecycle rule that archives data from regional storage after 30 days to ColdlineStorage
D. dd a bucket lifecycle rule that archives data from regional storage after 30 days to Nearline Storage
View answer
Correct Answer: B
Question #109
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. un gcloud projects list to get the project ID, and then run gcloud services list --project
B. un gcloud init to set the current project to my-project, and then run gcloud services list -- available
C. un gcloud info to view the account value, and then run gcloud services list --account
D. un gcloud projects describe to verify the project value, and then run gcloud services list --available
View answer
Correct Answer: A
Question #110
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.
B.
C.
D.
View answer
Correct Answer: D
Question #111
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. reate a custom role with view-only project permissions
B. reate a custom role with view-only service permissions
C. elect the built-in IAM project Viewer role
D. elect the built-in IAM service Viewer role
View answer
Correct Answer: C
Question #112
You are using multiple configurations for gcloud. You want to review the configured Kubernetes Engine cluster of an inactive configuration using the fewest possible steps. What should you do?
A. se gcloud config configurations describe to review the output
B. se gcloud config configurations activate and gcloud config list to review the output
C. se kubectl config get-contexts to review the output
D. se kubectl config use-context and kubectl config view to review the output
View answer
Correct Answer: D
Question #113
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. dd the cluster's API as a new Type Provider in Deployment Manager, and use the new type to create the DaemonSet
B. se the Deployment Manager Runtime Configurator to create a new Config resource that contains the DaemonSet definition
C. ith Deployment Manager, create a Compute Engine instance with a startup script that uses kubectl to create the DaemonSet
D. n the cluster's definition in Deployment Manager, add a metadata that has kube-system as key and the DaemonSet manifest as value
View answer
Correct Answer: C
Question #114
You are building a pipeline to process time-series dat
A. hich Google Cloud Platform services should you put in boxes 1,2,3, and 4?
B. loud Pub/Sub, Cloud Dataflow, Cloud Datastore, BigQuery
C. irebase Messages, Cloud Pub/Sub, Cloud Spanner, BigQuery
D. loud Pub/Sub, Cloud Storage, BigQuery, Cloud Bigtable
E. loud Pub/Sub, Cloud Dataflow, Cloud Bigtable, BigQuery
View answer
Correct Answer: D
Question #115
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. eview details of the myapp-service Service object and check for error messages
B. eview details of the myapp-deployment Deployment object and check for error messages
C. eview details of myapp-deployment-58ddbbb995-lp86m Pod and check for warning messages
D. iew logs of the container in myapp-deployment-58ddbbb995-lp86m pod and check for warning messages
View answer
Correct Answer: C
Question #116
You have a workload running on Compute Engine that is critical to your business. You want to ensure that the data on the boot disk of this workload is backed up regularly. You need to be able to restore a backup as quickly as possible in case of disaster. You also want older backups to be cleaned automatically to save on cost. You want to follow Google-recommended practices. What should you do?
A. reate a Cloud Function to create an instance template
B. reate a snapshot schedule for the disk using the desired interval
C. reate a cron job to create a new disk from the disk using gcloud
D. reate a Cloud Task to create an image and export it to Cloud Storage
View answer
Correct Answer: B
Question #117
You have sensitive data stored in three Cloud Storage buckets and have enabled data access logging.You want to verify activities for a particular user for these buckets, using the fewest possible steps. You need to verify the addition of metadata labels and which files have been viewed from those buckets. What should you do?
A. sing the GCP Console, filter the Activity log to view the information
B. sing the GCP Console, filter the Stackdriver log to view the information
C. iew the bucket in the Storage section of the GCP Console
D. reate a trace in Stackdriver to view the information
View answer
Correct Answer: A
Question #118
You want to select and configure a solution for storing and archiving data on Google Cloud Platform. You need to support compliance objectives for data from one geographic location. This data is archived after 30 days and needs to be accessed annually. What should you do?
A. elect Multi-Regional Storage
B. elect Multi-Regional Storage
C. elect Regional Storage
D. elect Regional Storage
View answer
Correct Answer: C
Question #119
You need to update a deployment in Deployment Manager without any resource downtime in the deployment. Which command should you use?
A. cloud deployment-manager deployments create --config
B. cloud deployment-manager deployments update --config
C. cloud deployment-manager resources create --config
D. cloud deployment-manager resources update --config
View answer
Correct Answer: B
Question #120
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. se service account credentials in your on-premises application
B. se gcloud to create a key file for the service account that has appropriate permissions
C. et up direct interconnect between your data center and Google Cloud Platform to enable authentication for your on-premises applications
D. o 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
View answer
Correct Answer: B
Question #121
You have a Compute Engine instance hosting a production application. You want to receive an email if the instance consumes more than 90% of its CPU resources for more than 15 minutes. You want to use Google services. What should you do?
A.
B.
C.
D.
View answer
Correct Answer: D
Question #122
Your finance team wants to view the billing report for your projects. You want to make sure that the finance team does not get additional permissions to the project. What should you do?
A. dd the group for the finance team to roles/billing user role
B. dd the group for the finance team to roles/billing admin role
C. dd the group for the finance team to roles/billing viewer role
D. dd the group for the finance team to roles/billing project/Manager role
View answer
Correct Answer: A
Question #123
You are deploying an application to App Engine. You want the number of instances to scale based on request rate. You need at least 3 unoccupied instances at all times. Which scaling type should you use?
A. anual Scaling with 3 instances
B. asic Scaling with min_instances set to 3
C. asic Scaling with max_instances set to 3
D. utomatic Scaling with min_idle_instances set to 3
View answer
Correct Answer: D
Question #124
Your organization has a dedicated person who creates and manages all service accounts for Google Cloud projects. You need to assign this person the minimum role for projects. What should you do?
A. dd the user to roles/iam
B. dd the user to roles/iam
C. dd the user to roles/iam
D. dd the user to roles/iam
View answer
Correct Answer: C
Question #125
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. loud SQL
B. loud Spanner
C. loud Firestore
D. loud Datastore
View answer
Correct Answer: D
Question #126
You need to monitor resources that are distributed over different projects in Google Cloud Platform. You want to consolidate reporting under the same Stackdriver Monitoring dashboard. What should you do?
A. se Shared VPC to connect all projects, and link Stackdriver to one of the projects
B. or each project, create a Stackdriver account
C. onfigure a single Stackdriver account, and link all projects to the same account
D. onfigure a single Stackdriver account for one of the projects
View answer
Correct Answer: D
Question #127
An employee was terminated, but their access to Google Cloud Platform (GCP) was not removed until 2 weeks later. You need to find out this employee accessed any sensitive customer information after their termination. What should you do?
A. iew System Event Logs in Stackdriver
B. iew System Event Logs in Stackdriver
C. iew Data Access audit logs in Stackdriver
D. iew the Admin Activity log in Stackdriver
View answer
Correct Answer: B
Question #128
You have a single binary application that you want to run on Google Cloud Platform. You decided to automatically scale the application based on underlying infrastructure CPU usage. Your organizational policies require you to use virtual machines directly. You need to ensure that the application scaling is operationally efficient and completed as quickly as possible. What should you do?
A. reate a Google Kubernetes Engine cluster, and use horizontal pod autoscaling to scale the application
B. reate an instance template, and use the template in a managed instance group with autoscaling configured
C. reate an instance template, and use the template in a managed instance group that scales up and down based on the time of day
D. se a set of third-party tools to build automation around scaling the application up and down, based on Stackdriver CPU usage monitoring
View answer
Correct Answer: A
Question #129
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 Stackdriver Logging agent on all the instances. You want to minimize cost. What should you do?
A.
B.
C.
D.
View answer
Correct Answer: C
Question #130
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. et metadata to enable-oslogin=true for the instance
B. et metadata to enable-oslogin=true for the instance
C. nable block project wide keys for the instance
D. nable block project wide keys for the instance
View answer
Correct Answer: D
Question #131
You have a Linux VM that must connect to Cloud SQL. You created a service account with the appropriate access rights. You want to make sure that the VM uses this service account instead of the default Compute Engine service account. What should you do?
A. hen creating the VM via the web console, specify the service account under the `Identity and API Access' section
B. ownload a JSON Private Key for the service account
C. ownload a JSON Private Key for the service account
D. ownload a JSON Private Key for the service account
View answer
Correct Answer: A
Question #132
An employee was terminated, but their access to Google Cloud Platform (GCP) was not removed until 2 weeks later. You need to find out this employee accessed any sensitive customer information after their termination. What should you do?
A. iew System Event Logs in Stackdriver
B. iew System Event Logs in Stackdriver
C. iew Data Access audit logs in Stackdriver
D. iew the Admin Activity log in Stackdriver
View answer
Correct Answer: B

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number: