There is also “Associate Cloud Engineer 模擬問題集(2020.06.03)” of Japanese translation.
Google Cloud Certified – Associate Cloud Engineer Practice Exam (Q 42)
v2020-03-02
QUESTION 1
You are using multiple configurations for gcloud. You want to review the configured Google Kubernetes Engine cluster of an inactive configuration using the fewest possible steps.
What should you do?
- A. Use gcloud config configurations describe to review the output.
- B. Use gcloud config configurations activate and gcloud config list to review the output.
- C. Use kubectl config get-contexts to review the output.
- D. Use kubectl config use-context and kubectl config view to review the output.
Correct Answer: D
Reference:
– medium: Kubernetes Engine: kubectl config
– kubernetes: Kubectl context and configuration
QUESTION 2
You are deploying an application to Google App Engine. You want the number of instances to scale based on request rate. You need at least 3 unoccupied instances at all times.
Which scaling type should you use?
- A. Manual Scaling with 3 instances.
- B. Basic Scaling with min_instances set to 3.
- C. Basic Scaling with max_instances set to 3.
- D. Automatic Scaling with min_idle_instances set to 3.
Correct Answer: D
Reference:
– App Engine: How Instances are Managed
QUESTION 3
You have a Dockerfile that you need to deploy on Google Kubernetes Engine.
What should you do?
- A. Use kubectl app deploy .
- B. Use gcloud app deploy .
- C. Create a docker image from the Dockerfile and upload it to Google Container Registry. Create a deployment.yaml file to point to that image. Use kubectl to create the deployment with that file.
- D. Create a docker image from the Dockerfile and upload it to Google Cloud Storage. Create a deployment.yaml file to point to that image. Use kubectl to create the deployment with that file.