Google

Professional Cloud Architect Free Practice Questions — Page 5

Question 41

Company Overview - KnightMotives is a car manufacturer specializing in autonomous, self-driving vehicles, including Battery Electric Vehicles (BEVs), hybrids and traditional internal combustion engine (ICE) vehicles. While KnightMotives has made strides with the in-vehicle experience in their BEV fleet, the hybrid and ICE vehicles have yet to implement these new systems and are viewed poorly by critics and drivers. The lack of modern in-vehicle technology in hybrid and ICE vehicles has resulted in declining sales and customer satisfaction. KnightMotives wants to modernize the consumer experience across all vehicles within five years Artificial Intelligence offers a unique opportunity to revolutionize the in-vehicle experience, as well as the shopping buying and service/maintenance experience. Investment in this new technology will require a shift in financial priorities on a global scale. KnightMotives also wants to improve their online ordering system, which is unreliable. Systems for customers to build their vehicle online for acquisition through a dealer are not delivering the data or reliability that dealers need, causing. A strain in the relationship between KnightMotives and dealers. Service technicians and sales staff need better tooling to enhance dealer successes, including built-to-order vehicles. Solution Concept - KnightMotives wants to shift from manufacturing cars to creating a complete and compelling “automotive experience.” Then strategy prioritizes delivering a consistent experience across all models, developing AI-powered features, generating new revenue from data monetization, adopting a digital focus to differentiate their brand from competitors, and developing better tools for mechanics and salespeople. Existing Technical Environment - KnightMotives's IT is largely on-premises with some applications on major cloud platforms. Their supply chain runs on an outdated mainframe, and Enterprise Resource Planning (ERP) is also outdated, making new promotions and dealer discounts difficult to implement. Dealers have no budget for new equipment. There is fragmentation across vehicles with multiple code bases, and significant technical debt from supporting backwards compatibility. Network connectivity to manufacturing plants and vehicle connectivity in rural areas are challenges. Business Requirements - Key business requirements include fostering a personalized relationship with the driver and delivering a cohesive experience across all models. Creating a better build-to-order model will reduce time on the lot and provide transparency for both dealers and customers. Additionally, KnightMotives seeks to monetize corporate data to finance new technology investments, as their current AI infrastructure is obsolete and corporate data remains siloed. Security is a paramount concern due to past data breaches Adherence to European Union (EU) data protection regulations, especially for emerging autonomous platforms, is critical. KnightMotives plans to make significant investments in fully autonomous driving capabilities, with initial implementation targeting regions with favorable regulatory environments. Prioritizing employee upskilling, attracting top-tier talent, and fostering better communication between business and technical teams are also critical objectives. Technical Requirements - • Modernizing the in-vehicle experience includes developing a consistent user experience (UX) that seamlessly integrates AI-powered features across all models, updating in-vehicle hardware and software in legacy models to support new UX features and AI capabilities, and ensuring reliable network connectivity, especially in rural areas, to support real-time AI features and data transmission. • Network upgrades are necessary to support increased data traffic and improve connectivity between plants and headquarters. • IT infrastructure modernization requires adopting a hybrid cloud strategy to leverage the benefits of both on-premises and cloud infrastructure, and gradually modernizing or replacing legacy systems to improve efficiency and agility. • Autonomous vehicle development and testing requires investing in cutting-edge AI and machine learning technologies, building a robust simulation environment, and ensuring compliance with evolving regulations related to autonomous vehicles. • Data monetization and insights requires implementing a robust data management platform, strict data security and privacy measures, and a scalable AI/ML infrastructure. • Increased focus on security and risk management involves implementing a comprehensive security framework to protect against cyber threats and data breaches, developing an incident response plan, and providing security awareness training to employees. • Providing a delightful experience for dealers and customers requires improving the online build-to-order system; developing modern dealer tools to streamline dealer operations, including sales, service, and inventory management; and implementing a comprehensive Customer Relationship Management (CRM) system to track customer interactions personalize experiences, and improve customer satisfaction. Executive Statement - KnightMotives is committed to enhancing safety and saving lives by leveraging an extensive body of data — encompassing driving, road conditions, behavioral studies, and crash safety statistics — to create compelling digital experiences for drivers. Our AI consistently outperforms national safety statistics, ensuring the unique and coveted KnightMotives experience is aligned across all our vehicle models. Michael Knight, KnightMotives CEO For this question, refer to the KnightMotives Automotive case study, KnightMotives has deployed their new Dealer Tools on Google Kubernetes Engine (GKE). You are supporting KnightMotives in the performance of the GKE workloads. Some of the Pods are Statefull. To ensure these Pods do not consume an unlimited amount of CPU, you have configured resource limits on the Deployments. You have identified that these Pods were allocated too much CPU and are actually consuming drastically less some of the time. You want to optimize resource usage and allow maximum flexibility in case of higher load. What should you do?

