Google Cloud Platform Associate Cloud Engineer Practice Test Set 2

An application development team is deploying a set of specialized service endpoints and wants to limit traffic so that only traffic going to one of the endpoints is allowed through by firewall rules. The service endpoints will accept any UDP traffic and each endpoint will use a port in the range of 2000030000. Which of the following commands would you use?


Options are :

  • B. gcloud network firewall-rules create fwr1 --allow=udp:20000-30000 --direction=ingress
  • A. gcloud compute firewall-rules create fwr1 --allow=udp:20000-30000 --direction=ingress
  • D. gcloud compute firewall-rules create fwr1 --direction=ingress
  • C. gcloud compute firewall-rules create fwr1 --allow=udp

Answer : A. gcloud compute firewall-rules create fwr1 --allow=udp:20000-30000 --direction=ingress

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

You have created a subnet called sn1 using 192.168.0.0 with 65,534 addresses. You realize that you will not need that many addresses, and youd like to reduce that number to 254. Which of the following commands would you use?


Options are :

  • A. gcloud compute networks subnets expand-ip-range sn1 --prefix-length=24
  • D. There is no command to reduce the number of IP addresses available.
  • C. gcloud compute networks subnets expand-ip-range sn1 --size=256
  • B. gcloud compute networks subnets expand-ip-range sn1 --prefix-length=-8

Answer : D. There is no command to reduce the number of IP addresses available.

What features can you configure when running a Second Generation MySQL database in Cloud SQL?


Options are :

  • C. Failover replicas
  • D. All of the above
  • B. Maintenance windows
  • A. Machine type

Answer : D. All of the above

Which load balancers provide global load balancing?


Options are :

  • A. HTTP(S) only
  • D. Internal TCP/UDP, HTTP(S), SSL Proxy, and TCP Proxy
  • B. SSL Proxy and TCP Proxy only
  • C. HTTP(S), SSL Proxy, and TCP Proxy

Answer : C. HTTP(S), SSL Proxy, and TCP Proxy

Google Cloud Platform Associate Cloud Engineer Practice Test Set 1

You are generating an estimate of the cost of using BigQuery. One of the parameters is Query Pricing. You have to specify a value in TB units. What is the value you are specifying?


Options are :

  • B. The amount of data returned by the query
  • D. The amount of data in Cloud Storage bucket
  • A. The amount of data stored in BigQuery
  • C. The amount of data scanned by the query

Answer : C. The amount of data scanned by the query

What command launches a deployment?


Options are :

  • A. gcloud deployment-manager deployments create
  • C. gcloud deployment-manager deployments launch
  • D. gcloud cloud-launcher deployments launch
  • B. gcloud cloud-launcher deployments create

Answer : A. gcloud deployment-manager deployments create

You have created a subnet called sn1 using 192.168.0.0. You want it to have 14 addresses. What prefix length would you use?


Options are :

  • A. 32
  • C. 20
  • B. 28
  • D. 16

Answer : B. 28

Google Cloud Platform Associate Cloud Engineer Practice Test Set 3

An executive in your company emails you asking about creating a recommendation system that will help sell more products. The executive has heard there are some GCP solutions that may be good fits for this problem. What GCP service would you recommend the executive look into?


Options are :

  • B. Cloud Dataproc, especially Hadoop
  • A. Cloud Dataproc, especially Spark and its machine learning library
  • C. Cloud Spanner, which is a global relational database that can hold a lot of data
  • D. Cloud SQL, because SQL is a powerful query language

Answer : A. Cloud Dataproc, especially Spark and its machine learning library

You are creating a set of persistent disks to store data for exploratory data analysis. The disks will be mounted on a virtual machine in the us-west2-a zone. The data is historical data retrieved from Cloud Storage. The data analysts do not need peak performance and are more concerned about cost than performance. The data will be stored in a local relational database. Which type of storage would you recommend?


Options are :

  • B. HDDs
  • D. Bigtable
  • C. Datastore
  • A. SSDs

