Question 6 of 132

You are setting up a Bare Metal Solution environment. You need to update the operating system to the latest version. You need to connect the Bare Metal Solution environment to the internet so you can receive software updates. What should you do?

    Correct Answer: C

    To connect a Bare Metal Solution environment to the internet for the purpose of receiving software updates, the appropriate action is to set up a NAT gateway on a Compute Engine VM. This involves configuring a VM to handle network address translation for outbound traffic from the Bare Metal Solution environment to the internet. This setup allows the Bare Metal servers to access the internet securely and efficiently without assigning public IP addresses directly to the servers.

Question 7 of 132

Your organization is running a MySQL workload in Cloud SQL. Suddenly you see a degradation in database performance. You need to identify the root cause of the performance degradation. What should you do?

    Correct Answer: B

    To identify the root cause of a performance degradation in a MySQL workload running on Cloud SQL, it is essential to monitor key metrics such as CPU, memory, and storage utilization. Cloud Monitoring provides detailed insights into these metrics, helping to pinpoint any resource constraints or bottlenecks that may be causing the performance issues. This makes Cloud Monitoring the most appropriate tool for diagnosing the degradation in database performance.

Question 8 of 132

You work for a large retail and ecommerce company that is starting to extend their business globally. Your company plans to migrate to Google Cloud. You want to use platforms that will scale easily, handle transactions with the least amount of latency, and provide a reliable customer experience. You need a storage layer for sales transactions and current inventory levels. You want to retain the same relational schema that your existing platform uses. What should you do?

    Correct Answer: B

    To meet the requirements of scaling easily, handling transactions with minimal latency, providing a reliable customer experience, and retaining a relational schema, the best choice is to deploy Cloud Spanner using a multi-region instance. Cloud Spanner is a globally distributed, horizontally scalable, and strongly consistent database service designed for relational data. By deploying it with a multi-region instance and placing compute resources close to the default leader region, you ensure low latency and high availability for global operations, making it ideal for a large retail and ecommerce company's needs.

Question 9 of 132

You host an application in Google Cloud. The application is located in a single region and uses Cloud SQL for transactional data. Most of your users are located in the same time zone and expect the application to be available 7 days a week, from 6 AM to 10 PM. You want to ensure regular maintenance updates to your Cloud SQL instance without creating downtime for your users. What should you do?

    Correct Answer: D

    Configuring your Cloud SQL instance with high availability enabled ensures that there is minimal to no downtime during maintenance. High availability setups employ automated failover and maintenance procedures that do not affect the availability of your application. By enabling high availability, you ensure that maintenance activities are performed smoothly without impacting the user's access to the application, even during the maintenance window.

Question 10 of 132

Your team recently released a new version of a highly consumed application to accommodate additional user traffic. Shortly after the release, you received an alert from your production monitoring team that there is consistently high replication lag between your primary instance and the read replicas of your Cloud SQL for MySQL instances. You need to resolve the replication lag. What should you do?

    Correct Answer: A

    To resolve the replication lag in your Cloud SQL for MySQL instances, it is crucial to identify and optimize slow running queries or set parallel replication flags. By optimizing slow queries, you can reduce the load on the primary instance and the replicas, thereby decreasing the replication lag. Additionally, using parallel replication can enhance the throughput, minimizing the delay between the primary and the read replicas. Other approaches such as upgrading hardware resources (vCPU, memory, or disk size) may not directly address the root cause of the lag and can only serve as temporary fixes.