Free Google Cloud Architect Professional Exam Braindumps
Google Cloud Certified - Professional Cloud Architect Questions 131–135 (page: 28)

Updated On: 31-Aug-2026

Your company wants you to build a highly reliable web application with a few public APIs as the backend. You don't expect a lot of user traffic, but traffic could spike occasionally. You want to leverage Cloud Load Balancing, and the solution must be cost-effective for users.
What should you do?

  1. Store static content such as HTML and images in Cloud CDN. Host the APIs on App Engine and store the user data in Cloud SQL.
  2. Store static content such as HTML and images in a Cloud Storage bucket. Host the APIs on a zonal Google Kubernetes Engine cluster with worker nodes in multiple zones, and save the user data in Cloud Spanner.
  3. Store static content such as HTML and images in Cloud CDN. Use Cloud Run to host the APIs and save the user data in Cloud SQL.
  4. Store static content such as HTML and images in a Cloud Storage bucket. Use Cloud Functions to host the APIs and save the user data in Firestore.

Answer(s): D

Explanation:

The correct answer is D because it offers the most cost-effective and scalable solution for the described scenario. Cloud Storage is ideal for serving static content due to its low cost and high availability. Cloud Functions, being serverless, only incur costs when actively executing, making them highly economical for handling intermittent API traffic spikes. Firestore, a NoSQL database, is also serverless and scales automatically based on demand, which aligns well with fluctuating user traffic and reduces costs when traffic is low.
Option A is less ideal because App Engine can have higher base costs compared to Cloud Functions when traffic is low. Additionally, Cloud SQL requires more management and is not as readily scalable as Firestore for variable workloads. Option B is the least cost-effective; GKE is complex and expensive to manage for a small application, and Cloud Spanner is overkill for this use case and is more expensive than other options like Cloud SQL or Firestore. Option C is better than B, but still less cost-effective than D, since Cloud Run, while serverless, tends to be slightly pricier for the same use cases as Cloud Functions. Furthermore, Cloud SQL is not as scalable as Firestore for variable workloads.
In summary, the combination of Cloud Storage, Cloud Functions, and Firestore provides a serverless, highly scalable, and cost-effective architecture, perfectly aligned with the requirements of the question statement.
Authoritative Links for further research:
Cloud Storage: https://cloud.google.com/storage Cloud Functions: https://cloud.google.com/functions Firestore: https://cloud.google.com/firestore App Engine: https://cloud.google.com/appengine Google Kubernetes Engine (GKE): https://cloud.google.com/kubernetes-engine Cloud SQL: https://cloud.google.com/sql Cloud Spanner: https://cloud.google.com/spanner Cloud Run: https://cloud.google.com/run



Your company sends all Google Cloud logs to Cloud Logging. Your security team wants to monitor the logs. You want to ensure that the security team can react quickly if an anomaly such as an unwanted firewall change or server breach is detected. You want to follow Google-recommended practices.
What should you do?

  1. Schedule a cron job with Cloud Scheduler. The scheduled job queries the logs every minute for the relevant events.
  2. Export logs to BigQuery, and trigger a query in BigQuery to process the log data for the relevant events.
  3. Export logs to a Pub/Sub topic, and trigger Cloud Function with the relevant log events.
  4. Export logs to a Cloud Storage bucket, and trigger Cloud Run with the relevant log events.

Answer(s): C

Explanation:

Option C is the most appropriate solution for real-time anomaly detection in Google Cloud logs, aligning with Google-recommended practices. Exporting logs to a Pub/Sub topic enables a push-based, near real-time stream of log data, which is ideal for immediate processing. A Cloud Function, triggered by this Pub/Sub topic, can then analyze incoming log entries for anomalies and alert the security team promptly. This architecture offers low latency, scalability, and cost-effectiveness, making it suitable for time-sensitive security monitoring.
Options A, B, and D are less optimal in this scenario. Option A, using scheduled cron jobs with Cloud Scheduler to query logs, introduces latency and potential delays, hindering immediate reactions to anomalies. Option B, exporting to BigQuery, is suitable for analytical and historical investigations, but less effective for real-time alerting. Option D, using Cloud Storage and Cloud Run, involves polling mechanisms which are slower than push-based systems like Pub/Sub. The event-driven architecture utilizing Pub/Sub and Cloud Functions is the recommended practice for log-based security monitoring, as it provides near real-time, reactive capabilities essential for security incident response.
Further Research Links:
Exporting logs to Cloud Pub/Sub: https://cloud.google.com/logging/docs/export/configure_export_v2#pubsub Cloud Functions Triggers: https://cloud.google.com/functions/docs/concepts/triggering Real-time log analysis patterns: https://cloud.google.com/architecture/real-time-log-analysis Google Cloud logging documentation: https://cloud.google.com/logging/docs