Answer : B. HDDs

What is one of the direct advantages of using a message queue in distributed systems?


Options are :

  • D. It stores messages until they are read by default.
  • C. It supports more programming languages.
  • B. It decouples services, so if one lags, it does not cause other services to lag.
  • A. It increases security.

Answer : B. It decouples services, so if one lags, it does not cause other services to lag.

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

What is the fundamental unit of computing in cloud computing?


Options are :

  • D. Subnet
  • B. VM
  • C. Block
  • A. Physical server

Answer : B. VM

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

When you create a machine learning service to identify text in an image, what type of servers should you choose to manage compute resources?


Options are :

  • C. No servers; specialized services are serverless
  • A. VMs
  • B. Clusters of VMs
  • D. VMs running Linux only

Answer : B. Clusters of VMs

You are deploying a new custom application and want to delegate some administration tasks to DevOps engineers. They do not need all the privileges of a full application administrator, but they do need a subset of those privileges. What kind of role should you use to grant those privileges?


Options are :

  • A. Primitive
  • C. Advanced
  • B. Predefined
  • D. Custom

Answer : D. Custom

You have been assigned the task of consolidating log data generated by each instance of an application. Which of the Stackdriver management tools would you use?


Options are :

  • D. Logging
  • C. Debugger
  • A. Monitoring
  • B. Trace

Answer : D. Logging

Cloud Filestore is based on what file system technology?


Options are :

  • C. EXT4
  • B. XFS
  • A. Network File System (NFS)
  • D. ReiserFS

Answer : A. Network File System (NFS)

Your DevOps team has decided to use Stackdriver monitoring and logging. You have been asked to set up Stackdriver workspaces. When you set up a Stackdriver workspace, what kind of resource is it associated with?


Options are :

  • B. A Compute Engine instance or Kubernetes Engine cluster only
  • A. A Compute Engine instance only
  • C. A Compute Engine instance, Kubernetes Engine cluster, or App Engine app
  • D. A project

Answer : D. A project

When you create a hierarchy, you can have more than one of which structure?


Options are :

  • D. Project only
  • A. Organization only
  • B. Folder only
  • C. Folder and project

Answer : C. Folder and project

In the boot disk advanced configuration, which operations can you specify when creating a new VM?


Options are :

  • B. Add a new disk and reformat an existing disk
  • C. Add a new disk and attach an existing disk
  • D. Reformat an existing disk and attach an existing disk
  • A. Add a new disk, reformat an existing disk, attach an existing disk

Answer : C. Add a new disk and attach an existing disk

Your company has deployed 100,000 Internet of Things (IoT) sensors to collect data on the state of equipment in several factories. Each sensor will collect and send data to a data store every 5 seconds. Sensors will run continuously. Daily reports will produce data on the maximum, minimum, and average value for each metric collected on each sensor. There is no need to support transactions in this application. Which database product would you recommend?


Options are :

  • A. Cloud Spanner
  • B. Cloud Bigtable
  • C. Cloud SQL MySQL
  • D. Cloud SQL PostgreSQL

Answer : B. Cloud Bigtable

Your company has a number of policies that need to be enforced for all projects. You decide to apply policies to the resource hierarchy. Not long after you apply the policies, an engineer finds that an application that had worked prior to implementing policies is no longer working. The engineer would like you to create an exception for the application. How can you override a policy inherited from another entity in the resource hierarchy?


Options are :

  • D. Policies can be overridden by linking them to billing accounts.
  • A. Inherited policies can be overridden by defining a policy at a folder or project level.
  • B. Inherited policies cannot be overridden.
  • C. Policies can be overridden by linking them to service accounts.

Answer : B. Inherited policies cannot be overridden.

Which of the following commands will stop a VM named web-server-1?


Options are :

  • B. gcloud compute instances --terminate web-server1
  • A. gcloud compute instances halt web-server-1
  • D. gcloud compute stop web-server-1
  • C. gcloud compute instances stop web-server-1