A. Configure resource requests per Deployment. Set resource requests slightly above the typical CPU usage observed during monitoring.
B. Configure resource requests per Deployment. Ensure the requests are equal to the current limits.
C. Enable vertical Pod autoscaling on each Deployment. Ensure the autoscaling mode is set to Auto.
D. Enable horizontal Pod autoscaling on each Deployment. Ensure the minimum number of Pods is lower than the currently configured amount in the Deployment.
Show Answer
Correct Answer: A
Explanation:
CPU limits are already configured. To optimize utilization while retaining the ability to burst up to the limit, configure CPU requests based on observed typical usage (slightly above it) and keep limits higher. This creates Burstable QoS, improves scheduling efficiency, and avoids the pod restarts that Vertical Pod Autoscaler in Auto mode can trigger. Horizontal Pod Autoscaler addresses replica count rather than right-sizing CPU reservations.

Question 42

To improve governance and security, your organization has structured the Google Cloud environment using folders for different business units. Each business unit folder has subfolders for development, staging, and production environments, which must comply with internal security controls: • Production workloads must be protected from direct internet ingress by default unless explicitly tagged. • The application must be accessible to customers over HTTPS. You need to design a scalable and enforceable model that blocks internet ingress traffic to the production folders while selectively allowing direct HTTPS traffic to the necessary virtual machines. You must also ensure that individual project teams cannot overwrite these controls once they are implemented for all current and future production projects. What should you do?

A. At each production folder, apply a hierarchical firewall policy to deny all ingress except for HTTPS to tagged VMs.
B. Mandate the application teams to deploy a Terraform module to create VPC firewall rules in each project that deny ingress and allow HTTPS.
C. At the organization root, apply a hierarchical firewall policy to deny all ingress except for HTTPS to tagged VMs.
D. At each production folder, use an organization policy to block all external IPs and require teams to use external HTTPS load balancers.
Show Answer
Correct Answer: A
Explanation:
Hierarchical firewall policies applied at the production folder provide centralized, inherited enforcement for all current and future projects in those folders. They are evaluated before VPC firewall rules, preventing project teams from overriding the controls. Secure tags can be used to selectively allow HTTPS ingress only to tagged VMs while denying other direct internet ingress by default.

Question 43

You are migrating a critical on-premises inventory management application to Google Cloud. The application is a monolith with a traditional relational database, and the immediate business goal is a rapid data center exit. The monolith is exposing an API to other business critical applications. The long-term vision is to modernize the application into globally distributed, cloud-native services to support the company’s expansion. You need to design the initial cloud architecture to ensure that future modernization causes the least possible disruption to other applications that depend on inventory data. The future modernization might require the API to change structure. What should you do?

A. Use Service Directory to register the monolith's endpoint, allowing dependent applications to look up its address and connect directly.
B. Implement a managed API facade with Apigee to handle all requests from dependent applications on behalf of the monolith’s backend.
C. Use an internal load balancer to provide a stable IP for dependent applications to connect directly to the monolith's native API.
D. Provide dependent applications with direct database access by creating secured SQL VIEWs on Cloud SQL for them to query.
Show Answer
Correct Answer: B
Explanation:
A managed API facade using Apigee decouples client applications from the backend implementation. It enables a rapid lift-and-shift by fronting the monolith immediately, then supports gradual modernization by routing, versioning, and transforming requests as the backend evolves into microservices, minimizing disruption even if the backend API changes. Service Directory and an internal load balancer only provide discovery or stable connectivity, not API abstraction. Direct database access tightly couples consumers to the data model and bypasses the application API.