You have deployed several instances on Compute Engine. As a security requirement, instances cannot have a public IP address. There is no VPN connection between Google Cloud and your office, and you need to connect via SSH into a specific machine without violating the security requirements.
What should you do?

  1. Configure Cloud NAT on the subnet where the instance is hosted. Create an SSH connection to the Cloud NAT IP address to reach the instance.
  2. Add all instances to an unmanaged instance group. Configure TCP Proxy Load Balancing with the instance group as a backend. Connect to the instance using the TCP Proxy IP.
  3. Configure Identity-Aware Proxy (IAP) for the instance and ensure that you have the role of IAP-secured Tunnel User. Use the gcloud command line tool to ssh into the instance.
  4. Create a bastion host in the network to SSH into the bastion host from your office location. From the bastion host, SSH into the desired instance.

Answer(s): C

Explanation:

Here's a detailed justification for why option C is the correct answer, along with explanations of why other options are less suitable:
Why C is Correct:
Option C, using Identity-Aware Proxy (IAP), is the most secure and appropriate solution for accessing Compute Engine instances without public IP addresses. IAP provides a zero-trust approach, verifying user identity and authorization before granting access. Specifically, IAP's TCP forwarding feature allows you to establish a secure tunnel to your instance via the IAP service. It leverages the gcloud compute ssh command,
which interacts with IAP to provide secure access, removing the need for direct public IP exposure. This satisfies the security requirement of no public IP addresses on your instances and enables secure access from your office without relying on VPN. The specific role "IAP-secured Tunnel User" grants the necessary permissions to use this tunneling capability. This method does not require a bastion host, minimizing the attack surface and operational complexity.
Why other options are incorrect:
Option A (Cloud NAT): Cloud NAT enables instances without public IPs to access the internet, but it does not allow inbound access. It's designed for outbound connectivity, not SSH access from external sources. Thus, connecting to the Cloud NAT IP address does not help establish an SSH connection to the specific instance. Option B (TCP Proxy Load Balancer): While a TCP Proxy Load Balancer can distribute TCP traffic, its primary function isn't direct SSH access to specific instances. Additionally, it would still require the instances to be exposed behind the load balancer, and exposing the load balancer's IP to the internet directly doesn't meet the requirements. Option D (Bastion Host): While using a bastion host is a valid security practice, it introduces additional management overhead and complexity. It would require you to manage and secure another instance (bastion host), which could also become a single point of failure or attack. Using IAP directly is a better approach for secured tunnels as it removes the extra hop to the bastion.
Key Concepts:
Identity-Aware Proxy (IAP): A Google Cloud service that verifies user identity and context before allowing access to applications and resources, providing granular access control. Zero Trust Security: A security model that assumes no implicit trust, verifying every access request regardless of location. TCP Forwarding: The ability to tunnel TCP traffic over a different protocol, as provided by IAP for SSH connections. gcloud CLI: Google Cloud's command-line interface, which enables you to interact with Google Cloud resources.
Authoritative Links:
Identity-Aware Proxy Overview: https://cloud.google.com/iap/docs/concepts-overview IAP for TCP forwarding: https://cloud.google.com/iap/docs/using-tcp-forwarding gcloud compute ssh: https://cloud.google.com/sdk/gcloud/reference/compute/ssh
In summary, IAP offers the most secure and efficient way to access your Compute Engine instances without exposing them to the public internet or managing additional infrastructure like bastion hosts.



Your company is using Google Cloud. You have two folders under the Organization: Finance and Shopping. The members of the development team are in a Google Group. The development team group has been assigned the Project Owner role on the Organization. You want to prevent the development team from creating resources in projects in the Finance folder.
What should you do?

  1. Assign the development team group the Project Viewer role on the Finance folder, and assign the development team group the Project Owner role on the Shopping folder.
  2. Assign the development team group only the Project Viewer role on the Finance folder.
  3. Assign the development team group the Project Owner role on the Shopping folder, and remove the development team group Project Owner role from the Organization.
  4. Assign the development team group only the Project Owner role on the Shopping folder.

Answer(s): C

Explanation:

