You want to enable your running Google Container Engine cluster to scale as demand for your application changes. What should you do?
Show answerHide answer
Correct answer: CUpdate the existing Container Engine cluster with the following command: gcloud alpha container clusters update mycluster --enable-autoscaling --min-nodes=1 --max-nodes=10
Explanation
https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler To enable autoscaling for an existing node pool, run the following command: gcloud container clusters update [CLUSTER_NAME] -enable-autoscaling \-min-nodes 1 - max-nodes 10 -zone [COMPUTE_ZONE] -nodepool default-pool
Question 42Choose 1
Your customer is moving their corporate applications to Google Cloud Platform. The security team wants detailed visibility of all projects in the organization. You provision the Google Cloud Resource Manager and set up yourself as the org admin. What Google Cloud Identity and Access Management (Cloud IAM) roles should you give to the security team'?
Show answerHide answer
Correct answer: BOrg viewer, project viewer
Question 43Choose 1
Your company runs several databases on a single MySQL instance. They need to take backups of a specific database at regular intervals. The backup activity needs to complete as quickly as possible and cannot be allowed to impact disk performance. How should you configure the storage?
Show answerHide answer
Correct answer: CUse gcsfuse to mount a Google Cloud Storage bucket as a volume directly on the instance and write backups to the mounted location using mysqldump
Question 44Choose 1
Your customer is moving an existing corporate application to Google Cloud Platform from an on-premises data center. The business owners require minimal user disruption. There are strict security team requirements for storing passwords. What authentication strategy should they use?
Show answerHide answer
Correct answer: CProvision users in Google using the Google Cloud Directory Sync tool.
Question 45Choose 1
You want to make a copy of a production Linux virtual machine in the US-Central region. You want to manage and replace the copy easily if there are changes on the production virtual machine. You will deploy the copy as a new instances in a different project in the US-East region. What steps must you take?
Show answerHide answer
Correct answer: DCreate a snapshot of the root disk, create an image file in Google Cloud Storage from the snapshot, and create a new virtual machine instance in the US-East region using the image file for the root disk
Question 46Choose 1
The application reliability team at your company has added a debug feature to their backend service to send all server events to Google Cloud Storage for eventual analysis. The event records are at least 50 KB and at most 15 MB and are expected to peak at 3,000 events per second. You want to minimize data loss. Which process should you implement?
Show answerHide answer
Correct answer: AAppend metadata to file body. • Compress individual files. • Name files with serverName-Timestamp. • Create a new bucket if bucket is older than 1 hour and save individual files to the new bucket. Otherwise, save files to existing bucket
Question 47Choose 1
Your solution is producing performance bugs in production that you did not see in staging and test environments. You want to adjust your test and deployment procedures to avoid this problem in the future. What should you do?
Show answerHide answer
Correct answer: DDeploy changes to a small subset of users before rolling out to production.
Question 48Choose 1
A news teed web service has the following code running on Google App Engine. During peak load, usersreport that they can see news articles they already viewed. What is the most likely cause of this problem?
Show answerHide answer
Correct answer: BThe session variable is being overwritten in Cloud Datastore.
Your organization wants to control IAM policies for different departments independently, but centrally. Which approach should you take?
Show answerHide answer
Correct answer: CA single Organization with Folder for each department
Question 50Choose 3
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 the batch servers failed the 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
Show answerHide answer
Correct answer: A, C, EUse Stackdriver Logging to search for the module log entries.Use gcloud or Cloud Console to connect to the serial console and observe the logs.Adjust the Google Stackdriver timeline to match the failure time, and observe the batch server metrics.
Full mock exam
Sit the PROFESSIONAL-CLOUD-ARCHITECT exam before exam day
Full-length mocks with the same number of questions and the same time limit as the real PROFESSIONAL-CLOUD-ARCHITECT exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.