Answer : C. gcloud compute instances stop web-server-1

You have to run a number of services to support an application. Which of the following is a good deployment model?


Options are :

  • C. Use two large VMs, making one of them read only
  • A. Run on a large, single VM
  • D. Use a small VM for all services and increase the size of the VM when CPU utilization exceeds 90 percent
  • B. Use containers in a managed cluster

Answer : B. Use containers in a managed cluster

You lead a team of cloud engineers who maintain cloud resources for several departments in your company. Youve noticed a problem with configuration drift. Some machine configurations are no longer in the same state as they were when created. You cant find notes or documentation on how the changes were made or why. What practice would you implement to solve this problem?


Options are :

  • A. Have all cloud engineers use only command-line interface in Cloud Shell.
  • D. Limit privileges so only you can make changes so you will always know when and why configurations were changed.
  • C. Take notes when making changes to configuration and store them in Google Drive.
  • B. Write scripts using gcloud commands to change configuration and store those scripts in a version control system.

Answer : B. Write scripts using gcloud commands to change configuration and store those scripts in a version control system.

You have acquired a 10 GB data set from a third-party research firm. A group of data scientists would like to access this data from their statistics programs written in R. R works well with Linux and Windows file systems, and the data scientists are familiar with file operations in R. The data scientists would each like to have their own dedicated VM with the data available in the VMs file system. What is a way to make this data readily available on a VM and minimize the steps the data scientists will have to take?


Options are :

  • C. Store the data in Google Drive.
  • D. Load the data into BigQuery.
  • A. Store the data in Cloud Storage.
  • B. Create VMs using a source image created from a disk with the data on it.

Answer : B. Create VMs using a source image created from a disk with the data on it.

You are planning to deploy a SaaS application for customers in North America, Europe, and Asia. To maintain scalability, you will need to distribute workload across servers in multiple regions. Which GCP service would you use to implement the workload distribution?


Options are :

  • D. Cloud CDN
  • B. Cloud Spanner
  • C. Cloud Load Balancing
  • A. Cloud DNS

Answer : C. Cloud Load Balancing

Your company has licensed a third-party software package that runs on Linux. You will run multiple instances of the software in a Docker container. Which of the following GCP services could you use to deploy this software package?


Options are :

  • D. Compute Engine, Kubernetes Engine, the App Engine flexible environment, or the App Engine standard environment
  • A. Compute Engine only
  • B. Kubernetes Engine only
  • C. Compute Engine, Kubernetes Engine, and the App Engine flexible environment only

Answer : C. Compute Engine, Kubernetes Engine, and the App Engine flexible environment only

Your department is deploying an application that has a database backend. You are concerned about the read load on the database server and want to have data available in memory to reduce the time to respond to queries and to reduce the load on the database server. Which GCP service would you use to keep data in memory?


Options are :

  • A. Cloud SQL
  • D. Cloud Datastore
  • C. Cloud Spanner
  • B. Cloud Memorystore

Answer : B. Cloud Memorystore

The Cloud SDK can be used to configure and manage resources in which of the following services?


Options are :

  • A. Compute Engine
  • C. Network firewalls
  • D. All of the above
  • B. Cloud Storage

Answer : D. All of the above

You need serverless computing for file processing and running the backend of a website; which two products can you choose from Google Cloud Platform?


Options are :

  • D. Cloud Functions and Kubernetes Engine
  • B. App Engine and Cloud Functions
  • A. Kubernetes Engine and Compute Engine
  • C. Cloud Functions and Compute Engine

Answer : B. App Engine and Cloud Functions

You need to set up a server with a high level of security. You want to be prepared in case of attacks on your server by someone trying to inject a rootkit (a kind of malware that can alter the operating system). Which option should you select when creating a VM?


Options are :

  • C. Project-wide SSH keys
  • B. Shield VM
  • D. Boot disk integrity check
  • A. Firewall

Answer : B. Shield VM

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions