Google Associate Cloud Engineer Exam Practice Questions (P. 3)
- Full Access (294 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #11
You need a dynamic way of provisioning VMs on Compute Engine. The exact specifications will be in a dedicated configuration file. You want to follow Google's recommended practices. Which method should you use?
- ADeployment ManagerMost Voted
- BCloud Composer
- CManaged Instance Group
- DUnmanaged Instance Group
Correct Answer:
C
Reference:
https://cloud.google.com/compute/docs/instances/
C
Reference:
https://cloud.google.com/compute/docs/instances/
send
light_mode
delete
Question #12
You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?
- AUse kubectl app deploy <dockerfilename>.
- BUse gcloud app deploy <dockerfilename>.
- CCreate a docker image from the Dockerfile and upload it to Container Registry. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file.Most Voted
- DCreate a docker image from the Dockerfile and upload it to Cloud Storage. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file.
Correct Answer:
C
Reference -
https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app
C
Reference -
https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app
send
light_mode
delete
Question #13
Your development team needs a new Jenkins server for their project. You need to deploy the server using the fewest steps possible. What should you do?
- ADownload and deploy the Jenkins Java WAR to App Engine Standard.
- BCreate a new Compute Engine instance and install Jenkins through the command line interface.
- CCreate a Kubernetes cluster on Compute Engine and create a deployment with the Jenkins Docker image.
- DUse GCP Marketplace to launch the Jenkins solution.Most Voted
Correct Answer:
D
Reference:
https://cloud.google.com/solutions/using-jenkins-for-distributed-builds-on-compute-engine
D
Reference:
https://cloud.google.com/solutions/using-jenkins-for-distributed-builds-on-compute-engine
send
light_mode
delete
Question #14
You need to update a deployment in Deployment Manager without any resource downtime in the deployment. Which command should you use?
- Agcloud deployment-manager deployments create --config <deployment-config-path>
- Bgcloud deployment-manager deployments update --config <deployment-config-path>Most Voted
- Cgcloud deployment-manager resources create --config <deployment-config-path>
- Dgcloud deployment-manager resources update --config <deployment-config-path>
Correct Answer:
B
Reference:
https://cloud.google.com/sdk/gcloud/reference/deployment-manager/deployments/update
B
Reference:
https://cloud.google.com/sdk/gcloud/reference/deployment-manager/deployments/update
send
light_mode
delete
Question #15
You need to run an important query in BigQuery but expect it to return a lot of records. You want to find out how much it will cost to run the query. You are using on-demand pricing. What should you do?
- AArrange to switch to Flat-Rate pricing for this query, then move back to on-demand.
- BUse the command line to run a dry run query to estimate the number of bytes read. Then convert that bytes estimate to dollars using the Pricing Calculator.Most Voted
- CUse the command line to run a dry run query to estimate the number of bytes returned. Then convert that bytes estimate to dollars using the Pricing Calculator.
- DRun a select count (*) to get an idea of how many records your query will look through. Then convert that number of rows to dollars using the Pricing Calculator.
Correct Answer:
B
Reference:
https://cloud.google.com/bigquery/docs/estimate-costs
B
Reference:
https://cloud.google.com/bigquery/docs/estimate-costs
send
light_mode
delete
All Pages