GCP Professional Cloud Architect Practice Exam Part 4


Actual Exam Version:

  1. Your company won a new contract from the Highways agency to setup speed monitor devices on all residential streets. The project manager anticipates the installation of 20 million speed monitoring devices over the next two years. Each speed monitoring device is equipped with motion sensors that get activated when a vehicle passes by. The device picks up vehicle speed and number plate on each reading and should send the data back into a central database. Some of the sensors are installed in areas with inconsistent connectivity, and some sensors may lose connectivity due to nearby road works. How should you design the data ingestion for this system?

A. Configure each sensor to check the connectivity to Cloud Pub/Sub and insert data in a shared topic.
B. Configure each sensor to create a persistent connection (tunnel) to a Google Compute VM and send data to a custom application running on the VM.
C. Configure each sensor to create a persistent connection (tunnel) to an App Engine application, and send data to the application and let is save in Cloud Datastore.
D. Configure each sensor to check the availability of Cloud SQL and insert data in a Cloud SQL table based on the device identifier.

  1. Your company has external audits every 12 months, and this year’s audit has uncovered an insecure (non-HTTPS) application running on a GCE virtual machine with SSH port open to the public. This finding has resulted in your company failing cyber essentials certification and losing valuable revenue. Your compliance department has identified the network (VPC) this instance runs in and has asked for your assistance in identifying who created the network. What should you do?

A. In Cloud Logging Console, identify the user that created the VM.
B. Look for Create VM entries under Data Access category in the Activity page.
C. SSH to the instance and identify who previously logged in to the system, and check with them.
D. In Cloud Logging Console, search for the Create Insert entry under GCE Network logs.

  1. You have deployed a time tracking application in the US-Central region on a Google compute engine Linux virtual machine. Some of your clients in the US-East region have been complaining about slowness, and you have decided to spin up a new compute engine instance in the US-East region in a different project. To do this, you need to create a copy of the Linux virtual machine from US-Central and deploy in US-East region. You have many enhancements in the pipeline, and each time you update the application in US-Central, you also need to consistently and effortlessly replace the copy in US-East region. How should you do it?

A. Generate a snapshot of the boot disk in US-Central, share it with US-East. When spinning up the VM instance in US-East, use the shared snapshot for the boot disk.
B. Copy and stream the boot disk from US-Central to a new VM instance in US-East.
C. Generate an image of the boot disk in US-Central with Linux dd command and use this image when spinning up the VM instance in US-East.
D. Generate a snapshot of the boot disk and use it to create an image in US-Central. Share the image with other project and use this image when spinning up the VM instance in US-East.

  1. Your team manages several different microservices which all use different versions of operating systems, software libraries and programming languages. You want to reliably spin up development environments from these microservices and keep them in sync with the respective production environments. You are not keen on making any changes to the code. What should you use?

A. Ansible/Chef/Puppet.
B. Cloud Monitoring and Logging.
C. Containers.
D. Virtual Machines.

  1. Your company is migrating all applications from the on-premises data centre to Google Cloud, and one of the applications is dependent on Websockets protocol and session affinity. You want to ensure this application can be migrated to Google Cloud platform and continue serving requests without issues. What should you do?

A. Modify application code to not depend on session affinity.
B. Review the design with the security team.
C. Discuss load balancer options with the relevant teams.
D. Modify application code to use HTTP streaming.

  1. Your company specializes in helping clients detect if any pages on their website do not align to the specified standards. To do this, your company has deployed a custom C. + application in your on-premises data centre that crawls all the web pages of a customer’s website, compares the headers and template to the expected standard and stores the result before repeating the same for other customers. This testing takes a lot of time and has resulted in it missing out on the SLA several times recently. The application team is aware of the slow processing time and knows the fix is to run the application on multiple virtual machines to balance the load, but there is no free space in the data centre. You have been asked to identify if it is possible to migrate this application to Google cloud, ensuring it can scale automatically with little to no changes to the application code. What GCP service should you recommend?

A. Unmanaged Instance Groups on Google Compute Engine.
B. App Engine, Cloud Logging and Cloud Monitoring.
C. Google Cloud Dataproc.
D. Managed Instance Groups on Google Compute Engine with autoscaling.