Question.41 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? (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. |
41. Click here to View Answer
Correct Answer: A
Question.42 You have 32 GB of data in a single file that you need to upload to a Nearline Storage bucket. The WAN connection you are using is rated at 1 Gbps, and you are the only one on the connection. You want to use as much of the rated 1 Gbps as possible to transfer the file rapidly. How should you upload the file? (A) Use the GCP Console to transfer the file instead of gsutil. (B) Enable parallel composite uploads using gsutil on the file transfer. (C) Decrease the TCP window size on the machine initiating the transfer. (D) Change the storage class of the bucket from Nearline to Multi-Regional. |
42. Click here to View Answer
Correct Answer: B
Question.43 You’ve deployed a microservice called myapp1 to a Google Kubernetes Engine cluster using the YAML file specified below: ![]() You need to refactor this configuration so that the database password is not stored in plain text. You want to follow Google-recommended practices. What should you do? (A) Store the database password inside the Docker image of the container, not in the YAML file. (B) Store the database password inside a Secret object. Modify the YAML file to populate the DB_PASSWORD environment variable from the Secret. (C) Store the database password inside a ConfigMap object. Modify the YAML file to populate the DB_PASSWORD environment variable from the ConfigMap. (D) Store the database password in a file inside a Kubernetes persistent volume, and use a persistent volume claim to mount the volume to the container. |
43. Click here to View Answer
Correct Answer: B
Question.44 You are running an application on multiple virtual machines within a managed instance group and have autoscaling enabled. The autoscaling policy is configured so that additional instances are added to the group if the CPU utilization of instances goes above 80%. VMs are added until the instance group reaches its maximum limit of five VMs or until CPU utilization of instances lowers to 80%. The initial delay for HTTP health checks against the instances is set to 30 seconds. The virtual machine instances take around three minutes to become available for users. You observe that when the instance group autoscales, it adds more instances then necessary to support the levels of end-user traffic. You want to properly maintain instance group sizes when autoscaling. What should you do? (A) Set the maximum number of instances to 1. (B) Decrease the maximum number of instances to 3. (C) Use a TCP health check instead of an HTTP health check. (D) Increase the initial delay of the HTTP health check to 200 seconds. |
44. Click here to View Answer
Correct Answer: D
Question.45 You need to select and configure compute resources for a set of batch processing jobs. These jobs take around 2 hours to complete and are run nightly. You want to minimize service costs. What should you do? (A) Select Google Kubernetes Engine. Use a single-node cluster with a small instance type. (B) Select Google Kubernetes Engine. Use a three-node cluster with micro instance types. (C) Select Compute Engine. Use preemptible VM instances of the appropriate standard machine type. (D) Select Compute Engine. Use VM instance types that support micro bursting. |
45. Click here to View Answer
Correct Answer: C