Professional Cloud Architect Practice Test

Professional Cloud Architect Practice Test practice questions, page 12 of 15, with answer review and explanations.

Question 56

You have an application deployed on Google Kubernetes Engine using a Deployment named echo-deployment. The deployment is exposed using a Service called echo-service. You need to perform an update to the application with minimal downtime to the application. What should you do?

  1. Use kubectl set image deployment/echo-deployment <new-image>
  2. Use the rolling update functionality of the Instance Group behind the Kubernetes cluster
  3. Update the deployment yaml file with the new container image. Use kubectl delete deployment/echo-deployment and kubectl create ג€"f <yaml-file>
  4. Update the service yaml file which the new container image. Use kubectl delete service/echo-service and kubectl create ג€"f <yaml-file>

Question 57

Your company is using BigQuery as its enterprise data warehouse. Data is distributed over several Google Cloud projects. All queries on BigQuery need to be billed on a single project. You want to make sure that no query costs are incurred on the projects that contain the data. Users should be able to query the datasets, but not edit them. How should you configure users' access roles?

  1. Add all users to a group. Grant the group the role of BigQuery user on the billing project and BigQuery dataViewer on the projects that contain the data.
  2. Add all users to a group. Grant the group the roles of BigQuery dataViewer on the billing project and BigQuery user on the projects that contain the data.
  3. Add all users to a group. Grant the group the roles of BigQuery jobUser on the billing project and BigQuery dataViewer on the projects that contain the data.
  4. Add all users to a group. Grant the group the roles of BigQuery dataViewer on the billing project and BigQuery jobUser on the projects that contain the data.

Question 58

You have developed an application using Cloud ML Engine that recognizes famous paintings from uploaded images. You want to test the application and allow specific people to upload images for the next 24 hours. Not all users have a Google Account. How should you have users upload images?

  1. Have users upload the images to Cloud Storage. Protect the bucket with a password that expires after 24 hours.
  2. Have users upload the images to Cloud Storage using a signed URL that expires after 24 hours.
  3. Create an App Engine web application where users can upload images. Configure App Engine to disable the application after 24 hours. Authenticate users via Cloud Identity.
  4. Create an App Engine web application where users can upload images for the next 24 hours. Authenticate users via Cloud Identity.

Question 59

Your web application must comply with the requirements of the European Union's General Data Protection Regulation (GDPR). You are responsible for the technical architecture of your web application. What should you do?

  1. Ensure that your web application only uses native features and services of Google Cloud Platform, because Google already has various certifications and provides ג€pass-onג€ compliance when you use native features.
  2. Enable the relevant GDPR compliance setting within the GCPConsole for each of the services in use within your application.
  3. Ensure that Cloud Security Scanner is part of your test planning strategy in order to pick up any compliance gaps.
  4. Define a design for the security of data in your web application that meets GDPR requirements.

Question 60

You need to set up Microsoft SQL Server on GCP. Management requires that there's no downtime in case of a data center outage in any of the zones within a GCP region. What should you do?

  1. Configure a Cloud SQL instance with high availability enabled.
  2. Configure a Cloud Spanner instance with a regional instance configuration.
  3. Set up SQL Server on Compute Engine, using Always On Availability Groups using Windows Failover Clustering. Place nodes in different subnets.
  4. Set up SQL Server Always On Availability Groups using Windows Failover Clustering. Place nodes in different zones.