You want to send and consume Cloud Pub/Sub messages from your App Engine application. The Cloud Pub/Sub API is currently disabled. You will use a service account to authenticate your application to the API. You want to make sure your application can use Cloud Pub/Sub. What should you do?
Answer(s): A
Quickstart: using the Google Cloud ConsoleThis page shows you how to perform basic tasks in Pub/Sub using the Google Cloud Console.Note: If you are new to Pub/Sub, we recommend that you start with the interactive tutorial.Before you beginSet up a Cloud Console project.Set up a projectClick to:Create or select a project.Enable the Pub/Sub API for that project.You can view and manage these resources at any time in the Cloud Console.Install and initialize the Cloud SDK.Note: You can run the gcloud tool in the Cloud Console without installing the Cloud SDK. To run the gcloud tool in the Cloud Console, use Cloud Shell .https://cloud.google.com/pubsub/docs/quickstart-console
You need to monitor resources that are distributed over different projects in Google Cloud Platform. You want to consolidate reporting under the same Stackdriver Monitoring dashboard. What should you do?
Answer(s): C
When you intially click on Monitoring(Stackdriver Monitoring) it creates a workspac(a stackdriver account) linked to the ACTIVE(CURRENT) Project from which it was clicked.Now if you change the project and again click onto Monitoring it would create an another workspace(a stackdriver account) linked to the changed ACTIVE(CURRENT) Project, we don't want this as this would not consolidate our result into a single dashboard(workspace/stackdriver account).If you have accidently created two diff workspaces merge them under Monitoring > Settings > Merge Workspaces > MERGE.If we have only one workspace and two projects we can simply add other GCP Project under Monitoring > Settings > GCP Projects > Add GCP Projects.https://cloud.google.com/monitoring/settings/multiple-projects Nothing about groups https://cloud.google.com/monitoring/settings?hl=en
You are deploying an application to a Compute Engine VM in a managed instance group. The application must be running at all times, but only a single instance of the VM should run per GCP project. How should you configure the instance group?
https://cloud.google.com/compute/docs/autoscaler#specificationsAutoscaling works independently from autohealing. If you configure autohealing for your group and an instance fails the health check, the autohealer attempts to recreate the instance. Recreating an instance can cause the number of instances in the group to fall below the autoscaling threshold (minNumReplicas) that you specify.Since we need the application running at all times, we need a minimum 1 instance. Only a single instance of the VM should run, we need a maximum 1 instance. We want the application running at all times. If the VM crashes due to any underlying hardware failure, we want another instance to be added to MIG so that application can continue to serve requests. We can achieve this by enabling autoscaling. The only option that satisfies these three is Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 1.Ref: https://cloud.google.com/compute/docs/autoscaler
You want to verify the IAM users and roles assigned within a GCP project named my-project. What should you do?
Logged onto console and followed the steps and was able to see all the assigned users and roles.
You need to create a new billing account and then link it with an existing Google Cloud Platform project. What should you do?
Answer(s): B
Billing Administrators can not create a new billing account, and the project is presumably already created. Project Billing Manager allows you to link the created billing account to the project. It is vague on how the billing account gets created but by process of elimination
Share your comments for Google Associate Cloud Engineer exam with other users:
ans is coldline i think
totally not correct answers. 21. 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? correct: 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.
answer 10 should be a because only a new project will be created & the organization is the same.
answer 16 should be b your organizational policies require you to use virtual machines directly
the explanation are really helpful
what is the percentage of common questions in gcp exam compared to 197 dump questions? are they 100% matching with real gcp exam?