




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A collection of questions and answers related to the google cloud certified associate cloud engineer exam. It covers various topics, including billing alerts, cloud functions, custom monitoring metrics, deployment commands, and kubernetes resources. Useful for individuals preparing for the google cloud associate cloud engineer certification.
Typology: Exams
1 / 107
This page cannot be seen from the preview
Don't miss anything!





























































































A tool that warns you when you're spending too much. - Correct Answers ✅Billing Alerts A service used for executing code in response to events. - Correct Answers ✅Cloud Functions A mechanism that allows you to track custom information in code and save it to Stackdriver. - Correct Answers ✅Custom monitoring metric. The command to create a Cloud Function. - Correct Answers ✅gcloud functions deploy The way to enable point-in-time recovery for MySQL databases on Cloud SQL. - Correct Answers ✅Enable binary logging A service used to run web applications on a managed platform. - Correct Answers ✅App Engine The command to list subnets. - Correct Answers ✅gcloud compute networks subnets list Key-value pairs that you can set and interact with in a Compute Engine instance. - Correct Answers ✅Metadata
"One-click" way to install common applications to Compute Engine instances. - Correct Answers ✅Cloud Launcher The purpose of this command: gcloud compute firewall-rules create "a-firewall-rule" --network $SERVICES_NETWORK --allow tcp:22 - Correct Answers ✅Open port 22 to the internet When using gcloud compute ssh, which flag shows the underlying SSH command? - Correct Answers ✅--dry-run Key-value pairs of configuration data that are accessible from code running in a Cloud Function. - Correct Answers ✅Environment variables The types of App Engine environments. - Correct Answers ✅Standard and Flexible The format used for Kubernetes resource files. - Correct Answers ✅YAML What is the purpose of this command:
The resource for storing sensitive information in Kubernetes. - Correct Answers ✅Secrets The name of the Kubernetes Deployment that ensures a single instance of a pod will run on each node. - Correct Answers ✅DaemonSet A way to run Compute Engine instance based on templates. - Correct Answers ✅Managed Instance Groups When creating firewall rules, the lower the number the ______ the priority. - Correct Answers ✅Higher The load balancer to use for global HTTP(S) traffic. - Correct Answers ✅HTTP(S) load balancer The Compute Engine metadata key that allows you to run code at startup. - Correct Answers ✅startup-script The name of the notation used for specifying IP address ranges. - Correct Answers ✅CIDR notation Flag to use when deploying to app engine that will prevent the version from getting 100% of the traffic. - Correct Answers ✅--no-promote
A mechanism that allows you to extract data from logs and track it. - Correct Answers ✅Custom logging metric. The name of the Kubernetes Controller that provides declarative updates for pods. - Correct Answers ✅Deployments Service that can ingest event streams. Commonly used with IoT. - Correct Answers ✅Pub/Sub The command to create a new Spanner database. - Correct Answers ✅gcloud spanner databases create A special account used for authenticating between different services. - Correct Answers ✅Service Accounts Command to make a bucket. - Correct Answers ✅gsutil mb gs://bucket-name/ Compute Services that directly support running Docker containers. - Correct Answers ✅- App Engine - Flexible Environments
How to write to Stackdriver logs from a Cloud Function. - Correct Answers ✅Use the logging package or write to standard out. The fully managed platform that supports running web applications inside a Docker container. - Correct Answers ✅App Engine Flexible Enviroments Command to update a Kubernetes deployment that was created with the kubectl create command. - Correct Answers ✅kubectl apply The command to deploy an App Engine application. - Correct Answers ✅gcloud app deploy app.yaml The Cloud Storage metadata key to set to the MIME (Multipurpose Internet Mail Extensions) type. - Correct Answers ✅Content-Type A feature of Cloud Storage that allows objects to be accessed temporarily. - Correct Answers ✅Signed URLs Command to list gcloud configurations. - Correct Answers ✅gcloud config configurations list
The service that allows you to run a MySQL or Postgres database. - Correct Answers ✅Cloud SQL A common protocol and port used to connect to Linux instances. - Correct Answers ✅SSH over port 22 The command to list projects. - Correct Answers ✅gcloud projects list gcloud-wide flag to suppress interactive prompts. - Correct Answers ✅-q or --quiet The command to set the CORS configuration on a bucket. - Correct Answers ✅gsutil cors set... A Kubernetes resource that exposes deployments. - Correct Answers ✅Services Command to run commands from inside a container that is running on Kubernetes. - Correct Answers ✅kubectl exec A downloadable key allowing code to authenticate against Google Cloud services. - Correct Answers ✅Service Account Key
Name of a point-in-time backup of a persistent disk. - Correct Answers ✅Snapshots The command to add an IAM binding policy. - Correct Answers ✅gcloud projects add-iam-policy-binding A sparsely populated database. - Correct Answers ✅Bigtable The command to deploy a Cloud Function. - Correct Answers ✅gcloud functions deploy Cloud functions should be written in an __________ way. - Correct Answers ✅Idempotent A type of short-lived, reduced price instance commonly used for batch processing. - Correct Answers ✅Preemptible instances The command to list networks. - Correct Answers ✅gcloud compute networks list The compute services provided by Google Cloud. - Correct Answers ✅Compute Engine, App Engine, Kubernetes Engine, and Cloud Functions.
The App Engine feature that allows fast rollbacks, A/B testing, and canary deployments. - Correct Answers ✅Traffic Splitting Fully managed NoSQL database with a limited query syntax. - Correct Answers ✅Cloud Datastore The command to get Pod logs in Kubernetes. - Correct Answers ✅kubectl get logs A kubectl flag that allows you to specify the JSON path of properties in JSON output. - Correct Answers ✅-o along with the jsonpath value. kubectl get svc -o jsonpath App Engine traffic can be split by: - Correct Answers ✅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. - Correct Answers ✅The dry-run flag
The command to list the current configuration for gcloud. - Correct Answers ✅gcloud config list Why can't Cloud Storage objects be changed? - Correct Answers ✅They are immutable. Mounted directories that are accessible from inside containers. - Correct Answers ✅Volumes A tool that helps estimate costs. - Correct Answers ✅Pricing Calculator The thing that is attached to a project so that you can pay for resources.
kubectl create secret Interfaces for interacting with Google Cloud. - Correct Answers ✅- Directly to the REST APIA Kubernetes concept that represents the smallest unit of deployment.
kubectl get deployments A common protocol and port used to connect to a Windows instance. - Correct Answers ✅RDP over port 3389. The command to copy files to and from Cloud Storage. - Correct Answers ✅gsutil cp Google's infrastructure as code service. - Correct Answers ✅Deployment manager Google's horizontally scalable SQL database. - Correct Answers ✅Spanner NoSQL's realtime database. - Correct Answers ✅Firebase Realtime Database Tool that exists in the Console allowing terminal access. - Correct Answers ✅Cloud ShellThe scenario ruled out SQL. D. Cloud Datastore Why is this correct? Datastore can be queried, it's fully managed, and is a great option for catalog based applications. Datastore also supports a basic query/filter syntax. Your development team has asked you to set up an external TCP load balancer with SSL offload. Which load balancer should you use? A. SSL proxy B. HTTP load balancer C. TCP proxy D. HTTPS load balancer - Correct Answers ✅A. SSL proxy Why is this correct? The SSL proxy meets all the criteria. D. HTTPS load balancer Why is this incorrect HTTP(s) is a higher level protocol than TCP. The best option is to use the SSL proxy.
Your company has hired a third-party analytics company to help find patterns in user data. Your development team has generated a file containing only the data they've requested; which includes personally identifiable information. What is the best way to share the data with the other company? A. Create a new user for the company and grant them access to the original data source for them to query. B. Send the file through email. C. Put the data on Cloud Storage and generate a signed URL that will expire in one hour, and securely share the URL. D. Put the data on Cloud Storage in a public bucket and securely share the URL. - Correct Answers ✅B. Send the file through email. Why is this incorrect? This is a big no! Even if the customer is using encrypted email, don't risk letting sensitive data sit out on a contractor's personal devices. C. Put the data on Cloud Storage and generate a signed URL that will expire in one hour, and securely share the URL. Why is this correct? This will allow anyone with the URL to access the data for an hour. You have an App Engine application serving as your front-end. It's going to publish messages to Pub/Sub. The Pub/Sub API hasn't been enabled yet. What is the fastest way to enable the API?
Why is this incorrect? The load balancer doesn't have any impact on this scenario. The autoscaler averages the CPU usage of the entire group, so one instance could be higher than the usage threshold. D. The average CPU for the entire instance group is below 60%. Why is this correct? The autoscaler averages the CPU usage of the entire group. so one instance could be higher than the usage threshold. Your manager needs you to test out the latest version of MS-SQL on a Windows instance. You've created the VM and need to connect into the instance. What steps should you follow to connect to the instance? A. Generate a Windows password in the console, then use a client capable of communicating via RDP and provide the credentials. B. Generate a Windows password in the console, then use the RDP button to connect in through the console. C. Connect in with your own RDP client using your Google Cloud username and password. D. From the console click the SSH button to automatically connect. - Correct Answers ✅A. Generate a Windows password in the console, then use a client capable of communicating via RDP and provide the credentials.
Why is this correct? Before connecting into a Windows instance you need to have a password generated. Then you can use any RDP client you want. There isn't an RDP client built into the console at the time this question was created. D. From the console click the SSH button to automatically connect. Why is this incorrect? Windows instances don't use SSH, at least by default. They use RDP. You've created a bucket to store some data archives for compliance. The data isn't likely to need to be viewed. However, you need to store it for at least 7 years. What is the best default storage class? A. Multi-regional B. Coldline C. Regional D. Nearline - Correct Answers ✅B. Coldline Why is this correct? Coldline storage is an ideal storage class for archives. C. Regional Why is this incorrect?