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 :

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

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

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


Options are :

  • C. ––detectschema
  • A. ––autodetect (Correct)
  • D. ––dry_run
  • B. ––autoschema

Answer : A. ––autodetect

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


Options are :

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

Answer : A. 0.0.0.0/0

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

How long is log data stored in Stackdriver Logging?


Options are :

  • B. 15 days
  • C. 30 days (Correct)
  • D. 60 days
  • A. 7 days

Answer : C. 30 days

Which load balancers provide global load balancing?


Options are :

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

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

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


Options are :

  • C. cbt sql instances patch ace-exam-mysql -–backup-start-time 03:00
  • A. gcloud sql instances patch ace-exam-mysql --backup-start-time 03:00 (Correct)
  • D. bq 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

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

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

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 :

  • C. Static (Correct)
  • D. Ephemeral
  • B. External
  • A. Internal

Answer : C. Static

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 :

  • D. Bigtable
  • C. Spanner
  • B. Firestore (Correct)
  • A. BigQuery

Answer : B. Firestore

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 :

  • C. 1000
  • B. 1
  • D. 65535 (Correct)
  • A. 0

Answer : D. 65535

Google Cloud Platform Associate Cloud Engineer Practice Test Set 3

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


Options are :

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

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

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 :

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

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

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.
  • B. Check https://status.cloud.google.com/. (Correct)
  • C. Check https://bigquery.status.cloud.google.com/.
  • A. Email Google Cloud Support.

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

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

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


Options are :

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

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

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


Options are :

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

Answer : B. Frontend

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.
  • B. Click Expand all to show all details. (Correct)
  • A. Drill down one by one into each structure in the log entry.

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

Google Cloud Platform Associate Cloud Engineer Practice Test Set 4

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 :

  • C. Datastore
  • D. Bigtable
  • A. SSDs
  • B. HDDs (Correct)

Answer : B. HDDs

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
  • B. Upload folders only
  • A. Upload files only
  • C. Upload files and folders (Correct)

Answer : C. Upload files and folders

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 :

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

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

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 :

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

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

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


Options are :

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

Answer : B. gcloud compute firewall-rules create

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


Options are :

  • C. Hadoop and Cassandra
  • A. Spark and Cassandra
  • D. Spark and TensorFlow
  • B. Spark and Hadoop (Correct)

Answer : B. Spark and Hadoop

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 :

  • C. 20
  • B. 28 (Correct)
  • D. 16
  • A. 32

Answer : B. 28

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 you’d like to reduce that number to 254. Which of the following commands would you use?


Options are :

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

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

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


Options are :

  • A. It increases security.
  • 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. (Correct)

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

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 (Correct)
  • A. SQL Server and MySQL
  • B. SQL Server and PostgreSQL
  • D. MySQL and Oracle

Answer : C. PostgreSQL and MySQL

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 :

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

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

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 :

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

Answer : C. gcloud components install cbt

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


Options are :

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

Answer : B. Permissions

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

What language would you use?


Options are :

  • B. Ruby
  • D. Python (Correct)
  • C. Go
  • A. Jinja2

Answer : D. Python

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 :

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

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

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions