Free Google Cloud Architect Professional Exam Braindumps (page: 28)

Page 27 of 68

You are creating a solution to remove backup files older than 90 days from your backup Cloud Storage bucket. You want to optimize ongoing Cloud Storage spend.
What should you do?

  1. Write a lifecycle management rule in XML and push it to the bucket with gsutil.
  2. Write a lifecycle management rule in JSON and push it to the bucket with gsutil.
  3. Schedule a cron script using gsutil is -lr gs://backups/** to find and remove items older than 90 days.
  4. Schedule a cron script using gsutil ls -1 gs://backups/** to find and remove items older than 90 days and schedule it with cron.

Answer(s): B

Explanation:

https://cloud.google.com/storage/docs/gsutil/commands/lifecycle



Your development team has installed a new Linux kernel module on the batch servers in Google Compute Engine (GCE) virtual machines (VMs) to speed up the nightly batch process. Two days after the installation, 50% of web application deployed in the same nightly batch run. You want to collect details on the failure to pass back to the development team.
Which three actions should you take? Choose 3 answers

  1. Use Stackdriver Logging to search for the module log entries.
  2. Read the debug GCE Activity log using the API or Cloud Console.
  3. Use gcloud or Cloud Console to connect to the serial console and observe the logs.
  4. Identify whether a live migration event of the failed server occurred, using in the activity log.
  5. Adjust the Google Stackdriver timeline to match the failure time, and observe the batch server metrics.
  6. Export a debug VM into an image, and run the image on a local server where kernel log messages will be displayed on the native screen.

Answer(s): A,C,E

Explanation:

https://www.flexera.com/blog/cloud/2013/12/google-compute-engine-live-migration-passes-the- test/

"With live migration, the virtual machines are moved without any downtime or noticeable service degradation"



Your company wants to try out the cloud with low risk. They want to archive approximately 100 TB of their log data to the cloud and test the analytics features available to them there, while also retaining that data as a long-term disaster recovery backup.
Which two steps should they take? Choose 2 answers

  1. Load logs into Google BigQuery.
  2. Load logs into Google Cloud SQL.
  3. Import logs into Google Stackdriver.
  4. Insert logs into Google Cloud Bigtable.
  5. Upload log files into Google Cloud Storage.

Answer(s): A,E



You set up an autoscaling instance group to serve web traffic for an upcoming launch. After configuring the instance group as a backend service to an HTTP(S) load balancer, you notice that virtual machine (VM) instances are being terminated and re-launched every minute. The instances do not have a public IP address. You have verified the appropriate web response is coming from each instance using the curl command. You want to ensure the backend is configured correctly.
What should you do?

  1. Ensure that a firewall rule exists to allow source traffic on HTTP/HTTPS to reach the load balancer.
  2. Assign a public IP to each instance and configure a firewall rule to allow the load balancer to reach the instance public IP.
  3. Ensure that a firewall rule exists to allow load balancer health checks to reach the instances in the instance group.
  4. Create a tag on each instance with the name of the load balancer. Configure a firewall rule with the name of the load balancer as the source and the instance tag as the destination.

Answer(s): C

Explanation:

https://cloud.google.com/vpc/docs/using-firewalls

The best practice when configuration a health check is to check health and serve traffic on the same port. However, it is possible to perform health checks on one port, but serve traffic on another. If you do use two different ports, ensure that firewall rules and services running on instances are configured appropriately. If you run health checks and serve traffic on the same port, but decide to switch ports at some point, be sure to update both the backend service and the health check.

Backend services that do not have a valid global forwarding rule referencing it will not be health checked and will have no health status.


Reference:

https://cloud.google.com/compute/docs/load-balancing/http/backend-service






Post your Comments and Discuss Google Google Cloud Architect Professional exam with other Community members:

Google Cloud Architect Professional Discussions & Posts