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

Page 6 of 74

You have one GCP account running in your default region and zone and another account running in a non-default region and zone. You want to start a new Compute Engine instance in these two Google Cloud Platform accounts using the command line interface.
What should you do?

  1. Create two configurations using gcloud config configurations create [NAME]. Run gcloud config configurations activate [NAME] to switch between accounts when running the commands to start the Compute Engine instances.
  2. Create two configurations using gcloud config configurations create [NAME]. Run gcloud configurations list to start the Compute Engine instances.
  3. Activate two configurations using gcloud configurations activate [NAME]. Run gcloud config list to start the Compute Engine instances.
  4. Activate two configurations using gcloud configurations activate [NAME]. Run gcloud configurations list to start the Compute Engine instances.

Answer(s): A

Explanation:

"Run gcloud configurations list to start the Compute Engine instances". How the heck are you expecting to "start" GCE instances doing "configuration list".

Each gcloud configuration has a 1 to 1 relationship with the region (if a region is defined). Since we have two different regions, we would need to create two separate configurations using gcloud config configurations create
Ref: https://cloud.google.com/sdk/gcloud/reference/config/configurations/create

Secondly, you can activate each configuration independently by running gcloud config configurations activate [NAME]
Ref: https://cloud.google.com/sdk/gcloud/reference/config/configurations/activate

Finally, while each configuration is active, you can run the gcloud compute instances start [NAME] command to start the instance in the configurations region. https://cloud.google.com/sdk/gcloud/reference/compute/instances/start



You significantly changed a complex Deployment Manager template and want to confirm that the dependencies of all defined resources are properly met before committing it to the project. You want the most rapid feedback on your changes.
What should you do?

  1. Use granular logging statements within a Deployment Manager template authored in Python.
  2. Monitor activity of the Deployment Manager execution on the Stackdriver Logging page of the GCP Console.
  3. Execute the Deployment Manager template against a separate project with the same configuration, and monitor for failures.
  4. Execute the Deployment Manager template using the ­-preview option in the same project, and observe the state of interdependent resources.

Answer(s): D


Reference:

https://cloud.google.com/deployment-manager/docs/deployments/updating- deployments



You are building a pipeline to process time-series data.
Which Google Cloud Platform services should you put in boxes 1,2,3, and 4?

  1. Cloud Pub/Sub, Cloud Dataflow, Cloud Datastore, BigQuery
  2. Firebase Messages, Cloud Pub/Sub, Cloud Spanner, BigQuery
  3. Cloud Pub/Sub, Cloud Storage, BigQuery, Cloud Bigtable
  4. Cloud Pub/Sub, Cloud Dataflow, Cloud Bigtable, BigQuery

Answer(s): D


Reference:

https://cloud.google.com/solutions/correlating-time-series-dataflow https://cloud.google.com/blog/products/data-analytics/handling-duplicate-data-in-streaming- pipeline-using-pubsub-dataflow https://cloud.google.com/bigtable/docs/schema-design-time-series



You have a project for your App Engine application that serves a development environment. The required testing has succeeded and you want to create a new project to serve as your production environment.
What should you do?

  1. Use gcloud to create the new project, and then deploy your application to the new project.
  2. Use gcloud to create the new project and to copy the deployed application to the new project.
  3. Create a Deployment Manager configuration file that copies the current App Engine deployment into a new project.
  4. Deploy your application again using gcloud and specify the project parameter with the new project name to create the new project.

Answer(s): A

Explanation:

You can deploy to a different project by using ­project flag. By default, the service is deployed the current project configured via:

$ gcloud config set core/project PROJECT
To override this value for a single deployment, use the ­project flag:
$ gcloud app deploy ~/my_app/app.yaml ­project=PROJECT

Ref: https://cloud.google.com/sdk/gcloud/reference/app/deploy






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

Google Associate Cloud Engineer Discussions & Posts