Question 44

You are planning to migrate your on-premises compute and SAP workloads to Google Cloud. You want to follow Google-recommended practices to quickly create a cost estimate for running these workloads in Google Cloud. What should you do?

A. Leverage Cloud Asset Inventory to gather data and generate a cost estimate.
B. Use the Google Cloud pricing calculator, and input the estimated resource to generate a cost estimate.
C. Engage with a Google Cloud partner to perform a comprehensive assessment and provide a customized cost estimate.
D. Gather data about your current environment, and leverage Google Cloud Migration Center to generate a cost estimate.
Show Answer
Correct Answer: D
Explanation:
Google recommends using Migration Center to assess existing on-premises environments, including compute and SAP workloads. After gathering inventory data, Migration Center can generate infrastructure assessments and cost estimates for running workloads on Google Cloud, making it the recommended approach for rapid migration planning.

Question 45

Your team is running applications on a Google Kubernetes Engine (GKE) cluster with a private endpoint. You've set up a Cloud Deploy pipeline, but deployments to the GKE cluster are failing. You need to resolve the issue. What should you do?

A. Use VPC Service Controls with Cloud Build Update the Cloud pipeline to use Cloud Build as its execution environment.
B. Create a Cloud Build private pool in the default VPC. Use Cloud Build to deploy the applications to the GKE cluster.
C. Create a Cloud Build private pool that is peered with the same VPC network as your GKE cluster. Update the Cloud Deploy pipeline to use this private pool as its execution environment.
D. Create a custom target in Cloud Deploy Update the deploy pipeline to use the custom target for the application deployment.
Show Answer
Correct Answer: C
Explanation:
Cloud Deploy uses Cloud Build to execute render and deploy operations. A private GKE control plane is not reachable from the default Google-managed Cloud Build workers. Configuring a Cloud Build private pool that is connected via VPC Network Peering to the same VPC as the private GKE cluster provides network reachability to the cluster's private endpoint, and updating Cloud Deploy to use that private pool resolves the deployment failures.

Question 46

A Cloud Run service running your serverless application is unable to connect to an AlloyDB database created with default configurations. You need to troubleshoot and resolve the issue as quickly as possible. What should you do?

A. Verify that the Cloud Run service and AlloyDB instance are in the same region.
B. Enable Direct VPC egress for the Cloud Run service, and send traffic directly to a VPC.
C. Disable the default public IP address of the AlloyDB instance, and use the private IP address in the connection string.
D. Create a Cloud SQL instance, and migrate the AlloyDB database to PostgreSQL on Cloud SQL.
Show Answer
Correct Answer: B
Explanation:
AlloyDB uses private IP by default within a VPC. Cloud Run does not have VPC access by default, so it cannot reach the database unless configured for VPC connectivity. Enabling Direct VPC egress allows Cloud Run to send traffic into the VPC and connect to the AlloyDB private IP. Simply being in the same region does not establish connectivity, AlloyDB does not have a default public IP to disable, and migrating to Cloud SQL is unnecessary.

Question 47

You are managing a few hundred Ubuntu and Red Hat Enterprise Linux virtual machines running on Google Compute Engine (GCE). You need to patch the operating systems for those VMs periodically in a secure and scalable way. What should you do?

A. Create a Cloud Scheduler job to run a Bash script that securely connects to each VM and applies the patches.
B. Configure Config Sync, and install the Ops Agent on each VM. Schedule a patch job to apply patches on each VM.
C. Schedule a Cloud Build job, and use Cloud Deploy to run a patch job that applies patches on each VM.
D. Set up VM Manager, and install the OS Config agent on each VM. Schedule a patch job to apply patches on each VM.
Show Answer
Correct Answer: D
Explanation:
VM Manager is Google Cloud's native service for managing VM operating systems at scale, including patch management. It uses the OS Config agent installed on Compute Engine VMs to execute scheduled patch jobs securely across fleets of Linux and Windows instances. Config Sync is for Kubernetes configuration management, Ops Agent is for logging/monitoring, and Cloud Build/Cloud Deploy are CI/CD tools rather than OS patch management.

