Google Google Cloud Architect Professional Exam Prep
Google Cloud Certified - Professional Cloud Architect (Page 18 )

Updated On: 31-Aug-2026

Your company operates nationally and plans to use GCP for multiple batch workloads, including some that are not time-critical. You also need to use GCP services that are HIPAA-certified and manage service costs. How should you design to meet Google best practices?

  1. Provision preemptible VMs to reduce cost. Discontinue use of all GCP services and APIs that are not HIPAA-compliant.
  2. Provision preemptible VMs to reduce cost. Disable and then discontinue use of all GCP services and APIs that are not HIPAA-compliant.
  3. Provision standard VMs in the same region to reduce cost. Discontinue use of all GCP services and APIs that are not HIPAA-compliant.
  4. Provision standard VMs to the same region to reduce cost. Disable and then discontinue use of all GCP services and APIs that are not HIPAA-compliant.

Answer(s): B

Explanation:

Option B is the correct answer because it best addresses all the stated requirements: cost management, HIPAA compliance, and batch processing suitability. Preemptible VMs offer a significant cost reduction compared to standard VMs, making them ideal for batch workloads that aren't time-sensitive, as the prompt specifies. Preemptible VMs can be terminated by GCP, which is acceptable in this case, given the non-critical nature of the workloads. HIPAA compliance requires using only certified services. Therefore, it’s crucial to disable and discontinue using non-compliant services. Simply discontinuing usage, without disabling, might leave room for accidental use and potential compliance violations, making disabling a necessary proactive measure. Option A fails because just discontinuing usage is not proactive, and it also doesn't clarify what is to be done with existing non-compliant instances. Options C and D suggest using standard VMs, which don't address cost optimization for non-critical workloads as effectively as preemptible VMs. Additionally, option C uses only discontinue. Therefore option B is the most effective approach.
Here are some authoritative links for further research:
Preemptible VMs: https://cloud.google.com/compute/docs/instances/preemptible HIPAA Compliance on Google Cloud: https://cloud.google.com/security/compliance/hipaa Google Cloud Pricing: https://cloud.google.com/pricing Managing Google Cloud Resources: https://cloud.google.com/resource-manager/docs/



Your customer wants to do resilience testing of their authentication layer. This consists of a regional managed instance group serving a public REST API that reads from and writes to a Cloud SQL instance.
What should you do?

  1. Engage with a security company to run web scrapers that look your for users' authentication data om malicious websites and notify you if any is found.
  2. Deploy intrusion detection software to your virtual machines to detect and log unauthorized access.
  3. Schedule a disaster simulation exercise during which you can shut off all VMs in a zone to see how your application behaves.
  4. Configure a read replica for your Cloud SQL instance in a different zone than the master, and then manually trigger a failover while monitoring KPIs for our REST API.

Answer(s): C

Explanation:

The correct answer is C, simulating a zonal outage by shutting down VMs. This approach directly tests the resilience of the authentication layer's compute component, which is hosted on a regional managed instance group. By simulating the loss of an entire zone, the customer can observe how the application responds, specifically if it can automatically failover to VMs in another zone. This is a critical aspect of resilience testing as it validates the ability of the system to withstand a zonal failure scenario. Options A and B focus on security, not resilience, which is not the core issue in this question. Option A explores the external leakage of user data, while B looks at identifying unauthorized access. These are important for overall security posture, but do not provide the necessary understanding of application resilience to infrastructure failure. Option D, while testing database resilience, does not address the resilience of the compute layer serving the REST API, which is what needs primary testing.
While database failover is important, the question's focus is on the full stack application, including the compute instance group. A zonal outage simulation is a more appropriate test of resilience for the specified infrastructure. Google Cloud's documentation on High Availability for Compute Engine [ https://cloud.google.com/compute/docs/instances/high-availability] and Managed Instance Groups [ https://cloud.google.com/compute/docs/instance-groups] support the idea of designing systems that can withstand zonal outages. This method also validates the effectiveness of your instance group's configuration.



Your BigQuery project has several users. For audit purposes, you need to see how many queries each user ran in the last month.
What should you do?

  1. Connect Google Data Studio to BigQuery. Create a dimension for the users and a metric for the amount of queries per user.
  2. In the BigQuery interface, execute a query on the JOBS table to get the required information.
  3. Use 'bq show' to list all jobs. Per job, use 'bq ls' to list job information and get the required information.
  4. Use Cloud Audit Logging to view Cloud Audit Logs, and create a filter on the query operation to get the required information.

Answer(s): D

Explanation:

Here's a detailed justification for choosing option D, along with why the other options are less suitable, and resources for further learning:
Option D, using Cloud Audit Logging, is the most appropriate solution for auditing BigQuery query activity. Cloud Audit Logs automatically record administrative actions and data access events within Google Cloud Platform (GCP), including BigQuery queries. These logs capture crucial details like the user who initiated the query, the timestamp, and the specific query being executed. By filtering the logs specifically for "query" operations, you can efficiently extract the information about each user's query activity over the past month. This approach adheres to security best practices by centralizing audit information, making it readily available for analysis.
Option A, connecting Google Data Studio to BigQuery, is unsuitable because it primarily focuses on data visualization and analysis.
While it can display query information, it requires you to first extract the required data, which does not resolve the auditing requirement of seeing the usage information.
Option B, querying the JOBS table in BigQuery, would require complex and resource-intensive queries.
While the JOBS table might contain historical job details, it is not designed for easy, direct auditing of user activity across time. This approach would necessitate multiple JOINs and filters, leading to less efficient analysis compared to using the purpose built audit logs.
Option C, using the bq show and bq ls commands, involves manual retrieval and parsing of job data from command line. This method is not scalable or efficient for tracking user query activity over a month and is cumbersome compared to utilizing readily available logs.
In summary, Cloud Audit Logging provides a dedicated and efficient mechanism for monitoring and auditing BigQuery query activity, meeting the requirements for audit purposes. Other options lack the dedicated functionality, scalability, and automation to achieve the same level of granularity and efficiency.
Authoritative Links:
Cloud Audit Logs Overview: https://cloud.google.com/logging/docs/audit/ BigQuery Audit Logging: https://cloud.google.com/bigquery/docs/audit-logs Filtering Logs: https://cloud.google.com/logging/docs/view/query-syntax



You want to automate the creation of a managed instance group. The VMs have many OS package dependencies. You want to minimize the startup time for new VMs in the instance group.
What should you do?

  1. Use Terraform to create the managed instance group and a startup script to install the OS package dependencies.
  2. Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image.
  3. Use Puppet to create the managed instance group and install the OS package dependencies.
  4. Use Deployment Manager to create the managed instance group and Ansible to install the OS package dependencies.

Answer(s): B

Explanation:

The correct answer is B. Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image.
Here's why:
The core goal is to minimize VM startup time within a managed instance group (MIG). Installing numerous OS package dependencies at each VM launch significantly prolongs this time, leading to slower scaling and potentially impacting application availability. A custom image containing all required dependencies avoids this overhead.
Option A, using a startup script, performs package installations every time a new VM is created, directly counteracting the need to minimize startup time. Options C and D, while useful for configuration management, are also not optimized for fast initial deployments. They still require time to execute the installation steps during VM initialization.
Creating a custom image bakes the required software into a single, deployable unit. This dramatically reduces the workload required for each instance launch, significantly speeding up instance creation and scaling within the MIG. Deployment Manager is a suitable infrastructure-as-code tool for managing the MIG using this pre-configured image. By pre-packaging the required packages into the image, the provisioning of each new VM will be significantly faster than attempting to install and configure packages via a script or configuration management tool each time. This is due to no external scripts needed upon creation.
Therefore, pre-baking the OS package dependencies into a custom VM image is the most efficient way to achieve the stated goal of minimizing startup times.
Authoritative Links:
Google Cloud Documentation on Custom Images: https://cloud.google.com/compute/docs/images/create-custom Google Cloud Documentation on Managed Instance Groups: https://cloud.google.com/compute/docs/instance-groups/ Google Cloud Documentation on Deployment Manager: https://cloud.google.com/deployment-manager/docs/



Your company captures all web traffic data in Google Analytics 360 and stores it in BigQuery. Each country has its own dataset. Each dataset has multiple tables. You want analysts from each country to be able to see and query only the data for their respective countries. How should you configure the access rights?

  1. Create a group per country. Add analysts to their respective country-groups. Create a single group 'all_analysts', and add all country-groups as members. Grant the 'all_analysts' group the IAM role of BigQuery jobUser. Share the appropriate dataset with view access with each respective analyst country-group.
  2. Create a group per country. Add analysts to their respective country-groups. Create a single group 'all_analysts', and add all country-groups as members. Grant the 'all_analysts' group the IAM role of BigQuery jobUser. Share the appropriate tables with view access with each respective analyst country-group.
  3. Create a group per country. Add analysts to their respective country-groups. Create a single group 'all_analysts', and add all country-groups as members. Grant the 'all_analysts' group the IAM role of BigQuery dataViewer. Share the appropriate dataset with view access with each respective analyst country- group.
  4. Create a group per country. Add analysts to their respective country-groups. Create a single group 'all_analysts', and add all country-groups as members. Grant the 'all_analysts' group the IAM role of BigQuery dataViewer. Share the appropriate table with view access with each respective analyst country-group.

Answer(s): A

Explanation:

The correct answer is A . Here's why:
The primary goal is to grant analysts access to only their country's data within BigQuery. Option A achieves this through a combination of IAM roles and dataset-level permissions. First, it creates country-specific groups, simplifying user management and aligning with the business requirement. The 'all_analysts' group acts as a central container, facilitating broader permission settings, crucial for ensuring analysts can run queries across BigQuery. Importantly, it assigns the BigQuery Job User role to the all_analysts group. This role allows users to run queries and perform other actions that require BigQuery processing power, but does not automatically grant access to any data. Then, access to the actual data is controlled by sharing the datasets with read access, specifically granting access to the dataset level instead of specific tables. By giving each country group access to their specific dataset, the analyst can access data without being able to access other countries data. This approach follows the principle of least privilege, granting only the necessary permissions. Options C and D use the BigQuery Data Viewer role which provides broader access than jobuser role, making them inappropriate. Furthermore, options B and D give permission at the table level which will make ongoing maintenance cumbersome. Dataset level permissions, as in option A, provide a more manageable solution.
Authoritative Links:
IAM roles for BigQuery: https://cloud.google.com/bigquery/docs/access-control#iam_roles Controlling access to datasets: https://cloud.google.com/bigquery/docs/share-access-datasets Principle of Least Privilege: https://cloud.google.com/docs/security/concepts/least-privilege



Viewing page 18 of 98
Viewing questions 86 - 90 out of 480 questions


Post your Comments and Discuss Google Google Cloud Architect Professional exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!