πŸ”

PCA β€” questions

Page 15 of 17 Β· 337 total questions.

Topic 5 Β· Question 281

Mountkirk Games' gaming servers are not automatically scaling properly. Last month, they rolled out a new feature, which suddenly became very popular. A record number of users are trying to use the service, but many of them are getting 503 errors and very slow response times. What should they investigate first?

  • AVerify that the database is online
  • BVerify that the project quota hasn't been exceeded (correct answer)
  • CVerify that the new feature code did not introduce any performance bugs
  • DVerify that the load-testing team is not running their tool against production
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Verify that the project quota hasn't been exceeded.

Topic 5 Β· Question 282

Mountkirk Games needs to create a repeatable and configurable mechanism for deploying isolated application environments. Developers and testers can access each other's environments and resources, but they cannot access staging or production resources. The staging environment needs access to some services from production. What should you do to isolate development environments from staging and production?

  • ACreate a project for development and test and another for staging and production
  • BCreate a network for development and test and another for staging and production
  • CCreate one subnetwork for development and another for staging and production
  • DCreate one project for development, a second for staging and a third for production (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create one project for development, a second for staging and a third for production.

Topic 5 Β· Question 283

Mountkirk Games wants to set up a real-time analytics platform for their new game. The new platform must meet their technical requirements. Which combination of Google technologies will meet all of their requirements?

  • AKubernetes Engine, Cloud Pub/Sub, and Cloud SQL
  • BCloud Dataflow, Cloud Storage, Cloud Pub/Sub, and BigQuery (correct answer)
  • CCloud SQL, Cloud Storage, Cloud Pub/Sub, and Cloud Dataflow
  • DCloud Dataproc, Cloud Pub/Sub, Cloud SQL, and Cloud Dataflow
  • ECloud Pub/Sub, Compute Engine, Cloud Storage, and Cloud Dataproc
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Cloud Dataflow, Cloud Storage, Cloud Pub/Sub, and BigQuery

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. Dataflow runs serverless Apache Beam pipelines for stream and batch data processing with autoscaling. This option meets the real-time / low-latency performance requirement.

Topic 6 Β· Question 284 Β· Select all that apply

For this question, refer to the Mountkirk Games case study. Mountkirk Games wants to migrate from their current analytics and statistics reporting model to one that meets their technical requirements on Google Cloud Platform. Which two steps should be part of their migration plan? (Choose two.)

  • AEvaluate the impact of migrating their current batch ETL code to Cloud Dataflow. (correct answer)
  • BWrite a schema migration plan to denormalize data for better performance in BigQuery. (correct answer)
  • CDraw an architecture diagram that shows how to move from a single MySQL database to a MySQL cluster.
  • DLoad 10 TB of analytics data from a previous game into a Cloud SQL instance, and run test queries against the full dataset to confirm that they complete successfully.
  • EIntegrate Cloud Armor to defend against possible SQL injection attacks in analytics files uploaded to Cloud Storage.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: Evaluate the impact of migrating their current batch ETL code to Cloud Dataflow. Option B: Write a schema migration plan to denormalize data for better performance in BigQuery.

Explanation

Google Cloud Batch schedules and runs batch jobs at scale without managing infrastructure. BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. Dataflow runs serverless Apache Beam pipelines for stream and batch data processing with autoscaling.

Topic 6 Β· Question 285

For this question, refer to the Mountkirk Games case study. You need to analyze and define the technical architecture for the compute workloads for your company, Mountkirk Games. Considering the Mountkirk Games business and technical requirements, what should you do?

  • ACreate network load balancers. Use preemptible Compute Engine instances.
  • BCreate network load balancers. Use non-preemptible Compute Engine instances.
  • CCreate a global load balancer with managed instance groups and autoscaling policies. Use preemptible Compute Engine instances.
  • DCreate a global load balancer with managed instance groups and autoscaling policies. Use non-preemptible Compute Engine instances. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create a global load balancer with managed instance groups and autoscaling policies. Use non-preemptible Compute Engine instances.

Explanation

A managed instance group provides autoscaling, autohealing, and rolling updates for VMs. Preemptible/Spot VMs use spare capacity at a large discount for fault-tolerant, interruptible work. Compute Engine provides configurable virtual machines when you need full control of the OS.

Topic 6 Β· Question 286 Β· Select all that apply

For this question, refer to the Mountkirk Games case study. Mountkirk Games wants to design their solution for the future in order to take advantage of cloud and technology improvements as they become available. Which two steps should they take? (Choose two.)

  • AStore as much analytics and game activity data as financially feasible today so it can be used to train machine learning models to predict user behavior in the future.
  • BBegin packaging their game backend artifacts in container images and running them on Google Kubernetes Engine to improve the ability to scale up or down based on game activity. (correct answer)
  • CSet up a CI/CD pipeline using Jenkins and Spinnaker to automate canary deployments and improve development velocity. (correct answer)
  • DAdopt a schema versioning tool to reduce downtime when adding new game features that require storing additional player data in the database.
  • EImplement a weekly rolling maintenance process for the Linux virtual machines so they can apply critical kernel patches and package updates and reduce the risk of 0-day vulnerabilities.
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Begin packaging their game backend artifacts in container images and running them on Google Kubernetes Engine to improve the ability to scale up or down based on game activity. Option C: Set up a CI/CD pipeline using Jenkins and Spinnaker to automate canary deployments and improve development velocity.

Explanation

Google Kubernetes Engine runs managed Kubernetes for containerized workloads.

Topic 6 Β· Question 287

For this question, refer to the Mountkirk Games case study. Mountkirk Games wants you to design a way to test the analytics platform's resilience to changes in mobile network latency. What should you do?

  • ADeploy failure injection software to the game analytics platform that can inject additional latency to mobile client analytics traffic. (correct answer)
  • BBuild a test client that can be run from a mobile phone emulator on a Compute Engine virtual machine, and run multiple copies in Google Cloud Platform regions all over the world to generate realistic traffic.
  • CAdd the ability to introduce a random amount of delay before beginning to process analytics files uploaded from mobile devices.
  • DCreate an opt-in beta of the game that runs on players' mobile devices and collects response times from analytics endpoints running in Google Cloud Platform regions all over the world.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Deploy failure injection software to the game analytics platform that can inject additional latency to mobile client analytics traffic. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 6 Β· Question 288

For this question, refer to the Mountkirk Games case study. You need to analyze and define the technical architecture for the database workloads for your company, Mountkirk Games. Considering the business and technical requirements, what should you do?

  • AUse Cloud SQL for time series data, and use Cloud Bigtable for historical data queries.
  • BUse Cloud SQL to replace MySQL, and use Cloud Spanner for historical data queries.
  • CUse Cloud Bigtable to replace MySQL, and use BigQuery for historical data queries.
  • DUse Cloud Bigtable for time series data, use Cloud Spanner for transactional data, and use BigQuery for historical data queries. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use Cloud Bigtable for time series data, use Cloud Spanner for transactional data, and use BigQuery for historical data queries.

Explanation

Cloud Spanner is a horizontally scalable, strongly consistent relational database with global reach. Cloud Bigtable is a managed, low-latency NoSQL wide-column store for very high-throughput workloads. BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage.

Topic 6 Β· Question 289

For this question, refer to the Mountkirk Games case study. Which managed storage option meets Mountkirk's technical requirement for storing game activity in a time series database service?

  • ACloud Bigtable (correct answer)
  • BCloud Spanner
  • CBigQuery
  • DCloud Datastore
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Cloud Bigtable

Explanation

Cloud Bigtable is a managed, low-latency NoSQL wide-column store for very high-throughput workloads.

Topic 6 Β· Question 290

For this question, refer to the Mountkirk Games case study. You are in charge of the new Game Backend Platform architecture. The game communicates with the backend over a REST API. You want to follow Google-recommended practices. How should you design the backend?

  • ACreate an instance template for the backend. For every region, deploy it on a multi-zone managed instance group. Use an L4 load balancer.
  • BCreate an instance template for the backend. For every region, deploy it on a single-zone managed instance group. Use an L4 load balancer.
  • CCreate an instance template for the backend. For every region, deploy it on a multi-zone managed instance group. Use an L7 load balancer. (correct answer)
  • DCreate an instance template for the backend. For every region, deploy it on a single-zone managed instance group. Use an L7 load balancer.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create an instance template for the backend. For every region, deploy it on a multi-zone managed instance group. Use an L7 load balancer.

Explanation

A managed instance group provides autoscaling, autohealing, and rolling updates for VMs. A load balancer distributes traffic across healthy backends in multiple zones for availability and scale.

Topic 7 Β· Question 291

You need to optimize batch file transfers into Cloud Storage for Mountkirk Games' new Google Cloud solution. The batch files contain game statistics that need to be staged in Cloud Storage and be processed by an extract transform load (ETL) tool. What should you do?

  • AUse gsutil to batch move files in sequence.
  • BUse gsutil to batch copy the files in parallel. (correct answer)
  • CUse gsutil to extract the files as the first part of ETL.
  • DUse gsutil to load the files as the last part of ETL.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use gsutil to batch copy the files in parallel.

Explanation

Google Cloud Batch schedules and runs batch jobs at scale without managing infrastructure.

Topic 7 Β· Question 292

You are implementing Firestore for Mountkirk Games. Mountkirk Games wants to give a new game programmatic access to a legacy game's Firestore database. Access should be as restricted as possible. What should you do?

  • ACreate a service account (SA) in the legacy game's Google Cloud project, add a second SA in the new game's IAM page, and then give the Organization Admin role to both SAs.
  • BCreate a service account (SA) in the legacy game's Google Cloud project, give the SA the Organization Admin role, and then give it the Firebase Admin role in both projects.
  • CCreate a service account (SA) in the legacy game's Google Cloud project, add this SA in the new game's IAM page, and then give it the Firebase Admin role in both projects. (correct answer)
  • DCreate a service account (SA) in the legacy game's Google Cloud project, give it the Firebase Admin role, and then migrate the new game to the legacy game's project.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a service account (SA) in the legacy game's Google Cloud project, add this SA in the new game's IAM page, and then give it the Firebase Admin role in both projects.

Explanation

A service account provides an identity for workloads to access Google Cloud APIs securely. Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources.

Topic 7 Β· Question 293

Mountkirk Games wants to limit the physical location of resources to their operating Google Cloud regions. What should you do?

  • AConfigure an organizational policy which constrains where resources can be deployed. (correct answer)
  • BConfigure IAM conditions to limit what resources can be configured.
  • CConfigure the quotas for resources in the regions not being used to 0.
  • DConfigure a custom alert in Cloud Monitoring so you can disable resources as they are created in other regions.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure an organizational policy which constrains where resources can be deployed.

Topic 7 Β· Question 294

You need to implement a network ingress for a new game that meets the defined business and technical requirements. Mountkirk Games wants each regional game instance to be located in multiple Google Cloud regions. What should you do?

  • AConfigure a global load balancer connected to a managed instance group running Compute Engine instances.
  • BConfigure kubemci with a global load balancer and Google Kubernetes Engine.
  • CConfigure a global load balancer with Google Kubernetes Engine. (correct answer)
  • DConfigure Ingress for Anthos with a global load balancer and Google Kubernetes Engine.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure a global load balancer with Google Kubernetes Engine.

Explanation

Google Kubernetes Engine runs managed Kubernetes for containerized workloads. A load balancer distributes traffic across healthy backends in multiple zones for availability and scale.

Topic 7 Β· Question 295

Your development teams release new versions of games running on Google Kubernetes Engine (GKE) daily. You want to create service level indicators (SLIs) to evaluate the quality of the new versions from the user's perspective. What should you do?

  • ACreate CPU Utilization and Request Latency as service level indicators.
  • BCreate GKE CPU Utilization and Memory Utilization as service level indicators.
  • CCreate Request Latency and Error Rate as service level indicators. (correct answer)
  • DCreate Server Uptime and Error Rate as service level indicators.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create Request Latency and Error Rate as service level indicators.

Topic 7 Β· Question 296

Mountkirk Games wants you to secure the connectivity from the new gaming application platform to Google Cloud. You want to streamline the process and follow Google-recommended practices. What should you do?

  • AConfigure Workload Identity and service accounts to be used by the application platform. (correct answer)
  • BUse Kubernetes Secrets, which are obfuscated by default. Configure these Secrets to be used by the application platform.
  • CConfigure Kubernetes Secrets to store the secret, enable Application-Layer Secrets Encryption, and use Cloud Key Management Service (Cloud KMS) to manage the encryption keys. Configure these Secrets to be used by the application platform.
  • DConfigure HashiCorp Vault on Compute Engine, and use customer managed encryption keys and Cloud Key Management Service (Cloud KMS) to manage the encryption keys. Configure these Secrets to be used by the application platform.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure Workload Identity and service accounts to be used by the application platform.

Explanation

Workload Identity Federation lets workloads access Google Cloud without long-lived service account keys. A service account provides an identity for workloads to access Google Cloud APIs securely.

Topic 7 Β· Question 297

Your development team has created a mobile game app. You want to test the new mobile app on Android and iOS devices with a variety of configurations. You need to ensure that testing is efficient and cost-effective. What should you do?

  • AUpload your mobile app to the Firebase Test Lab, and test the mobile app on Android and iOS devices. (correct answer)
  • BCreate Android and iOS VMs on Google Cloud, install the mobile app on the VMs, and test the mobile app.
  • CCreate Android and iOS containers on Google Kubernetes Engine (GKE), install the mobile app on the containers, and test the mobile app.
  • DUpload your mobile app with different configurations to Firebase Hosting and test each configuration.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Upload your mobile app to the Firebase Test Lab, and test the mobile app on Android and iOS devices. This option delivers the requirement at the lowest cost.

Topic 8 Β· Question 298

TerramEarth's CTO wants to use the raw data from connected vehicles to help identify approximately when a vehicle in the field will have a catastrophic failure. You want to allow analysts to centrally query the vehicle data. Which architecture should you recommend? A. B. C. D.

  • A (correct answer)
  • B
  • C
  • D
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A:.

Topic 8 Β· Question 299

The TerramEarth development team wants to create an API to meet the company's business requirements. You want the development team to focus their development effort on business value versus creating a custom framework. Which method should they use?

  • AUse Google App Engine with Google Cloud Endpoints. Focus on an API for dealers and partners (correct answer)
  • BUse Google App Engine with a JAX-RS Jersey Java-based framework. Focus on an API for the public
  • CUse Google App Engine with the Swagger (Open API Specification) framework. Focus on an API for the public
  • DUse Google Container Engine with a Django Python container. Focus on an API for the public
  • EUse Google Container Engine with a Tomcat container with the Swagger (Open API Specification) framework. Focus on an API for dealers and partners
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use Google App Engine with Google Cloud Endpoints. Focus on an API for dealers and partners

Explanation

App Engine is a fully managed platform that runs and autoscales web apps with little operational effort.

Topic 8 Β· Question 300

Your development team has created a structured API to retrieve vehicle data. They want to allow third parties to develop tools for dealerships that use this vehicle event data. You want to support delegated authorization against this data. What should you do?

  • ABuild or leverage an OAuth-compatible access control system (correct answer)
  • BBuild SAML 2.0 SSO compatibility into your authentication system
  • CRestrict data access based on the source IP address of the partner systems
  • DCreate secondary credentials for each dealer that can be given to the trusted third party
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Build or leverage an OAuth-compatible access control system.

Showing questions 281–300 of 337 Β· Page 15 of 17