Question 48

You are designing a new insurance claims processing application that will be deployed on Google Kubernetes Engine (GKE) Your company’s compliance team requires a complete and non-repudiable audit trail for all administrative actions from day one. Your application must capture who deploys a new container image, who modifies the GKE cluster's configuration, and who interacts with running pods or Kubernetes secrets using kubectl. What should you do?

A. Enable Binary Authorization on the GKE cluster, and create a policy that requires all deployed container images to be signed by a trusted attestor.
B. Deploy a DaemonSet to every node in the GKE cluster that runs a logging agent to collect and forward all container logs to Cloud Logging.
C. Enable GKE Audit Logging to send Kubernetes API server logs to Cloud Logging, and ensure Cloud Audit Logs are enabled for the project.
D. Activate the Security Command Center Premium tier to analyze GKE logs and detect threats, vulnerabilities, and misconfigurations in real time.
Show Answer
Correct Answer: C
Explanation:
GKE Audit Logging captures Kubernetes API server audit events, including deployments, cluster configuration changes, and kubectl interactions with resources such as Pods and Secrets. Cloud Audit Logs records administrative actions at the Google Cloud project level, providing the required audit trail and non-repudiation for compliance.

Question 49

You are designing the network architecture for a public-facing, containerized web application deployed on Cloud Run. All incoming traffic must be inspected by a Cloud Armor web application firewall (WAF) before reaching the application You plan to use an Application Load Balancer, which will have the Cloud Armor policy attached. You must ensure that all public requests pass through the load balancer and any attempt to access the Cloud Run service directly through its default *.run.app URL is blocked. What should you do?

A. Enable Identity-Aware Proxy (IAP) directly on the Cloud Run service to intercept and validate all incoming requests
B. Create a DNS entry to route traffic to Cloud Armor. Configure Cloud Armor to deny traffic from unknown IP addresses
C. Set the Cloud Run ingress to Allow internal traffic and Cloud Load Balancing, and use a serverless NEG backend on the load balancer
D. Configure a VPC firewall rule with a high priority to deny all traffic that does not originate from the load balancer
Show Answer
Correct Answer: C
Explanation:
To ensure Cloud Armor cannot be bypassed, configure the Cloud Run service ingress to allow only internal traffic and Cloud Load Balancing ('Internal and Cloud Load Balancing'). Then place the service behind an Application Load Balancer using a serverless Network Endpoint Group (NEG). This blocks direct access via the default *.run.app URL while allowing traffic forwarded by the load balancer, where the Cloud Armor WAF policy is enforced.

Question 50

Your organization uses separate Google Cloud projects for shared services, development, testing, and production. • The shared services project hosts your private CI/CD runners and a central Artifact Registry • The development, testing, and production projects host the GKE clusters where applications are deployed. You need to design an architecture that allows the CI/CD runners to connect to the GKE clusters and the clusters to pull images from Artifact Registry, all using private IP addresses. However, direct network traffic between the development, testing, and production environments must be strictly prohibited. What should you do?

A. Create a separate VPC in each of the four projects. Connect each environment's VPC to the shared services VPC through VPC Network Peering.
B. Expose the resources in the shared services project using an external load balancer. Implement a firewall rule to limit access.
C. Create a separate VPC in each project. Use VPC Network Peering to create a full mesh, connecting every VPC directly to every other VP
D. Configure the shared services project as a Shared VPC host. Create a single VPC in this host project and attach the environment projects as service projects.
Show Answer
Correct Answer: A
Explanation:
A hub-and-spoke topology with a dedicated VPC in the shared services project peered individually to the development, testing, and production VPCs allows private connectivity from CI/CD runners to each GKE cluster and from each cluster to the central Artifact Registry. VPC Network Peering is non-transitive, so the environment VPCs cannot communicate with each other through the shared services VPC, satisfying the requirement to prohibit direct traffic between development, testing, and production. Shared VPC would place all projects on a single VPC, enabling inter-environment communication unless further restricted, and a full mesh would explicitly connect environments to each other. External load balancers would not meet the private-IP-only requirement.

$19

Get all 306 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.