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

Updated On: 15-Sep-2026

You created a pipeline that can deploy your source code changes to your infrastructure in instance groups for self-healing. One of the changes negatively affects your key performance indicator. You are not sure how to fix it, and investigation could take up to a week.
What should you do?

  1. Log in to a server, and iterate on the fox locally
  2. Revert the source code change, and rerun the deployment pipeline
  3. Log into the servers with the bad code change, and swap in the previous code
  4. Change the instance group template to the previous one, and delete all instances

Answer(s): B

Explanation:

The most appropriate action when a code change negatively impacts key performance indicators (KPIs) and requires extended investigation is to revert to the previous known good state. Option B, "Revert the source code change, and rerun the deployment pipeline," directly addresses this by restoring the system to a functional state, minimizing further impact on users and KPIs. This approach leverages the benefits of a well-defined CI/CD pipeline, which allows for swift rollbacks. By reverting the source code and redeploying, you're effectively undoing the problematic change across all instances within the managed instance group. Options A and C involve manual interventions on individual servers, which go against the principles of infrastructure as code and could introduce inconsistencies. Furthermore, direct server manipulation is time-consuming, especially in larger deployments. Option D, while technically correct in reverting the infrastructure template, it does not address the code change itself and is more destructive, potentially causing downtime if the instance deletion isn't carefully managed with a rolling update process. Reverting the source code is the quickest, least disruptive, and most scalable solution for mitigating the immediate issue and ensuring stability while the root cause is investigated. This promotes efficient incident response and enables quicker experimentation and redeployment when a fix is identified. This aligns with best practices for maintaining service availability and minimizing user impact.
Supporting Links:
Rolling Updates with Managed Instance Groups: https://cloud.google.com/compute/docs/instance-groups/rolling-updates CI/CD Best Practices: https://cloud.google.com/architecture/devops/devops-technical-practices Infrastructure as Code: https://cloud.google.com/solutions/infrastructure-as-code



Your organization wants to control IAM policies for different departments independently, but centrally.
Which approach should you take?

  1. Multiple Organizations with multiple Folders
  2. Multiple Organizations, one for each department
  3. A single Organization with Folders for each department
  4. A single Organization with multiple projects, each with a central owner

Answer(s): C

Explanation:

The correct answer is C. A single Organization with Folders for each department.
Here's why: Google Cloud Platform's (GCP) resource hierarchy is designed to provide centralized management with decentralized control. Organizations represent your company, Folders group resources based on business units or departments, and Projects are where actual work happens. Using a single
Organization centralizes policy inheritance, allowing organization-level policies to cascade down. Folders then allow for departmental specific IAM policies to be applied independently. This approach allows departments to administer their resources and permissions without impacting other departments, fulfilling the requirement for independent IAM control. Option A introduces unnecessary complexity, B creates management overhead, and D misses the point of using folders for departmental separation. Option C aligns with best practices for hierarchical resource management. Folders ensure that different departments can have their distinct IAM policies while being managed centrally by the organization. Projects nested within folders inherit those folder-level policies. This approach fosters a balance between centralized oversight and decentralized control. This allows the organization to maintain compliance while enabling teams to work with the resources they need.
Authoritative Links:
GCP Resource Hierarchy: https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy IAM Overview: https://cloud.google.com/iam/docs/overview Folders Overview: https://cloud.google.com/resource-manager/docs/creating-managing-folders



You deploy your custom Java application to Google App Engine. It fails to deploy and gives you the following stack trace.
What should you do?

  1. Upload missing JAR files and redeploy your application.
  2. Digitally sign all of your JAR files and redeploy your application
  3. Recompile the CLoakedServlet class using and MD5 hash instead of SHA1

Answer(s): B

Explanation:

B: Digitally sign all of your JAR files and redeploy your application



You are designing a mobile chat application. You want to ensure people cannot spoof chat messages, by providing a message were sent by a specific user.
What should you do?

  1. Tag messages client side with the originating user identifier and the destination user.
  2. Encrypt the message client side using block-based encryption with a shared key.
  3. Use public key infrastructure (PKI) to encrypt the message client side using the originating user's private key.
  4. Use a trusted certificate authority to enable SSL connectivity between the client application and the server.

Answer(s): C

Explanation:

The correct answer is C, utilizing Public Key Infrastructure (PKI) for message signing. Here's why:
Option C addresses the core requirement of non-repudiation and message integrity. By using PKI, each user possesses a unique private key (kept secret) and a corresponding public key (shared).
When sending a message, the user signs it with their private key, generating a digital signature. The receiver can then verify this signature using the sender's public key. If the signature is valid, it proves the message originated from the claimed sender and hasn't been tampered with. This mechanism provides strong assurance against message spoofing.
Option A is insufficient. Tagging messages with user IDs is easily spoofable. A malicious user can simply change the identifier. Option B, using shared-key encryption, doesn’t provide non-repudiation; anyone with the key can forge a message. Option D, SSL connectivity, focuses on secure transmission (encryption in transit) but does not address the issue of authenticating the message's origin or its integrity.
In summary, PKI with digital signatures provides the essential mechanism for securely verifying the source and integrity of chat messages, fulfilling the requirement to prevent spoofing.
Authoritative Links for Further Research:
Public Key Infrastructure (PKI): https://en.wikipedia.org/wiki/Public_key_infrastructure Digital Signatures: https://en.wikipedia.org/wiki/Digital_signature Google Cloud Security Overview: https://cloud.google.com/security



As part of implementing their disaster recovery plan, your company is trying to replicate their production MySQL database from their private data center to their GCP project using a Google Cloud VPN connection. They are experiencing latency issues and a small amount of packet loss that is disrupting the replication.
What should they do?

  1. Configure their replication to use UDP.
  2. Configure a Google Cloud Dedicated Interconnect.
  3. Restore their database daily using Google Cloud SQL.
  4. Add additional VPN connections and load balance them.
  5. Send the replicated transaction to Google Cloud Pub/Sub.

Answer(s): B

Explanation:

The correct answer is B. Configure a Google Cloud Dedicated Interconnect. Here's why:
The scenario describes a need for reliable, low-latency connectivity for database replication between an on-premises data center and Google Cloud Platform (GCP).
While a VPN connection provides secure communication, it utilizes the public internet, which can be susceptible to latency issues and packet loss, as experienced in the question.
Dedicated Interconnect provides a direct physical connection between the on-premises network and Google's network. This eliminates the "noisy neighbor" problem of shared internet links, offering more predictable and consistent performance. This dedicated path results in lower latency and higher bandwidth, which are crucial for consistent and reliable database replication, especially when dealing with large data transfers. Packet loss is significantly reduced due to the dedicated nature of the connection.
Options A, C, D and E are not suitable. UDP (A) is connectionless and unreliable, making it unsuitable for transactional database replication. Restoring the database daily (C) is not a replication strategy and will result in significant data loss. Adding more VPN connections (D) may introduce further complexity, and it won't eliminate the inherent instability of internet traffic, also adding more VPN connections will not fix the bandwidth limitations. Sending data via Cloud Pub/Sub (E) is more suitable for asynchronous processing, not for synchronous database replication that requires guaranteed data order.
Therefore, a Dedicated Interconnect provides the most appropriate solution by addressing the specific requirements of reliable, low-latency connectivity for database replication.
Authoritative Links:
Google Cloud Dedicated Interconnect: https://cloud.google.com/network-connectivity/docs/interconnect/concepts/dedicated-interconnect Google Cloud VPN: https://cloud.google.com/network-connectivity/docs/vpn/concepts/overview



Viewing page 9 of 98
Viewing questions 41 - 45 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!