GOOGLE CLOUD CERTIFIED
ASSOCIATE CLOUD ENGINEER EXAM
QUESTIONS WITH CORRECT ANSWERS
A way to run Compute Engine instance based on templates. - ANSWER-Managed
Instance Groups
When creating firewall rules, the lower the number the ______ the priority. - ANSWER-
Higher
The load balancer to use for global HTTP(S) traffic. - ANSWER-HTTP(S) load balancer
The Compute Engine metadata key that allows you to run code at startup. - ANSWER-
startup-script
The name of the notation used for specifying IP address ranges. - ANSWER-CIDR
notation
Flag to use when deploying to app engine that will prevent the version from getting
100% of the traffic. - ANSWER-`--no-promote`
A mechanism that allows you to extract data from logs and track it. - ANSWER-Custom
logging metric.
The name of the Kubernetes Controller that provides declarative updates for pods. -
ANSWER-Deployments
Service that can ingest event streams. Commonly used with IoT. - ANSWER-Pub/Sub
The command to create a new Spanner database. - ANSWER-`gcloud spanner
databases create`
A special account used for authenticating between different services. - ANSWER-
Service Accounts
Command to make a bucket. - ANSWER-`gsutil mb gs://bucket-name/`
Compute Services that directly support running Docker containers. - ANSWER-- App
Engine - Flexible Environments
- Kubernetes
- Compute Engine - Use COS to run a single container per instance
- Cloud Functions - Not yet GA
,Where do container images need to exist for Kubernetes to work with them? -
ANSWER-A container registry.
Tool for live code debugging. - ANSWER-Stackdriver Debug - doesn't support all
languages.
Billing export formats. - ANSWER-CSV file, JSON file, BigQuery
Service that supports monitoring, logging, and debugging. - ANSWER-Stackdriver
A feature that allows you to see all network traffic. - ANSWER-Flow logs
The command to enable an API. - ANSWER-`gcloud services enable [ID]`
Means of dynamically identifying instances to apply firewall rules. - ANSWER-Network
tags
How to write to Stackdriver logs from a Cloud Function. - ANSWER-Use the logging
package or write to standard out.
The fully managed platform that supports running web applications inside a Docker
container. - ANSWER-App Engine Flexible Enviroments
Command to update a Kubernetes deployment that was created with the `kubectl
create` command. - ANSWER-`kubectl apply`
The command to deploy an App Engine application. - ANSWER-`gcloud app deploy
app.yaml`
The Cloud Storage metadata key to set to the MIME (Multipurpose Internet Mail
Extensions) type. - ANSWER-Content-Type
A feature of Cloud Storage that allows objects to be accessed temporarily. - ANSWER-
Signed URLs
Command to list gcloud configurations. - ANSWER-`gcloud config configurations list`
The service that allows you to run a MySQL or Postgres database. - ANSWER-Cloud
SQL
A common protocol and port used to connect to Linux instances. - ANSWER-SSH over
port 22
The command to list projects. - ANSWER-`gcloud projects list`
`gcloud-wide` flag to suppress interactive prompts. - ANSWER-`-q or --quiet`
,The command to set the CORS configuration on a bucket. - ANSWER-`gsutil cors set...`
A Kubernetes resource that exposes deployments. - ANSWER-Services
Command to run commands from inside a container that is running on Kubernetes. -
ANSWER-`kubectl exec`
A downloadable key allowing code to authenticate against Google Cloud services. -
ANSWER-Service Account Key
Scaling modes supported by App Engine. - ANSWER-Manual, Automatic, and Basic*
*Only with standard environments
The fully managed version of Redis. - ANSWER-Cloud Memorystore
The App Engine, app.yaml handler property that allows directories to be static. -
ANSWER-`static_dir`
Supported persistent disk types. - ANSWER-HDD, SSD, and Local SSD.
Command to list buckets. - ANSWER-`gsutil ls`
A feature of Cloud Shell that allows you to browse to port 8080. - ANSWER-Web
Preview
A way to group different instances together. - ANSWER-Unmanaged instance groups.
Name of a point-in-time backup of a persistent disk. - ANSWER-Snapshots
The command to add an IAM binding policy. - ANSWER-`gcloud projects add-iam-
policy-binding`
A sparsely populated database. - ANSWER-Bigtable
The command to deploy a Cloud Function. - ANSWER-`gcloud functions deploy`
Cloud functions should be written in an __________ way. - ANSWER-Idempotent
A type of short-lived, reduced price instance commonly used for batch processing. -
ANSWER-Preemptible instances
The command to list networks. - ANSWER-`gcloud compute networks list`
, The compute services provided by Google Cloud. - ANSWER-Compute Engine, App
Engine, Kubernetes Engine, and Cloud Functions.
The App Engine feature that allows fast rollbacks, A/B testing, and canary deployments.
- ANSWER-Traffic Splitting
Fully managed NoSQL database with a limited query syntax. - ANSWER-Cloud
Datastore
The command to get Pod logs in Kubernetes. - ANSWER-`kubectl get logs`
A `kubectl` flag that allows you to specify the JSON path of properties in JSON output. -
ANSWER-`-o` along with the `jsonpath` value.
`kubectl get svc -o jsonpath`
App Engine traffic can be split by: - ANSWER-IP address, Cookie, Random
The flag to use that will allow you to determine the price of a BigQuery query without
actually running the query. - ANSWER-The `dry-run` flag
The command to create a Kubernetes Cluster. - ANSWER-`gcloud container clusters
create`
The command to update a Deployment Manager deployment. - ANSWER-`gcloud
deployment-manager deployments update`
The database commonly paired with App Engine. - ANSWER-Datastore
Types of available roles. - ANSWER-Types of available roles.
Primitive roles, predefined roles, and custom roles.
A feature that allows you to set the exact amount of memory and CPU. - ANSWER-
Custom machine type.
The binary to interact with Cloud Storage. - ANSWER-`gsutil`
A fully managed data warehouse. - ANSWER-BigQuery
The identity providers that Cloud IAM can use. - ANSWER-G Suite, and Cloud Identity,
Google Groups, Gmail accounts, Service Accounts
The command to list the current configuration for `gcloud`. - ANSWER-`gcloud config
list`
Why can't Cloud Storage objects be changed? - ANSWER-They are immutable.
ASSOCIATE CLOUD ENGINEER EXAM
QUESTIONS WITH CORRECT ANSWERS
A way to run Compute Engine instance based on templates. - ANSWER-Managed
Instance Groups
When creating firewall rules, the lower the number the ______ the priority. - ANSWER-
Higher
The load balancer to use for global HTTP(S) traffic. - ANSWER-HTTP(S) load balancer
The Compute Engine metadata key that allows you to run code at startup. - ANSWER-
startup-script
The name of the notation used for specifying IP address ranges. - ANSWER-CIDR
notation
Flag to use when deploying to app engine that will prevent the version from getting
100% of the traffic. - ANSWER-`--no-promote`
A mechanism that allows you to extract data from logs and track it. - ANSWER-Custom
logging metric.
The name of the Kubernetes Controller that provides declarative updates for pods. -
ANSWER-Deployments
Service that can ingest event streams. Commonly used with IoT. - ANSWER-Pub/Sub
The command to create a new Spanner database. - ANSWER-`gcloud spanner
databases create`
A special account used for authenticating between different services. - ANSWER-
Service Accounts
Command to make a bucket. - ANSWER-`gsutil mb gs://bucket-name/`
Compute Services that directly support running Docker containers. - ANSWER-- App
Engine - Flexible Environments
- Kubernetes
- Compute Engine - Use COS to run a single container per instance
- Cloud Functions - Not yet GA
,Where do container images need to exist for Kubernetes to work with them? -
ANSWER-A container registry.
Tool for live code debugging. - ANSWER-Stackdriver Debug - doesn't support all
languages.
Billing export formats. - ANSWER-CSV file, JSON file, BigQuery
Service that supports monitoring, logging, and debugging. - ANSWER-Stackdriver
A feature that allows you to see all network traffic. - ANSWER-Flow logs
The command to enable an API. - ANSWER-`gcloud services enable [ID]`
Means of dynamically identifying instances to apply firewall rules. - ANSWER-Network
tags
How to write to Stackdriver logs from a Cloud Function. - ANSWER-Use the logging
package or write to standard out.
The fully managed platform that supports running web applications inside a Docker
container. - ANSWER-App Engine Flexible Enviroments
Command to update a Kubernetes deployment that was created with the `kubectl
create` command. - ANSWER-`kubectl apply`
The command to deploy an App Engine application. - ANSWER-`gcloud app deploy
app.yaml`
The Cloud Storage metadata key to set to the MIME (Multipurpose Internet Mail
Extensions) type. - ANSWER-Content-Type
A feature of Cloud Storage that allows objects to be accessed temporarily. - ANSWER-
Signed URLs
Command to list gcloud configurations. - ANSWER-`gcloud config configurations list`
The service that allows you to run a MySQL or Postgres database. - ANSWER-Cloud
SQL
A common protocol and port used to connect to Linux instances. - ANSWER-SSH over
port 22
The command to list projects. - ANSWER-`gcloud projects list`
`gcloud-wide` flag to suppress interactive prompts. - ANSWER-`-q or --quiet`
,The command to set the CORS configuration on a bucket. - ANSWER-`gsutil cors set...`
A Kubernetes resource that exposes deployments. - ANSWER-Services
Command to run commands from inside a container that is running on Kubernetes. -
ANSWER-`kubectl exec`
A downloadable key allowing code to authenticate against Google Cloud services. -
ANSWER-Service Account Key
Scaling modes supported by App Engine. - ANSWER-Manual, Automatic, and Basic*
*Only with standard environments
The fully managed version of Redis. - ANSWER-Cloud Memorystore
The App Engine, app.yaml handler property that allows directories to be static. -
ANSWER-`static_dir`
Supported persistent disk types. - ANSWER-HDD, SSD, and Local SSD.
Command to list buckets. - ANSWER-`gsutil ls`
A feature of Cloud Shell that allows you to browse to port 8080. - ANSWER-Web
Preview
A way to group different instances together. - ANSWER-Unmanaged instance groups.
Name of a point-in-time backup of a persistent disk. - ANSWER-Snapshots
The command to add an IAM binding policy. - ANSWER-`gcloud projects add-iam-
policy-binding`
A sparsely populated database. - ANSWER-Bigtable
The command to deploy a Cloud Function. - ANSWER-`gcloud functions deploy`
Cloud functions should be written in an __________ way. - ANSWER-Idempotent
A type of short-lived, reduced price instance commonly used for batch processing. -
ANSWER-Preemptible instances
The command to list networks. - ANSWER-`gcloud compute networks list`
, The compute services provided by Google Cloud. - ANSWER-Compute Engine, App
Engine, Kubernetes Engine, and Cloud Functions.
The App Engine feature that allows fast rollbacks, A/B testing, and canary deployments.
- ANSWER-Traffic Splitting
Fully managed NoSQL database with a limited query syntax. - ANSWER-Cloud
Datastore
The command to get Pod logs in Kubernetes. - ANSWER-`kubectl get logs`
A `kubectl` flag that allows you to specify the JSON path of properties in JSON output. -
ANSWER-`-o` along with the `jsonpath` value.
`kubectl get svc -o jsonpath`
App Engine traffic can be split by: - ANSWER-IP address, Cookie, Random
The flag to use that will allow you to determine the price of a BigQuery query without
actually running the query. - ANSWER-The `dry-run` flag
The command to create a Kubernetes Cluster. - ANSWER-`gcloud container clusters
create`
The command to update a Deployment Manager deployment. - ANSWER-`gcloud
deployment-manager deployments update`
The database commonly paired with App Engine. - ANSWER-Datastore
Types of available roles. - ANSWER-Types of available roles.
Primitive roles, predefined roles, and custom roles.
A feature that allows you to set the exact amount of memory and CPU. - ANSWER-
Custom machine type.
The binary to interact with Cloud Storage. - ANSWER-`gsutil`
A fully managed data warehouse. - ANSWER-BigQuery
The identity providers that Cloud IAM can use. - ANSWER-G Suite, and Cloud Identity,
Google Groups, Gmail accounts, Service Accounts
The command to list the current configuration for `gcloud`. - ANSWER-`gcloud config
list`
Why can't Cloud Storage objects be changed? - ANSWER-They are immutable.