The correct answer is C because it effectively restricts the development team's access to the Finance folder while preserving their necessary permissions for the Shopping folder. Here's why:
Google Cloud's Resource Manager utilizes a hierarchical structure where permissions are inherited. Currently, the development team has Project Owner at the Organization level, granting them full control over all projects within the organization, including those in the Finance folder. To limit their access, you need to reduce their permissions at the higher level while maintaining access for the Shopping folder.
Option C achieves this by removing the Project Owner role from the Organization level for the development group. This prevents inheritance of the broad permission. Then, it grants the Project Owner role specifically on the Shopping folder. This allows the development team to create resources within projects under Shopping but not within Finance.
Option A is incorrect because assigning Project Viewer on the Finance folder doesn't remove the inherited Project Owner permissions. The group would still have full access due to the broader scope. Option B is incorrect because while it does remove the Project Owner rights on the Finance folder, it also blocks the team from creating resources needed for their work within the Shopping folder. Option D is incorrect because while it ensures the development team has project owner permissions for Shopping, it does not stop the inherited permissions from the organization. Thus, option C gives the intended result.
In summary, the key is to understand inheritance, remove broad permissions at higher levels, and then grant specific, narrower roles at lower levels within the hierarchy. This is the essence of the principle of least privilege, a security best practice that is central to cloud security.
Relevant Concepts:
Resource Hierarchy: Google Cloud resources are organized in a hierarchy (Organization, Folders, Projects). Permissions cascade down this hierarchy. IAM (Identity and Access Management): Manages access control to Google Cloud resources. Roles define what actions a principal (user, group, service account) can perform. Least Privilege: The principle of granting only the permissions needed to perform a specific task. Role Inheritance: Roles assigned at higher levels in the hierarchy are inherited by child resources.
Authoritative Links:
Resource Manager Overview: https://cloud.google.com/resource-manager/docs/overview IAM Overview: https://cloud.google.com/iam/docs/overview Understanding Roles: https://cloud.google.com/iam/docs/understanding-roles IAM best practices: https://cloud.google.com/iam/docs/best-practices-for-managing-iam



You are developing your microservices application on Google Kubernetes Engine. During testing, you want to validate the behavior of your application in case a specific microservice should suddenly crash.
What should you do?

  1. Add a taint to one of the nodes of the Kubernetes cluster. For the specific microservice, configure a pod anti-affinity label that has the name of the tainted node as a value.
  2. Use Istio's fault injection on the particular microservice whose faulty behavior you want to simulate.
  3. Destroy one of the nodes of the Kubernetes cluster to observe the behavior.
  4. Configure Istio's traffic management features to steer the traffic away from a crashing microservice.

Answer(s): B

Explanation:

The correct answer is B. Use Istio's fault injection on the particular microservice whose faulty behavior you want to simulate.
Here's why:
Istio, a service mesh, provides powerful features for controlling and observing traffic within a Kubernetes cluster. One key feature is fault injection, which allows developers to introduce controlled errors into their system to test resilience. This is achieved by configuring Istio virtual services to inject delays, abort requests, or introduce other faults into traffic destined for specific microservices. By using fault injection, you can simulate a microservice crash without actually causing a real crash. This makes the testing process safer, more controlled, and easier to analyze.
Option A, using node taints and pod anti-affinity, is not the right approach for simulating microservice crashes. Taints and anti-affinity rules are used for node scheduling and distribution of pods across nodes.
While taints could potentially force a pod to restart on a different node, they don't directly cause the internal application crash you're trying to simulate.
Option C, destroying a node, is drastic and unnecessary. It would lead to a real cluster disruption rather than a controlled test. Moreover, it does not allow for controlled simulation of various fault behavior and will cause the loss of applications running on that particular node. This is not the intended way to check the resilience of your application.
Option D, configuring traffic management to steer away from a crashing microservice, addresses a different concern.
While traffic management is crucial for production stability and avoiding impact from failing microservices, it isn't meant for simulated failures. Instead, it is meant for handling actual failure, not simulating the failure in the first place.
Therefore, Istio's fault injection provides the most effective and controlled approach for validating the behavior of a microservices application when a microservice suddenly appears to crash. It offers a safe, granular, and predictable way to analyze the application's resilience to specific error conditions.
Further Research:
Istio Fault Injection: https://istio.io/latest/docs/tasks/traffic-management/fault-injection/ Google Kubernetes Engine (GKE): https://cloud.google.com/kubernetes-engine Service Mesh Concepts: https://martinfowler.com/articles/service-mesh.html



Viewing page 28 of 98
Viewing questions 136 - 140 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!