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

Latest Google Associate Cloud Engineer Exam Questions for Comprehensive Preparation

SPOTO offers a comprehensive range of exam preparation resources for various IT certifications, including the Cisco 300-415 ENSDWI exam and the Google Associate Cloud Engineer certification. Aspiring candidates can benefit greatly from SPOTO's exam questions and answers, test questions, study materials, and mock exams. Specifically focusing on the Google Associate Cloud Engineer exam, SPOTO provides a structured approach to mastering key concepts and skills required for deploying and securing applications, monitoring operations, and maintaining enterprise solutions on Google Cloud. With access to SPOTO's exam resources, candidates can confidently prepare for the exam and increase their chances of passing successfully. Whether it's navigating the Google Cloud console or utilizing command-line interfaces, SPOTO's study materials are designed to enhance proficiency and readiness for real-world scenarios in cloud computing.
Take other online exams

Question #1
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. nable Cloud Identity in the GCP Console for your domain
B. rant them the required IAM roles using their G Suite email address
C. reate a CSV sheet with all users' email addresses
D. n the G Suite console, add the users to a special group called cloud-console- users@yourdomain
View answer
Correct Answer: B
Question #2
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 #3
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 #4
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 #5
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 #6
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 #7
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 #8
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 #9
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. eploy the new version in the same application and use the --migrate option
B. eploy 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. reate a new App Engine application in the same project
D. reate a new App Engine application in the same project
View answer
Correct Answer: B
Question #10
You need to create a new billing account and then link it with an existing Google Cloud Platform project. What should you do?
A. erify that you are Project Billing Manager for the GCP project
B. erify that you are Project Billing Manager for the GCP project
C. erify that you are Billing Administrator for the billing account
D. erify that you are Billing Administrator for the billing account
View answer
Correct Answer: C
Question #11
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 #12
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 #13
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 #14
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 #15
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 #16
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 #17
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 #18
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 #19
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 #20
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
View answer
Correct Answer: B
Question #21
You created a Google Cloud Platform project with an App Engine application inside the project. You initially configured the application to be served from the us-central region. Now you want the application to be served from the asia-northeast1 region. What should you do?
A. hange the default region property setting in the existing GCP project to asia-northeast1
B. hange the region property setting in the existing App Engine application from us-central to asia- northeast1
C. reate a second App Engine application in the existing GCP project and specify asia-northeast1 as the region to serve your application
D. reate a new GCP project and create an App Engine application inside this new project
View answer
Correct Answer: C
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'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 #24
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 #25
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 #26
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 #27
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 #28
Your company set up a complex organizational structure on Google Could Platform. The structure includes hundreds of folders and projects. Only a few team members should be able to view the hierarchical structure. You need to assign minimum permissions to these team members and you want to follow Google-recommended practices. What should you do?
A. dd the users to roles/browser role
B. dd the users to roles/iam
C. dd the users to a group, and add this group to roles/browser role
D. dd the users to a group, and add this group to roles/iam
View answer
Correct Answer: C
Question #29
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 #30
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 #31
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 #32
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 #33
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 #34
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 #35
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. eploy the container on Cloud Run
B. eploy the container on Cloud Run on GKE
C. eploy the container on App Engine Flexible
D. eploy the container on Google Kubernetes Engine, with cluster autoscaling and horizontal pod autoscaling enabled
View answer
Correct Answer: A
Question #36
Your development team needs a new Jenkins server for their project. You need to deploy the server using the fewest steps possible. What should you do?
A. ownload and deploy the Jenkins Java WAR to App Engine Standard
B. reate a new Compute Engine instance and install Jenkins through the command line interface
C. reate a Kubernetes cluster on Compute Engine and create a deployment with the Jenkins Docker image
D. se GCP Marketplace to launch the Jenkins solution
View answer
Correct Answer: D
Question #37
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. eploy the new version in the same application and use the --migrate option
B. eploy 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. reate a new App Engine application in the same project
D. reate a new App Engine application in the same project
View answer
Correct Answer: B
Question #38
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 #39
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 #40
You need to create a custom VPC with a single subnet. The subnet's range must be as large as possible. Which range should you use?
A.
B. 0
C. 72
D. 92
View answer
Correct Answer: B
Question #41
You want to configure autohealing for network load balancing for a group of Compute Engine instances that run in multiple zones, using the fewest possible steps. You need to configure re- creation of VMs if they are unresponsive after 3 attempts of 10 seconds each. What should you do?
A. reate an HTTP load balancer with a backend configuration that references an existing instance group
B. reate an HTTP load balancer with a backend configuration that references an existing instance group
C. reate a managed instance group
D. reate a managed instance group
View answer
Correct Answer: A
Question #42
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. nable Cloud Identity in the GCP Console for your domain
B. rant them the required IAM roles using their G Suite email address
C. reate a CSV sheet with all users' email addresses
D. n the G Suite console, add the users to a special group called cloud-console- users@yourdomain
View answer
Correct Answer: B
Question #43
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 #44
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 #45
You need to select and configure compute resources for a set of batch processing jobs. These jobs take around 2 hours to complete and are run nightly. You want to minimize service costs. What should you do?
A. elect Google Kubernetes Engine
B. elect Google Kubernetes Engine
C. elect Compute Engine
D. elect Compute Engine
View answer
Correct Answer: C
Question #46
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 #47
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.
B.
C.
D.
View answer
Correct Answer: D
Question #48
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 #49
You are building an archival solution for your data warehouse and have selected Cloud Storage to archive your dat
A. our users need to be able to access this archived data once a quarter for some regulatory requirements
B. old Storage
C. earline Storage
D. egional Storage
E. ulti-Regional Storage
View answer
Correct Answer: B
Question #50
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 #51
Your organization has user identities in Active Directory. Your organization wants to use Active Directory as their source of truth for identities. Your organization wants to have full control over the Google accounts used by employees for all Google services, including your Google Cloud Platform (GCP) organization. What should you do?
A. se Google Cloud Directory Sync (GCDS) to synchronize users into Cloud Identity
B. se the cloud Identity APIs and write a script to synchronize users to Cloud Identity
C. xport users from Active Directory as a CSV and import them to Cloud Identity via the Admin Console
D. sk each employee to create a Google account using self signup
View answer
Correct Answer: A
Question #52
You have a developer laptop with the Cloud SDK installed on Ubuntu. The Cloud SDK was installed from the Google Cloud Ubuntu package repository. You want to test your application locally on your laptop with Cloud Datastore. What should you do?
A. xport Cloud Datastore data using gcloud datastore export
B. reate a Cloud Datastore index using gcloud datastore indexes create
C. nstall the google-cloud-sdk-datastore-emulator component using the apt get install command
D. nstall the cloud-datastore-emulator component using the gcloud components install command
View answer
Correct Answer: D
Question #53
Your company set up a complex organizational structure on Google Could Platform. The structure includes hundreds of folders and projects. Only a few team members should be able to view the hierarchical structure. You need to assign minimum permissions to these team members and you want to follow Google-recommended practices. What should you do?
A. dd the users to roles/browser role
B. dd the users to roles/iam
C. dd the users to a group, and add this group to roles/browser role
D. dd the users to a group, and add this group to roles/iam
View answer
Correct Answer: C
Question #54
You are building a product on top of Google Kubernetes Engine (GKE). You have a single GKE cluster.For each of your customers, a Pod is running in that cluster, and your customers can run arbitrary code inside their Pod. You want to maximize the isolation between your customers' Pods. What should you do?
A. se Binary Authorization and whitelist only the container images used by your customers' Pods
B. se the Container Analysis API to detect vulnerabilities in the containers used by your customers' Pods
C. reate a GKE node pool with a sandbox type configured to gvisor
D. se the cos_containerd image for your GKE nodes
View answer
Correct Answer: C
Question #55
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 #56
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 #57
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. ink the acquired company's projects to your company's billing account
B. onfigure the acquired company's billing account and your company's billing account to export the billing data into the same BigQuery dataset
C. igrate the acquired company's projects into your company's GCP organization
D. reate a new GCP organization and a new billing account
View answer
Correct Answer: D
Question #58
You have an instance group that you want to load balance. You want the load balancer to terminate the client SSL session. The instance group is used to serve a public web application over HTTPS. You want to follow Google-recommended practices. What should you do?
A. onfigure an HTTP(S) load balancer
B. onfigure an internal TCP load balancer
C. onfigure an external SSL proxy load balancer
D. onfigure an external TCP proxy load balancer
View answer
Correct Answer: A
Question #59
Your customer has implemented a solution that uses Cloud Spanner and notices some read latency- related performance issues on one table. This table is accessed only by their users using a primary key. The table schema is shown below.You want to resolve the issue. What should you do?
A. ption A
B. ption B
C. ption C
D. ption D
View answer
Correct Answer: D
Question #60
You need to create a custom VPC with a single subnet. The subnet's range must be as large as possible. Which range should you use?
A.
B. 0
C. 72
D. 92
View answer
Correct Answer: B
Question #61
You need to create a new billing account and then link it with an existing Google Cloud Platform project. What should you do?
A. erify that you are Project Billing Manager for the GCP project
B. erify that you are Project Billing Manager for the GCP project
C. erify that you are Billing Administrator for the billing account
D. erify that you are Billing Administrator for the billing account
View answer
Correct Answer: C
Question #62
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 #63
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 #64
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 #65
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 #66
You need to set up a policy so that videos stored in a specific Cloud Storage Regional bucket are moved to Coldline after 90 days, and then deleted after one year from their creation. How should you set up the policy?
A. se Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions
B. se Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass andDelete actions
C. se gsutil rewrite and set the Delete action to 275 days (365-90)
D. se gsutil rewrite and set the Delete action to 365 days
View answer
Correct Answer: A
Question #67
You need to grant access for three users so that they can view and edit table data on a Cloud Spanner instance. What should you do?
A. un gcloud iam roles describe roles/spanner
B. un gcloud iam roles describe roles/spanner
C. un gcloud iam roles describe roles/spanner
D. un gcloud iam roles describe roles/spanner
View answer
Correct Answer: A
Question #68
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 #69
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 #70
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 #71
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 #72
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: D
Question #73
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 #74
You are building an archival solution for your data warehouse and have selected Cloud Storage to archive your dat
A. our users need to be able to access this archived data once a quarter for some regulatory requirements
B. old Storage
C. earline Storage
D. egional Storage
E. ulti-Regional Storage
View answer
Correct Answer: B
Question #75
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 #76
You have 32 GB of data in a single file that you need to upload to a Nearline Storage bucket. The WAN connection you are using is rated at 1 Gbps, and you are the only one on the connection. You want to use as much of the rated 1 Gbps as possible to transfer the file rapidly. How should you upload the file?
A. se the GCP Console to transfer the file instead of gsutil
B. nable parallel composite uploads using gsutil on the file transfer
C. ecrease the TCP window size on the machine initiating the transfer
D. hange the storage class of the bucket from Nearline to Multi-Regional
View answer
Correct Answer: B
Question #77
You need to verify that a Google Cloud Platform service account was created at a particular time.What should you do?
A. ilter the Activity log to view the Configuration category
B. ilter the Activity log to view the Configuration category
C. ilter the Activity log to view the Data Access category
D. ilter the Activity log to view the Data Access category
View answer
Correct Answer: D
Question #78
You need to create a custom IAM role for use with a GCP service. All permissions in the role must be suitable for production use. You also want to clearly share with your organization the status of the custom role. This will be the first version of the custom role. What should you do?
A. se permissions in your role that use the `supported' support level for role permissions
B. se permissions in your role that use the `supported' support level for role permissions
C. se permissions in your role that use the `testing' support level for role permissions
D. se permissions in your role that use the `testing' support level for role permissions
View answer
Correct Answer: C
Question #79
You are building a product on top of Google Kubernetes Engine (GKE). You have a single GKE cluster.For each of your customers, a Pod is running in that cluster, and your customers can run arbitrary code inside their Pod. You want to maximize the isolation between your customers' Pods. What should you do?
A. se Binary Authorization and whitelist only the container images used by your customers' Pods
B. se the Container Analysis API to detect vulnerabilities in the containers used by your customers' Pods
C. reate a GKE node pool with a sandbox type configured to gvisor
D. se the cos_containerd image for your GKE nodes
View answer
Correct Answer: C
Question #80
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 #81
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.
B.
C.
D.
View answer
Correct Answer: D
Question #82
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 #83
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 #84
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 #85
You need to create a custom VPC with a single subnet. The subnet's range must be as large as possible. Which range should you use?
A.
B. 0
C. 72
D. 92
View answer
Correct Answer: A
Question #86
You need to grant access for three users so that they can view and edit table data on a Cloud Spanner instance. What should you do?
A. un gcloud iam roles describe roles/spanner
B. un gcloud iam roles describe roles/spanner
C. un gcloud iam roles describe roles/spanner
D. un gcloud iam roles describe roles/spanner
View answer
Correct Answer: A
Question #87
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 #88
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 #89
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 #90
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
D. Create a new GCP organization and a new billing account
View answer
Correct Answer: D
Question #91
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. nable Cloud Identity in the GCP Console for your domain
B. rant them the required IAM roles using their G Suite email address
C. reate a CSV sheet with all users' email addresses
D. n the G Suite console, add the users to a special group called cloud-console- users@yourdomain
View answer
Correct Answer: B
Question #92
You need to set up a policy so that videos stored in a specific Cloud Storage Regional bucket are moved to Coldline after 90 days, and then deleted after one year from their creation. How should you set up the policy?
A. se Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions
B. se Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass andDelete actions
C. se gsutil rewrite and set the Delete action to 275 days (365-90)
D. se gsutil rewrite and set the Delete action to 365 days
View answer
Correct Answer: A
Question #93
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 #94
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 #95
You want to find out when users were added to Cloud Spanner Identity Access Management (IAM) roles on your Google Cloud Platform (GCP) project. What should you do in the GCP Console?
A. pen the Cloud Spanner console to review configurations
B. pen the IAM & admin console to review IAM policies for Cloud Spanner roles
C. o to the Stackdriver Monitoring console and review information for Cloud Spanner
D. o to the Stackdriver Logging console, review admin activity logs, and filter them for Cloud Spanner IAM roles
View answer
Correct Answer: B
Question #96
You are deploying an application to a Compute Engine VM in a managed instance group. The application must be running at all times, but only a single instance of the VM should run per GCP project. How should you configure the instance group?
A. et autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 1
B. et autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 1
C. et autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 2
D. et autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 2
View answer
Correct Answer: A
Question #97
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 #98
Your organization needs to grant users access to query datasets in BigQuery but prevent them from accidentally deleting the datasets. You want a solution that follows Google-recommended practices.What should you do?
A. dd users to roles/bigquery user role only, instead of roles/bigquery dataOwner
B. dd users to roles/bigquery dataEditor role only, instead of roles/bigquery dataOwner
C. reate a custom role by removing delete permissions, and add users to that role only
D. reate a custom role by removing delete permissions
View answer
Correct Answer: B
Question #99
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 #100
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 #101
You have a developer laptop with the Cloud SDK installed on Ubuntu. The Cloud SDK was installed from the Google Cloud Ubuntu package repository. You want to test your application locally on your laptop with Cloud Datastore. What should you do?
A. xport Cloud Datastore data using gcloud datastore export
B. reate a Cloud Datastore index using gcloud datastore indexes create
C. nstall the google-cloud-sdk-datastore-emulator component using the apt get install command
D. nstall the cloud-datastore-emulator component using the gcloud components install command
View answer
Correct Answer: D
Question #102
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 #103
You have an instance group that you want to load balance. You want the load balancer to terminate the client SSL session. The instance group is used to serve a public web application over HTTPS. You want to follow Google-recommended practices. What should you do?
A. onfigure an HTTP(S) load balancer
B. onfigure an internal TCP load balancer
C. onfigure an external SSL proxy load balancer
D. onfigure an external TCP proxy load balancer
View answer
Correct Answer: A
Question #104
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. eploy the new version in the same application and use the --migrate option
B. eploy 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. reate a new App Engine application in the same project
D. reate a new App Engine application in the same project
View answer
Correct Answer: B
Question #105
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 #106
You have one GCP account running in your default region and zone and another account running in a non-default region and zone. You want to start a new Compute Engine instance in these two Google Cloud Platform accounts using the command line interface. What should you do?
A. reate two configurations using gcloud config configurations create [NAME]
B. reate two configurations using gcloud config configurations create [NAME]
C. ctivate two configurations using gcloud configurations activate [NAME]
D. ctivate two configurations using gcloud configurations activate [NAME]
View answer
Correct Answer: C
Question #107
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 #108
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 #109
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 #110
You created a Google Cloud Platform project with an App Engine application inside the project. You initially configured the application to be served from the us-central region. Now you want the application to be served from the asia-northeast1 region. What should you do?
A. hange the default region property setting in the existing GCP project to asia-northeast1
B. hange the region property setting in the existing App Engine application from us-central to asia- northeast1
C. reate a second App Engine application in the existing GCP project and specify asia-northeast1 as the region to serve your application
D. reate a new GCP project and create an App Engine application inside this new project
View answer
Correct Answer: C
Question #111
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
B. 1
C. 1
D. 1
View answer
Correct Answer: C
Question #112
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 #113
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 #114
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 #115
You deployed an App Engine application using gcloud app deploy, but it did not deploy to the intended project. You want to find out why this happened and where the application deployed. What should you do?
A. heck the app
B. heck the web-application
C. o to Deployment Manager and review settings for deployment of applications
D. o to Cloud Shell and run gcloud config list to review the Google Cloud configuration used for deployment
View answer
Correct Answer: A
Question #116
You are building an archival solution for your data warehouse and have selected Cloud Storage to archive your dat
A. our users need to be able to access this archived data once a quarter for some regulatory requirements
B. old Storage
C. earline Storage
D. egional Storage
E. ulti-Regional Storage
View answer
Correct Answer: B
Question #117
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 #118
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 particularGoogle 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
B. Set metadata to enable-oslogin=true for the instance
C. Enable block project wide keys for the instance
D. Enable block project wide keys for the instance
View answer
Correct Answer: D
Question #119
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 #120
You need to grant access for three users so that they can view and edit table data on a Cloud Spanner instance. What should you do?
A. un gcloud iam roles describe roles/spanner
B. un gcloud iam roles describe roles/spanner
C. un gcloud iam roles describe roles/spanner
D. un gcloud iam roles describe roles/spanner
View answer
Correct Answer: A
Question #121
You need to reduce GCP service costs for a division of your company using the fewest possible steps. You need to turn off all configured services in an existing GCP project. What should you do?
A.
B.
C.
D.
View answer
Correct Answer: C
Question #122
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 #123
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 #124
You have 32 GB of data in a single file that you need to upload to a Nearline Storage bucket. The WAN connection you are using is rated at 1 Gbps, and you are the only one on the connection. You want to use as much of the rated 1 Gbps as possible to transfer the file rapidly. How should you upload the file?
A. se the GCP Console to transfer the file instead of gsutil
B. nable parallel composite uploads using gsutil on the file transfer
C. ecrease the TCP window size on the machine initiating the transfer
D. hange the storage class of the bucket from Nearline to Multi-Regional
View answer
Correct Answer: B
Question #125
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 #126
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 #127
You need to create a new billing account and then link it with an existing Google Cloud Platform project. What should you do?
A. erify that you are Project Billing Manager for the GCP project
B. erify that you are Project Billing Manager for the GCP project
C. erify that you are Billing Administrator for the billing account
D. erify that you are Billing Administrator for the billing account
View answer
Correct Answer: C
Question #128
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 #129
You have an instance group that you want to load balance. You want the load balancer to terminate the client SSL session. The instance group is used to serve a public web application over HTTPS. You want to follow Google-recommended practices. What should you do?
A. onfigure an HTTP(S) load balancer
B. onfigure an internal TCP load balancer
C. onfigure an external SSL proxy load balancer
D. onfigure an external TCP proxy load balancer
View answer
Correct Answer: A
Question #130
You deployed an App Engine application using gcloud app deploy, but it did not deploy to the intended project. You want to find out why this happened and where the application deployed. What should you do?
A. heck the app
B. heck the web-application
C. o to Deployment Manager and review settings for deployment of applications
D. o to Cloud Shell and run gcloud config list to review the Google Cloud configuration used for deployment
View answer
Correct Answer: A
Question #131
Your development team needs a new Jenkins server for their project. You need to deploy the server using the fewest steps possible. What should you do?
A. ownload and deploy the Jenkins Java WAR to App Engine Standard
B. reate a new Compute Engine instance and install Jenkins through the command line interface
C. reate a Kubernetes cluster on Compute Engine and create a deployment with the Jenkins Docker image
D. se GCP Marketplace to launch the Jenkins solution
View answer
Correct Answer: D
Question #132
You are using Deployment Manager to create a Google Kubernetes Engine cluster. Using the same Deployment Manager deployment, you also want to create aDaemonSet 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 to create the DaemonSet
D. In 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 #133
Your organization has user identities in Active Directory. Your organization wants to use Active Directory as their source of truth for identities. Your organization wants to have full control over the Google accounts used by employees for all Google services, including your Google Cloud Platform (GCP) organization. What should you do?
A. se Google Cloud Directory Sync (GCDS) to synchronize users into Cloud Identity
B. se the cloud Identity APIs and write a script to synchronize users to Cloud Identity
C. xport users from Active Directory as a CSV and import them to Cloud Identity via the Admin Console
D. sk each employee to create a Google account using self signup
View answer
Correct Answer: A
Question #134
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

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: