Google Cloud Platform Associate Cloud Engineer Practice Test Set 1

A team of mobile developers is developing a new application. It will require synchronizing data between mobile devices and a backend database. Which database service would you recommend?


Options are :

  • A. BigQuery
  • C. Spanner
  • B. Firestore
  • D. Bigtable

Answer : B. Firestore

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

You believe there may be a problem with BigQuery in the us-central zone. Where would you go to check the status of the BigQuery service for the quickest access to details?


Options are :

  • D. Call Google tech support.
  • A. Email Google Cloud Support.
  • B. Check https://status.cloud.google.com/.
  • C. Check https://bigquery.status.cloud.google.com/.

Answer : B. Check https://status.cloud.google.com/.

You are viewing log entries and spot one that looks suspicious. You are not familiar with the kind of log entry, and you want to see the complete details of the log entry as quickly as possible. What would you do?


Options are :

  • D. Click the Show Detail link next to the log entry.
  • C. Write a Python script to reformat the log entry.
  • A. Drill down one by one into each structure in the log entry.
  • B. Click Expand all to show all details.

Answer : B. Click Expand all to show all details.

The CEO of your startup just read a news report about a company that was attacked by something called cache poisoning. The CEO wants to implement additional security measures to reduce the risk of DNS spoofing and cache poisoning. What would you recommend?


Options are :

  • A. Using DNSSEC
  • C. Adding CNAME records
  • D. Deleting CNAME records
  • B. Adding SOA records

Answer : A. Using DNSSEC

Google Cloud Platform Associate Cloud Engineer Practice Test Set 3

You are using gcloud to create a VPN. Which command would you use?


Options are :

  • B. gcloud compute forwarding-rule and gcloud compute target-vpn-gateways only
  • A. gcloud compute target-vpn-gateways only
  • C. gcloud compute vpn-tunnels only
  • D. gcloud compute forwarding-rule, gcloud compute target-vpn-gateways, and gcloud compute vpn-tunnels

Answer : D. gcloud compute forwarding-rule, gcloud compute target-vpn-gateways, and gcloud compute vpn-tunnels

You want to get an estimate of the volume of data scanned by BigQuery from the command line. Which option shows the command structure you should use?


Options are :

  • D. cbt BigQuery query estimate [SQL_QUERY]
  • B. bq 末location=[LOCATION] query --use_legacy_sql=false 末dry_run [SQL_QUERY]
  • A. gcloud BigQuery query estimate [SQL_QUERY]
  • C. gsutil 末location=[LOCATION] query --use_legacy_sql=false 末dry_run [SQL_QUERY]

Answer : B. bq 末location=[LOCATION] query --use_legacy_sql=false 末dry_run [SQL_QUERY]

A developer intern is confused about what roles are used for. You describe IAM roles as a collection of what?


Options are :

  • B. Permissions
  • C. Access control lists
  • D. Audit logs
  • A. Identities

Answer : B. Permissions

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

You are deploying a Cloud Launcher application that includes a LAMP stack. What software will this deploy?


Options are :

  • C. MySQL and Apache only
  • A. Apache server and Linux only
  • B. Linux only
  • D. Apache, MySQL, Linux, and PHP

Answer : D. Apache, MySQL, Linux, and PHP

You have received a large data set from an Internet of Things (IoT) system. You want to use BigQuery to analyze the data. What command-line command would you use to make data available for analysis in BigQuery?


Options are :

  • D. gcloud BigQuery load 末autodetect 末source_format=[FORMAT] [DATASET]. [TABLE] [PATH_TO_SOURCE]
  • B. bq import 末autodetect 末source_format=[FORMAT] [DATASET].[TABLE] [PATH_TO_SOURCE]
  • A. bq load 末autodetect 末source_format=[FORMAT] [DATASET].[TABLE] [PATH_TO_SOURCE]
  • C. gloud BigQuery load 末autodetect 末source_format=[FORMAT] [DATASET]. [TABLE] [PATH_TO_SOURCE]

Answer : A. bq load 末autodetect 末source_format=[FORMAT] [DATASET].[TABLE] [PATH_TO_SOURCE]

What parameter is used to tell BigQuery to automatically detect the schema of a file on import?


Options are :

  • B. 末autoschema
  • C. 末detectschema
  • D. 末dry_run
  • A. 末autodetect

Answer : A. 末autodetect

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

You have been assigned the App Engine Deployer role. What operations can you perform?


Options are :

  • B. Read application configuration and settings only
  • D. Read application configuration and settings and write new versions
  • A. Write new versions of an application only
  • C. Read application configuration and settings and write new configurations

Answer : D. Read application configuration and settings and write new versions

Where do you specify the ports on a TCP Proxy load balancer that should have their traffic forwarded?


Options are :

  • C. Network Services section
  • B. Frontend
  • D. VPC
  • A. Backend

Answer : B. Frontend

A team is setting up a web service for internal use. They want to use the same IP address for the foreseeable future. What type of IP address would you assign?


Options are :

  • B. External
  • A. Internal
  • C. Static
  • D. Ephemeral

Answer : C. Static

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

Which of the following commands will run an automatic backup at 3:00 a.m. on an instance called ace-exam-mysql?


Options are :

  • A. gcloud sql instances patch ace-exam-mysql --backup-start-time 03:00
  • B. gcloud sql databases patch ace-exam-mysql -backup-start-time 03:00
  • C. cbt sql instances patch ace-exam-mysql -肪ackup-start-time 03:00
  • D. bq gcloud sql instances patch ace-exam-mysql -肪ackup-start-time 03:00

Answer : A. gcloud sql instances patch ace-exam-mysql --backup-start-time 03:00

The command to create a VPC from the command line is:


Options are :

  • A. gcloud compute networks create
  • D. gcloud compute create networks
  • B. gcloud networks vpc create
  • C. gsutil networks vpc create

Answer : A. gcloud compute networks create

You want to use a template file with Deployment Manager. You expect the file to be complicated.

What language would you use?


Options are :

  • A. Jinja2
  • B. Ruby
  • C. Go
  • D. Python

Answer : D. Python

You want to list roles assigned to users in a project called ace-exam-project. What gcloud command would you use?


Options are :

  • A. gcloud iam get-iam-policy ace-exam-project
  • B. gcloud projects list ace-exam-project
  • C. gcloud projects get-iam-policy ace-exam-project
  • D. gcloud iam list ace-exam-project

Answer : C. gcloud projects get-iam-policy ace-exam-project

You have created a Cloud Spanner instance and database. According to Google best practices, how often should you update VM packages using apt-get?


Options are :

  • C. Every 30 days.
  • B. Every 7 days.
  • D. Never, Cloud Spanner is a managed service.
  • A. Every 24 hours.

Answer : D. Never, Cloud Spanner is a managed service.

You are using Cloud Console to create a VM that you want to exist in a custom subnet you just created. What section of the Create Instance form would you use to specify the custom subnet?


Options are :

  • C. Sole Tenancy tab of Management, Security, Disks, Networking, Sole Tenancy
  • B. Management tab of the Management, Security, Disks, Networking, Sole Tenancy section
  • A. Networking tab of the Management, Security, Disks, Networking, Sole Tenancy section
  • D. Sole Tenancy tab of Management, Security, Disks, Networking

Answer : A. Networking tab of the Management, Security, Disks, Networking, Sole Tenancy section

As required by your company痴 policy, you need to back up your Datastore database at least once per day. An auditor is questioning whether or not Datastore export is sufficient. You explain that the Datastore export command produces what outputs?


Options are :

  • B. A metadata file
  • A. A single entity file
  • D. A metadata file, an entity file, and a folder with the data
  • C. A metadata file and a folder with the data

Answer : C. A metadata file and a folder with the data

The Cloud SQL service provides fully managed relational databases. What two types of databases are available in Cloud SQL?


Options are :

  • C. PostgreSQL and MySQL
  • B. SQL Server and PostgreSQL
  • D. MySQL and Oracle
  • A. SQL Server and MySQL

Answer : C. PostgreSQL and MySQL

Which of the following statements about Cloud Storage is not true?


Options are :

  • A. Cloud Storage buckets can have retention periods.
  • C. Cloud Storage does not provide block-level access to data within files stored in buckets.
  • B. Lifecycle configurations can be used to change storage class from regional to multiregional.
  • D. Cloud Storage is designed for high durability.

Answer : B. Lifecycle configurations can be used to change storage class from regional to multiregional.

You are migrating a large number of files from a local storage system to Cloud Storage. You want to use the Cloud Console instead of writing a script. Which of the following Cloud Storage operations can you perform in the console?


Options are :

  • D. Compare local files with files in the bucket using the diff command
  • A. Upload files only
  • B. Upload folders only
  • C. Upload files and folders

Answer : C. Upload files and folders

Your company is launching an IoT service and will receive large volumes of streaming data. You have to store this data in Bigtable. You want to explore the Bigtable environment from the command line. What command would you run to ensure you have command-line tools installed?


Options are :

  • C. gcloud components install cbt
  • A. apt-get install bigtable-tools
  • B. apt-get install cbt
  • D. gcloud components install bigtable-tools

Answer : C. gcloud components install cbt

Cloud Dataproc is a managed service for which two big data platforms?


Options are :

  • B. Spark and Hadoop
  • C. Hadoop and Cassandra
  • A. Spark and Cassandra
  • D. Spark and TensorFlow

Answer : B. Spark and Hadoop

Which command will export a MySQL database called ace-exam-mysql1 to a file called ace-exam-mysql-export.sql in a bucket named ace-exam-buckete1?


Options are :

  • D. gcloud sql export sql ace-exam-mysql1 gs://ace-exam-mysql-export.sql/ ace-exam-buckete1/ \ 末database=mysql
  • C. gcloud sql export sql ace-exam-mysql1 gs://ace-exam-buckete1/ace-exammysql- export.sql \ 末database=mysql
  • B. gcloud sql export ace-exam-mysql1 gs://ace-exam-buckete1/ace-exammysql- export.sql \ 末database=mysql
  • A. gcloud storage export sql ace-exam-mysql1 gs://ace-exam-buckete1/aceexam- mysql-export.sql \ 末database=mysql

Answer : C. gcloud sql export sql ace-exam-mysql1 gs://ace-exam-buckete1/ace-exammysql- export.sql \ 末database=mysql

How long is log data stored in Stackdriver Logging?


Options are :

  • A. 7 days
  • D. 60 days
  • C. 30 days
  • B. 15 days

Answer : C. 30 days

You are using gcloud to create a firewall rule. Which command would you use?


Options are :

  • D. gcloud compute rules create
  • A. gcloud network firewall-rules create
  • C. gcloud network rules create
  • B. gcloud compute firewall-rules create

Answer : B. gcloud compute firewall-rules create

You want to define a CIDR range that applies to all destination addresses. What IP address would you specify?


Options are :

  • A. 0.0.0.0/0
  • C. 172.16.0.0/12
  • B. 10.0.0.0/8
  • D. 192.168.0.0/16

Answer : A. 0.0.0.0/0

You have a rule to allow inbound traffic to a VM. You want it to apply only if there is not another rule that would deny that traffic. What priority should you give this rule?


Options are :

  • D. 65535
  • B. 1
  • C. 1000
  • A. 0

Answer : D. 65535

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions
  • Shubham
    Please provide the answers at the bottom
    Reply