Question.1 You need to create a custom VPC with a single subnet. The subnet’s range must be as large as possible. Which range should you use? (A) 0.0.0.0/0 (B) 10.0.0.0/8 (C) 172.16.0.0/12 (D) 192.168.0.0/16 |
1. Click here to View Answer
Answer is (B)10.0.0.0/8
The question, is talking about custom VPC subnet and is not mentioning you will use automatic subnet mode creation. If you set subnet to custom, the minimum size is /8.
The private network range is defined by IETF (Ref: https://tools.ietf.org/html/rfc1918
) and adhered to by all cloud providers. The supported internal IP Address ranges are;
1. 24-bit block 10.0.0.0/8 (16777216 IP Addresses)
2. 20-bit block 172.16.0.0/12 (1048576 IP Addresses)
3. 16-bit block 192.168.0.0/16 (65536 IP Addresses)
10.0.0.0/8 gives you the most extensive range – 16777216 IP Addresses.
Question.2 Several employees at your company have been creating projects with Cloud Platform and paying for it with their personal credit cards, which the company reimburses. The company wants to centralize all these projects under a single, new billing account. What should you do? (A) Contact cloud-billing@google.com with your bank account details and request a corporate billing account for your company. (B) Create a ticket with Google Support and wait for their call to share your credit card details over the phone. (C) In the Google Platform Console, go to the Resource Manage and move all projects to the root Organizarion. (D) In the Google Cloud Platform Console, create a new billing account and set up a payment method. |
2. Click here to View Answer
Answer is (D) In the Google Cloud Platform Console, create a new billing account and set up a payment method.
The question is under the organization different projects are maintained the different cloud platforms.all the different project should single corporate bill account instead of the employee billing account. So try to update the corporate bill account details and mark it as primary for the all projects, post that employee account details need to removed.
Option A is incorrect because you cannot request a corporate billing account by emailing cloud-billing@google.com. This email address is for general billing inquiries and support.
Option B is incorrect because you cannot create a ticket with Google Support to share your credit card details over the phone. To set up a payment method for a billing account, you must do it through the Google Cloud Platform Console.
Option C is incorrect because moving projects to the root organization will not create a new billing account. You must first create a new billing account and then move the projects to the root organization to ensure that they are all billed to the same billing account.
Reference:
https://cloud.google.com/billing/docs/how-to/manage-billing-account#create_a_new_billing_account
Question.3 You want to select and configure a cost-effective solution for relational data on Google Cloud Platform. You are working with a small set of operational data in one geographic location. You need to support point-in-time recovery. What should you do? (A) Select Cloud SQL (MySQL). Verify that the enable binary logging option is selected. (B) Select Cloud SQL (MySQL). Select the create failover replicas option. (C) Select Cloud Spanner. Set up your instance with 2 nodes. (D) Select Cloud Spanner. Set up your instance as multi-regional. |
3. Click here to View Answer
Answer is (A) Select Cloud SQL (MySQL). Verify that the enable binary logging option is selected.
For a small set of operational data in one geographic location with the need to support point-in-time recovery, the most cost-effective solution on Google Cloud Platform would be option A, “Select Cloud SQL (MySQL). Verify that the enable binary logging option is selected.”
Cloud SQL is a fully-managed relational database service that provides high availability and automatic backups, making it an ideal choice for small data sets that require point-in-time recovery. By enabling binary logging in Cloud SQL, you can perform point-in-time recovery and roll back changes to your database to a specific time in the past
Reference:
https://cloud.google.com/sql/docs/mysql/backup-recovery/pitr
Question.4 You want to configure autohealing for network load balancing for a group of Compute Engine instances that run in multiple zones, using the fewest possible steps. You need to configure re-creation of VMs if they are unresponsive after 3 attempts of 10 seconds each. What should you do? (A) Create an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy (HTTP) (B) Create an HTTP load balancer with a backend configuration that references an existing instance group. Define a balancing mode and set the maximum RPS to 10. (C) Create a managed instance group. Set the Autohealing health check to healthy (HTTP) (D) Create a managed instance group. Verify that the autoscaling setting is on. |
4. Click here to View Answer
Answer is (C) Create a managed instance group. Set the Autohealing health check to healthy (HTTP)
creating a managed instance group allows you to use autohealing to automatically recreate VMs that are unresponsive after 3 attempts of 10 seconds each. You can set the Autohealing health check to healthy (HTTP) to specify the health check that determines whether the instances are considered healthy or not. If an instance becomes unresponsive, Autohealing will recreate the instance and attach it to the managed instance group.
Use separate health checks for load balancing and for autohealing. Health checks for load balancing detect unresponsive instances and direct traffic away from them. Health checks for autohealing detect and recreate failed instances, so they should be less aggressive than load balancing health checks. Using the same health check for these services would remove the distinction between unresponsive instances and failed instances, causing unnecessary latency and unavailability for your users.
Reference:
https://cloud.google.com/compute/docs/tutorials/high-availability-autohealing
Question.5 You are using multiple configurations for gcloud. You want to review the configured Kubernetes Engine cluster of an inactive configuration using the fewest possible steps. What should you do? (A) Use gcloud config configurations describe to review the output. (B) Use gcloud config configurations activate and gcloud config list to review the output. (C) Use kubectl config get-contexts to review the output. (D) Use kubectl config use-context and kubectl config view to review the output. |
5. Click here to View Answer
Answer is (D) Use kubectl config use-context and kubectl config view to review the output.
“get-contexts” shows us our Kubernetes cluster contexts, that’s right. But the question says that you want to review the cluster itself, so you need to use-context to get into the cluster. Answer A: Using `gcloud config configurations described` will only show you the details of the current configuration, not the Kubernetes Engine cluster of an inactive configuration. Answer B: Using `gcloud config configurations activate` and `gcloud config list` to review the output will only show you the list of configurations and activate one of them, but it won’t provide you with the details of the Kubernetes Engine cluster of an inactive configuration. Answer C: Using `kubectl config get-contexts` will only list the available contexts, including their clusters, but it won’t provide you with the details of the Kubernetes Engine cluster of an inactive configuration.
Reference:
https://medium.com/google-cloud/kubernetes-engine-kubectl-config-b6270d2b656c