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

Page 12 of 69

You recently deployed a new version of an application to App Engine and then discovered a bug in the release. You need to immediately revert to the prior version of the application.
What should you do?

  1. Run gcloud app restore.
  2. On the App Engine page of the GCP Console, select the application that needs to be reverted and click Revert.
  3. On the App Engine Versions page of the GCP Console, route 100% of the traffic to the previous version.
  4. Deploy the original version as a separate application. Then go to App Engine settings and split traffic between applications so that the original version serves 100% of the requests.

Answer(s): C


Reference:

https://medium.com/google-cloud/app-engine-project-cleanup-9647296e796a



You deployed an App Engine application using gcloud app deploy, but it did not deploy to the intended project. You want to find out why this happened and where the application deployed.
What should you do?

  1. Check the app.yaml file for your application and check project settings.
  2. Check the web-application.xml file for your application and check project settings.
  3. Go to Deployment Manager and review settings for deployment of applications.
  4. Go to Cloud Shell and run gcloud config list to review the Google Cloud configuration used for deployment.

Answer(s): D

Explanation:

C:\GCP\appeng>gcloud config list

[core]

account = xxx@gmail.com disable_usage_reporting = False project = my-first-demo-xxxx https://cloud.google.com/endpoints/docs/openapi/troubleshoot-gce-deployment



You want to configure 10 Compute Engine instances for availability when maintenance occurs. Your requirements state that these instances should attempt to automatically restart if they crash. Also, the instances should be highly available including during system maintenance.
What should you do?

  1. Create an instance template for the instances. Set the `Automatic Restart' to on. Set the `On-host maintenance' to Migrate VM instance. Add the instance template to an instance group.
  2. Create an instance template for the instances. Set `Automatic Restart' to off. Set `On-host maintenance' to Terminate VM instances. Add the instance template to an instance group.
  3. Create an instance group for the instances. Set the `Autohealing' health check to healthy (HTTP).
  4. Create an instance group for the instance. Verify that the `Advanced creation options' setting for `do not retry machine creation' is set to off.

Answer(s): A

Explanation:

Create an instance template for the instances so VMs have same specs. Set the "~Automatic Restart' to on to VM automatically restarts upon crash. Set the "~On-host maintenance' to Migrate VM instance. This will take care of VM during maintenance window. It will migrate VM instance making it highly available Add the instance template to an instance group so instances can be managed.

- onHostMaintenance: Determines the behavior when a maintenance event occurs that might cause your instance to reboot.

- [Default] MIGRATE, which causes Compute Engine to live migrate an instance when there is a maintenance event.

- TERMINATE, which stops an instance instead of migrating it.

- automaticRestart: Determines the behavior when an instance crashes or is stopped by the system.

- [Default] true, so Compute Engine restarts an instance if the instance crashes or is stopped.

- false, so Compute Engine does not restart an instance if the instance crashes or is stopped.

Enabling automatic restart ensures that compute engine instances are automatically restarted when they crash. And Enabling Migrate VM Instance enables live migrates i.e. compute instances are migrated during system maintenance and remain running during the migration.

Automatic Restart If your instance is set to terminate when there is a maintenance event, or if your instance crashes because of an underlying hardware issue, you can set up Compute Engine to automatically restart the instance by setting the automaticRestart field to true. This setting does not apply if the instance is taken offline through a user action, such as calling sudo shutdown, or during a zone outage.


Reference:

https://cloud.google.com/compute/docs/instances/setting-instance-scheduling-

options#autorestart

Enabling the Migrate VM Instance option migrates your instance away from an infrastructure maintenance event, and your instance remains running during the migration. Your instance might experience a short period of decreased performance, although generally, most instances should not notice any difference. This is ideal for instances that require constant uptime and can tolerate a short period of decreased performance.

https://cloud.google.com/compute/docs/instances/setting-instance-scheduling- options#live_migrate



You host a static website on Cloud Storage. Recently, you began to include links to PDF files on this site. Currently, when users click on the links to these PDF files, their browsers prompt them to save the file onto their local system. Instead, you want the clicked PDF files to be displayed within the browser window directly, without prompting the user to save the file locally.
What should you do?

  1. Enable Cloud CDN on the website frontend.
  2. Enable `Share publicly' on the PDF file objects.
  3. Set Content-Type metadata to application/pdf on the PDF file objects.
  4. Add a label to the storage bucket with a key of Content-Type and value of application/pdf.

Answer(s): C

Explanation:

https://developer.mozilla.org/en-
US/docs/Web/HTTP/Basics_of_HTTP/MIME_Types#importance_of_setting_the_correct_mime_type



Page 12 of 69



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

Narasimha commented on December 21, 2024
it is helpful for ACE GCP Exsm
INDIA
upvote

Preeti commented on December 20, 2024
How many questions in exam was from dump who give exam recently?
INDIA
upvote

Preeti commented on December 20, 2024
Have any of you taken the exam recently and passed just by using this dump?
INDIA
upvote

Sultan commented on December 04, 2024
Helpful for clearing ACE exam
Anonymous
upvote

Mike commented on November 19, 2024
In my opinion, they work well for me, but it depends on how you approach them. My method isn't about memorizing the exact questions and answers from the practice tests to use on the real exam. Instead, I focus on understanding why I got certain questions wrong so I can deepen my comprehension of the material.
EUROPEAN UNION
upvote

Prabhat Kumar commented on November 06, 2024
Google Google Associate Cloud Engineer
EUROPEAN UNION
upvote

Shawn commented on October 24, 2024
As you must know by now the exam is extremely hard. The only way to pass is to know the questions and answers and I found these dump questions very relevant to actual exam.
Canada
upvote

Soniksha commented on October 10, 2024
I purchased the full version of this exam and it turned out quire accurate. I passed with the help of this exam.
UNITED STATES
upvote

Paras Gupta commented on September 17, 2024
great it a good course
Anonymous
upvote

Chesare commented on September 12, 2024
Have any of you taken the exam recently and passed just by using this dump?
MEXICO
upvote

kkraj commented on September 11, 2024
start to preparing the exam
Anonymous
upvote

Thanvi commented on August 29, 2024
Preparing for the exam
Anonymous
upvote

Thanvi commented on August 29, 2024
checking questions
Anonymous
upvote

Vinay G commented on July 24, 2024
Preparing for the exam
Anonymous
upvote

gk commented on July 14, 2024
checking questions
UNITED STATES
upvote

Kacha-Aloo commented on June 18, 2022
The questions are valid in this exam dumps. I passed my exam yesterday. Now going to enjoy some cricket.
INDIA
upvote

Cow-Toy commented on August 06, 2021
I wrote my exam this morning and pass with a 78% mark. While practicing with the Xengine Simulator I kept getting 85% and more but in real exam I got 78%. This means that about 5% of the answers are wrong. Or I got them wrong. Regardlesss I passed.
UNITED STATES
upvote

Nerd-Boy commented on December 23, 2020
I got by buy 1 get 1 free deal. I passed my first exam today. Going for next one. It looks like due to COVID-19, it is easier to pass your certification exam.
UNITED STATES
upvote