Free Google Associate Cloud Engineer Exam Braindumps (page: 5)

Page 4 of 74

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?

  1. Download and deploy the Jenkins Java WAR to App Engine Standard.
  2. Create a new Compute Engine instance and install Jenkins through the command line interface.
  3. Create a Kubernetes cluster on Compute Engine and create a deployment with the Jenkins Docker image.
  4. Use GCP Marketplace to launch the Jenkins solution.

Answer(s): D


Reference:

https://cloud.google.com/solutions/using-jenkins-for-distributed-builds-on-compute- engine



You need to update a deployment in Deployment Manager without any resource downtime in the deployment.
Which command should you use?

  1. gcloud deployment-manager deployments create --config <deployment-config-path>
  2. gcloud deployment-manager deployments update --config <deployment-config-path>
  3. gcloud deployment-manager resources create --config <deployment-config-path>
  4. gcloud deployment-manager resources update --config <deployment-config-path>

Answer(s): B


Reference:

https://cloud.google.com/sdk/gcloud/reference/deployment- manager/deployments/update



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?

  1. Arrange to switch to Flat-Rate pricing for this query, then move back to on-demand.
  2. Use 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.
  3. Use 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.
  4. Run 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.

Answer(s): B


Reference:

https://cloud.google.com/bigquery/docs/estimate-costs

On-demand pricing Under on-demand pricing, BigQuery charges for queries by using one metric: the number of bytes processed (also referred to as bytes read). You are charged for the number of bytes processed whether the data is stored in BigQuery or in an external data source such as Cloud Storage, Drive, or Cloud Bigtable. On-demand pricing is based solely on usage. https://cloud.google.com/bigquery/pricing#on_demand_pricing



You have a single binary application that you want to run on Google Cloud Platform. You decided to automatically scale the application based on underlying infrastructure CPU usage. Your organizational policies require you to use virtual machines directly. You need to ensure that the application scaling is operationally efficient and completed as quickly as possible.
What should you do?

  1. Create a Google Kubernetes Engine cluster, and use horizontal pod autoscaling to scale the application.
  2. Create an instance template, and use the template in a managed instance group with autoscaling configured.
  3. Create an instance template, and use the template in a managed instance group that scales up and down based on the time of day.
  4. Use a set of third-party tools to build automation around scaling the application up and down, based on Stackdriver CPU usage monitoring.

Answer(s): B

Explanation:

Managed instance groups offer autoscaling capabilities that let you automatically add or delete instances from a managed instance group based on increases or decreases in load (CPU Utilization in this case). Autoscaling helps your apps gracefully handle increases in traffic and reduce costs when the need for resources is lower. You define the autoscaling policy and the autoscaler performs automatic scaling based on the measured load (CPU Utilization in this case). Autoscaling works by adding more instances to your instance group when there is more load (upscaling), and deleting instances when the need for instances is lowered (downscaling). Ref:
https://cloud.google.com/compute/docs/autoscaler






Post your Comments and Discuss Google Google Associate Cloud Engineer exam with other Community members:

Google Associate Cloud Engineer Discussions & Posts