Your company has decided to make a major revision of their API in order to create better experiences for their developers. They need to keep the old version of the API available and deployable, while allowing new customers and testers to try out the new API. They want to keep the same SSL and DNS records in place to serve both APIs. What should they do?
Show answerHide answer
Correct answer: DUse separate backend pools for each API path behind the load balancer
Your company plans to migrate a multi-petabyte data set to the cloud. The data set must be available 24hrs a day. Your business analysts have experience only with using a SQL interface. How should you store the data to optimize it for ease of analysis?
Show answerHide answer
Correct answer: ALoad data into Google BigQuery.
Explanation
Google Big Query is for multi peta byte storage , HA(High availability) which means 24 hours, SQL interface https://medium.com/google-cloud/the-12-components-of-google-bigquery-c2b49829a7c7 https://cloud.google.com/solutions/bigquery-data-warehouse https://cloud.google.com/bigquery/
Question 23Choose 1
A development manager is building a new application He asks you to review his requirements and identify what cloud technologies he can use to meet them. The application must 1. Be based on open-source technology for cloud portability 2. Dynamically scale compute capacity based on demand 3. Support continuous software delivery 4. Run multiple segregated copies of the same application stack 5. Deploy application bundles using dynamic templates 6. Route network traffic to specific services based on URL Which combination of technologies will meet all of his requirements?
Show answerHide answer
Correct answer: DGoogle Compute Engine, Jenkins, and Cloud Load Balancing
Question 24Choose 1
An application development team believes their current logging tool will not meet their needs for their new cloud-based product. They want a bettor tool to capture errors and help them analyze their historical log data. You want to help them find a solution that meets their needs, what should you do?
Show answerHide answer
Correct answer: ADirect them to download and install the Google StackDriver logging agent.
Question 25Choose 1
A small number of API requests to your microservices-based application take a very long time. You know that each request to the API can traverse many services. You want to know which service takes the longest in those cases. What should you do?
Show answerHide answer
Correct answer: DInstrument your application with Stackdnver Trace in order to break down the request latencies at each microservice
Explanation
https://cloud.google.com/trace/docs/overview
Question 26Choose 1
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?
Show answerHide answer
Correct answer: BWrite a lifecycle management rule in JSON and push it to the bucket with gsutil.
One of your primary business objectives is being able to trust the data stored in your application. You want to log all changes to the application data. How can you design your logging system to verify authenticity of your logs?
Show answerHide answer
Correct answer: DCreate a JSON dump of each log entry and store it in Google Cloud Storage.
Explanation
https://cloud.google.com/storage/docs/access-logs
Question 28Choose 1
You have created several preemptible Linux virtual machine instances using Google Compute Engine. You want to properly shut down your application before the virtual machines are preempted. What should you do?
Show answerHide answer
Correct answer: CCreate a shutdown script and use it as the value for a new metadata entry with the key shutdown-script in the Cloud Platform Console when you create the new virtual machine instance.
A recent audit that a new network was created in Your GCP project. In this network, a GCE instance has an SSH port open the world. You want to discover this network's origin. What should you do?
Show answerHide answer
Correct answer: BNavigate to the Activity page in the Home section. Set category to Data Access and search for Create VM entry.
Question 30Choose 1
A production database virtual machine on Google Compute Engine has an ext4-formatted persistent disk for data files The database is about to run out of storage space How can you remediate the problem with the least amount of downtime?
Show answerHide answer
Correct answer: AIn the Cloud Platform Console, increase the size of the persistent disk and use the resize2fs command in Linux.
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.