Pass the Google Google Cloud Certified Associate-Cloud-Engineer Questions and answers with CertsForce

Viewing page 10 out of 10 pages
Viewing questions 91-100 out of questions
Questions # 91:

Your company has a 3-tier solution running on Compute Engine. The configuration of the current infrastructure is shown below.

Question # 91

Each tier has a service account that is associated with all instances within it. You need to enable communication on TCP port 8080 between tiers as follows:

• Instances in tier #1 must communicate with tier #2.

• Instances in tier #2 must communicate with tier #3.

What should you do?

Options:

A.

1. Create an ingress firewall rule with the following settings:• Targets: all instances• Source filter: IP ranges (with the range set to 10.0.2.0/24)• Protocols: allow all2. Create an ingress firewall rule with the following settings:• Targets: all instances• Source filter: IP ranges (with the range set to 10.0.1.0/24)• Protocols: allow all


B.

1. Create an ingress firewall rule with the following settings:• Targets: all instances with tier #2 service account• Source filter: all instances with tier #1 service account• Protocols: allow TCP:80802. Create an ingress firewall rule with the following settings:• Targets: all instances with tier #3 service account• Source filter: all instances with tier #2 service account• Protocols: allow TCP: 8080


C.

1. Create an ingress firewall rule with the following settings:• Targets: all instances with tier #2 service account• Source filter: all instances with tier #1 service account• Protocols: allow all2. Create an ingress firewall rule with the following settings:• Targets: all instances with tier #3 service account• Source filter: all instances with tier #2 service account• Protocols: allow all


D.

1. Create an egress firewall rule with the following settings:• Targets: all instances• Source filter: IP ranges (with the range set to 10.0.2.0/24)• Protocols: allow TCP: 80802. Create an egress firewall rule with the following settings:• Targets: all instances• Source filter: IP ranges (with the range set to 10.0.1.0/24)• Protocols: allow TCP: 8080


Expert Solution
Questions # 92:

You have an instance group that you want to load balance. You want the load balancer to terminate the client SSL session. The instance group is used to serve a public web application over HTTPS. You want to follow Google-recommended practices. What should you do?

Options:

A.

Configure an HTTP(S) load balancer.


B.

Configure an internal TCP load balancer.


C.

Configure an external SSL proxy load balancer.


D.

Configure an external TCP proxy load balancer.


Expert Solution
Questions # 93:

You want to enable your development team to deploy new features to an existing Cloud Run service in production. To minimize the risk associated with a new revision, you want to reduce the number ofcustomers who might be affected by an outage without introducing any development or operational costs to your customers. You want to follow Google-recommended practices for managing revisions to a service. What should you do9

Options:

A.

Deploy your application to a second Cloud Run service, and ask your customers to use the second Cloud Run service.


B.

Ask your customers to retry access to your service with exponential backoff to mitigate any potential problems after the new revision is deployed.


C.

Gradually roll out the new revision and split customer traffic between the revisions to allow rollback in case a problem occurs.


D.

Send all customer traffic to the new revision, and roll back to a previous revision if you witness any problems in production.


Expert Solution
Questions # 94:

You are developing a new application and are looking for a Jenkins installation to build and deploy your source code. You want to automate the installation as quickly and easily as possible. What should you do?

Options:

A.

Deploy Jenkins through the Google Cloud Marketplace.


B.

Create a new Compute Engine instance. Run the Jenkins executable.


C.

Create a new Kubernetes Engine cluster. Create a deployment for the Jenkins image.


D.

Create an instance template with the Jenkins executable. Create a managed instance group with this template.


Expert Solution
Questions # 95:

You are managing a project for the Business Intelligence (BI) department in your company. A data pipeline ingests data into BigQuery via streaming. You want the users in the BI department to be able to run the custom SQL queries against the latest data in BigQuery. What should you do?

Options:

A.

Create a Data Studio dashboard that uses the related BigQuery tables as a source and give the BI team view access to the Data Studio dashboard.


B.

Create a Service Account for the BI team and distribute a new private key to each member of the BI team.


C.

Use Cloud Scheduler to schedule a batch Dataflow job to copy the data from BigQuery to the BI team's internal data warehouse.


D.

Assign the IAM role of BigQuery User to a Google Group that contains the members of the BI team.


Expert Solution
Questions # 96:

You are deploying an application to App Engine. You want the number of instances to scale based on request rate. You need at least 3 unoccupied instances at all times. Which scaling type should you use?

Options:

A.

Manual Scaling with 3 instances.


B.

Basic Scaling with min_instances set to 3.


C.

Basic Scaling with max_instances set to 3.


D.

Automatic Scaling with min_idle_instances set to 3.


Expert Solution
Questions # 97:

You have created a new project in Google Cloud through the gcloud command line interface (CLI) and linked a billing account. You need to create a new Compute

Engine instance using the CLI. You need to perform the prerequisite steps. What should you do?

Options:

A.

Create a Cloud Monitoring Workspace.


B.

Create a VPC network in the project.


C.

Enable the compute googleapis.com API.


D.

Grant yourself the IAM role of Compute Admin.


Expert Solution
Viewing page 10 out of 10 pages
Viewing questions 91-100 out of questions