Google Associate Cloud Engineer Associate Cloud Engineer Exam Questions in PDF

Free Google Associate Cloud Engineer Dumps Questions (page: 7)

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?

  1. Enable the Cloud Pub/Sub API in the API Library on the GCP Console.
  2. Rely on the automatic enablement of the Cloud Pub/Sub API when the Service Account accesses it.
  3. Use Deployment Manager to deploy your application. Rely on the automatic enablement of all APIs used by the application being deployed.
  4. Grant the App Engine Default service account the role of Cloud Pub/Sub Admin. Have your application enable the API on the first connection to Cloud Pub/Sub.

Answer(s): A

Explanation:

Quickstart: using the Google Cloud Console
This 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 begin
Set up a Cloud Console project.
Set up a project

Click 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?

  1. Use Shared VPC to connect all projects, and link Stackdriver to one of the projects.
  2. For each project, create a Stackdriver account. In each project, create a service account for that project and grant it the role of Stackdriver Account Editor in all other projects.
  3. Configure a single Stackdriver account, and link all projects to the same account.
  4. Configure a single Stackdriver account for one of the projects. In Stackdriver, create a Group and add the other project names as criteria for that Group.

Answer(s): C

Explanation:

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?

  1. Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
  2. Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
  3. Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 2.
  4. Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 2.

Answer(s): A

Explanation:

https://cloud.google.com/compute/docs/autoscaler#specifications

Autoscaling 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?

  1. Run gcloud iam roles list. Review the output section.
  2. Run gcloud iam service-accounts list. Review the output section.
  3. Navigate to the project and then to the IAM section in the GCP Console. Review the members and roles.
  4. Navigate to the project and then to the Roles section in the GCP Console. Review the roles and status.

Answer(s): C

Explanation:

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?

  1. Verify that you are Project Billing Manager for the GCP project. Update the existing project to link it to the existing billing account.
  2. Verify that you are Project Billing Manager for the GCP project. Create a new billing account and link the new billing account to the existing project.
  3. Verify that you are Billing Administrator for the billing account. Create a new project and link the new project to the existing billing account.
  4. Verify that you are Billing Administrator for the billing account. Update the existing project to link it to the existing billing account.

Answer(s): B

Explanation:

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:

Q
Q44
7/30/2023 11:50:00 AM

ans is coldline i think

A
Anastasiia
12/28/2023 9:06:00 AM

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.

A
Asad Khan
11/1/2023 2:44:00 AM

answer 10 should be a because only a new project will be created & the organization is the same.

A
Asad Khan
11/1/2023 3:10:00 AM

answer 16 should be b your organizational policies require you to use virtual machines directly

T
Tar01
7/24/2023 7:07:00 PM

the explanation are really helpful

S
S Roychowdhury
6/26/2023 5:27:00 PM

what is the percentage of common questions in gcp exam compared to 197 dump questions? are they 100% matching with real gcp exam?

AI Tutor 👋 I’m here to help!