Google

Professional Cloud Architect practice test

Practice with 15 free Testara sample questions, or choose paid access to the full 272-question bank.

Provider
Google
Question bank
272
Free sample
15 questions
Publisher
Testara

About this practice material

This page covers Testara's practice question bank for Professional Cloud Architect, a certification listed under Google. Questions use original, exam-style scenarios and are not questions from the official certification exam.

Testara is an independent practice platform and is not affiliated with, endorsed by, or authorized by Google. The certification credential is issued by Google, not Testara. Certification and provider names belong to their respective owners.

Start practicing

The guest demo does not save an attempt. Sign in before buying access.

Try 15 questions free

Available without signing in

Free sample questions

These 15 questions and their explanations are server-rendered so you can inspect the material before opening the interactive demo.

  1. Question 1 · 1

    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?

    Choose one answer.

    • Configure a new load balancer for the new version of the API
    • Reconfigure old clients to use a new endpoint for the new API
    • Have the old API forward traffic to the new API based on the path
    • Use separate backend pools for each API path behind the load balancer
  2. Question 2 · 1

    You write a Python script to connect to Google BigQuery from a Google Compute Engine virtual machine. The script is printing errors that it cannot connect to BigQuery. What should you do to fix the script?

    Choose one answer.

    • Install the latest BigQuery API client library for Python
    • Run your script on a new virtual machine with the BigQuery access scope enabled
    • Create a new service account with BigQuery access and execute your script with that user
    • Install the bq component for gcloud with the command gcloud components install bq.
  3. Question 3 · 1

    You need to ensure reliability for your application and operations by supporting reliable task scheduling for compute on GCP. Leveraging Google best practices, what should you do?

    Choose one answer.

    • Using the Cron service provided by App Engine, publish messages directly to a message-processing utility service running on Compute Engine instances.
    • Using the Cron service provided by App Engine, publish messages to a Cloud Pub/Sub topic. Subscribe to that topic using a message-processing utility service running on Compute Engine instances.
    • Using the Cron service provided by Google Kubernetes Engine (GKE), publish messages directly to a message-processing utility service running on Compute Engine instances.
    • Using the Cron service provided by GKE, publish messages to a Cloud Pub/Sub topic. Subscribe to that topic using a message-processing utility service running on Compute Engine instances.
  4. Question 4 · 1

    Your company is building a new architecture to support its data-centric business focus. You are responsible for setting up the network. Your company's mobile and web-facing applications will be deployed on-premises, and all data analysis will be conducted in GCP. The plan is to process and load 7 years of archived .csv files totaling 900 TB of data and then continue loading 10 TB of data daily. You currently have an existing 100-MB internet connection. What actions will meet your company's needs?

    Choose one answer.

    • Compress and upload both archived files and files uploaded daily using the gsutil ג€"m option.
    • Lease a Transfer Appliance, upload archived files to it, and send it to Google to transfer archived data to Cloud Storage. Establish a connection with Google using a Dedicated Interconnect or Direct Peering connection and use it to upload files daily.
    • Lease a Transfer Appliance, upload archived files to it, and send it to Google to transfer archived data to Cloud Storage. Establish one Cloud VPN Tunnel to VPC networks over the public internet, and compress and upload files daily using the gsutil ג€"m option.
    • Lease a Transfer Appliance, upload archived files to it, and send it to Google to transfer archived data to Cloud Storage. Establish a Cloud VPN Tunnel to VPC networks over the public internet, and compress and upload files daily.
  5. Question 5 · 1

    You are developing a globally scaled frontend for a legacy streaming backend data API. This API expects events in strict chronological order with no repeat data for proper processing. Which products should you deploy to ensure guaranteed-once FIFO (first-in, first-out) delivery of data?

    Choose one answer.

    • Cloud Pub/Sub alone
    • Cloud Pub/Sub to Cloud Dataflow
    • Cloud Pub/Sub to Stackdriver
    • Cloud Pub/Sub to Cloud SQL
  6. Question 6 · 1

    Your company is planning to perform a lift and shift migration of their Linux RHEL 6.5+ virtual machines. The virtual machines are running in an on-premises VMware environment. You want to migrate them to Compute Engine following Google-recommended practices. What should you do?

    Choose one answer.

    • 1. Define a migration plan based on the list of the applications and their dependencies. 2. Migrate all virtual machines into Compute Engine individually with Migrate for Compute Engine.
    • 1. Perform an assessment of virtual machines running in the current VMware environment. 2. Create images of all disks. Import disks on Compute Engine. 3. Create standard virtual machines where the boot disks are the ones you have imported.
    • 1. Perform an assessment of virtual machines running in the current VMware environment. 2. Define a migration plan, prepare a Migrate for Compute Engine migration RunBook, and execute the migration.
    • 1. Perform an assessment of virtual machines running in the current VMware environment. 2. Install a third-party agent on all selected virtual machines. 3. Migrate all virtual machines into Compute Engine.
  7. Question 7 · 1

    You need to deploy an application to Google Cloud. The application receives traffic via TCP and reads and writes data to the filesystem. The application does not support horizontal scaling. The application process requires full control over the data on the file system because concurrent access causes corruption. The business is willing to accept a downtime when an incident occurs, but the application must be available 24/7 to support their business operations. You need to design the architecture of this application on Google Cloud. What should you do?

    Choose one answer.

    • Use a managed instance group with instances in multiple zones, use Cloud Filestore, and use an HTTP load balancer in front of the instances.
    • Use a managed instance group with instances in multiple zones, use Cloud Filestore, and use a network load balancer in front of the instances.
    • Use an unmanaged instance group with an active and standby instance in different zones, use a regional persistent disk, and use an HTTP load balancer in front of the instances.
    • Use an unmanaged instance group with an active and standby instance in different zones, use a regional persistent disk, and use a network load balancer in front of the instances.
  8. Question 8 · 1

    Your company has an application running on multiple Compute Engine instances. You need to ensure that the application can communicate with an on-premises service that requires high throughput via internal IPs, while minimizing latency. What should you do?

    Choose one answer.

    • Use OpenVPN to configure a VPN tunnel between the on-premises environment and Google Cloud.
    • Configure a direct peering connection between the on-premises environment and Google Cloud.
    • Use Cloud VPN to configure a VPN tunnel between the on-premises environment and Google Cloud.
    • Configure a Cloud Dedicated Interconnect connection between the on-premises environment and Google Cloud.
  9. Question 9 · 1

    You are managing an application deployed on Cloud Run for Anthos, and you need to define a strategy for deploying new versions of the application. You want to evaluate the new code with a subset of production traffic to decide whether to proceed with the rollout. What should you do?

    Choose one answer.

    • Deploy a new revision to Cloud Run with the new version. Configure traffic percentage between revisions.
    • Deploy a new service to Cloud Run with the new version. Add a Cloud Load Balancing instance in front of both services.
    • In the Google Cloud Console page for Cloud Run, set up continuous deployment using Cloud Build for the development branch. As part of the Cloud Build trigger, configure the substitution variable TRAFFIC_PERCENTAGE with the percentage of traffic you want directed to a new version.
    • In the Google Cloud Console, configure Traffic Director with a new Service that points to the new version of the application on Cloud Run. Configure Traffic Director to send a small percentage of traffic to the new version of the application.
  10. Question 10 · 1

    You are monitoring Google Kubernetes Engine (GKE) clusters in a Cloud Monitoring workspace. As a Site Reliability Engineer (SRE), you need to triage incidents quickly. What should you do?

    Choose one answer.

    • Navigate the predefined dashboards in the Cloud Monitoring workspace, and then add metrics and create alert policies.
    • Navigate the predefined dashboards in the Cloud Monitoring workspace, create custom metrics, and install alerting software on a Compute Engine instance.
    • Write a shell script that gathers metrics from GKE nodes, publish these metrics to a Pub/Sub topic, export the data to BigQuery, and make a Data Studio dashboard.
    • Create a custom dashboard in the Cloud Monitoring workspace for each incident, and then add metrics and create alert policies.
  11. Question 11 · 1

    You are implementing a single Cloud SQL MySQL second-generation database that contains business-critical transaction data. You want to ensure that the minimum amount of data is lost in case of catastrophic failure. Which two features should you implement? (Choose two.)

    Choose all answers that apply.

    • Sharding
    • Read replicas
    • Binary logging
    • Automated backups
    • Semisynchronous replication
  12. Question 12 · 1

    You are working at a sports association whose members range in age from 8 to 30. The association collects a large amount of health data, such as sustained injuries. You are storing this data in BigQuery. Current legislation requires you to delete such information upon request of the subject. You want to design a solution that can accommodate such a request. What should you do?

    Choose one answer.

    • Use a unique identifier for each individual. Upon a deletion request, delete all rows from BigQuery with this identifier.
    • When ingesting new data in BigQuery, run the data through the Data Loss Prevention (DLP) API to identify any personal information. As part of the DLP scan, save the result to Data Catalog. Upon a deletion request, query Data Catalog to find the column with personal information.
    • Create a BigQuery view over the table that contains all data. Upon a deletion request, exclude the rows that affect the subject's data from this view. Use this view instead of the source table for all analysis tasks.
    • Use a unique identifier for each individual. Upon a deletion request, overwrite the column with the unique identifier with a salted SHA256 of its value.
  13. Question 13 · 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?

    Choose one answer.

    • Use G Suite Password Sync to replicate passwords into Google
    • Federate authentication via SAML 2.0 to the existing Identity Provider
    • Provision users in Google using the Google Cloud Directory Sync tool
    • Ask users to set their Google password to match their corporate password
  14. Question 14 · 1

    Your company has announced that they will be outsourcing operations functions. You want to allow developers to easily stage new versions of a cloud-based application in the production environment and allow the outsourced operations team to autonomously promote staged versions to production. You want to minimize the operational overhead of the solution. Which Google Cloud product should you migrate to?

    Choose one answer.

    • App Engine
    • GKE On-Prem
    • Compute Engine
    • Google Kubernetes Engine
  15. Question 15 · 1

    Your company is running its application workloads on Compute Engine. The applications have been deployed in production, acceptance, and development environments. The production environment is business-critical and is used 24/7, while the acceptance and development environments are only critical during office hours. Your CFO has asked you to optimize these environments to achieve cost savings during idle times. What should you do?

    Choose one answer.

    • Create a shell script that uses the gcloud command to change the machine type of the development and acceptance instances to a smaller machine type outside of office hours. Schedule the shell script on one of the production instances to automate the task.
    • Use Cloud Scheduler to trigger a Cloud Function that will stop the development and acceptance environments after office hours and start them just before office hours.
    • Deploy the development and acceptance applications on a managed instance group and enable autoscaling.
    • Use regular Compute Engine instances for the production environment, and use preemptible VMs for the acceptance and development environments.

Each purchase applies to this certification. Prices are one-time payments, not monthly subscriptions.

Starter

$29 USD one time

Full access to one certification's question bank in standard practice mode for 60 days.

  • Full question bank for one certification
  • 60 days of access
  • Standard practice mode
  • Question notes and community discussions
  • Attempt scores and answer review

Professional

$49 USD one time

Full access to one certification's question bank, custom test controls and advanced analytics for 60 days.

  • Custom test builder
  • Timers and question selection
  • Randomized question and answer order
  • Advanced performance and weak-question analytics
  • Priority customer support
Try 15 questions free