πŸ”

PCA β€” questions

Page 14 of 17 Β· 337 total questions.

Topic 2 Β· Question 261

JencoMart has decided to migrate user profile storage to Google Cloud Datastore and the application servers to Google Compute Engine (GCE). During the migration, the existing infrastructure will need access to Datastore to upload the data. What service account key-management strategy should you recommend?

  • AProvision service account keys for the on-premises infrastructure and for the GCE virtual machines (VMs)
  • BAuthenticate the on-premises infrastructure with a user account and provision service account keys for the VMs
  • CProvision service account keys for the on-premises infrastructure and use Google Cloud Platform (GCP) managed keys for the VMs (correct answer)
  • DDeploy a custom authentication service on GCE/Google Kubernetes Engine (GKE) for the on-premises infrastructure and use GCP managed keys for the VMs
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Provision service account keys for the on-premises infrastructure and use Google Cloud Platform (GCP) managed keys for the VMs

Explanation

A service account provides an identity for workloads to access Google Cloud APIs securely.

Topic 2 Β· Question 262

JencoMart has built a version of their application on Google Cloud Platform that serves traffic to Asia. You want to measure success against their business and technical goals. Which metrics should you track?

  • AError rates for requests from Asia
  • BLatency difference between US and Asia
  • CTotal visits, error rates, and latency from Asia (correct answer)
  • DTotal visits and average latency for users from Asia
  • EThe number of character sets present in the database
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Total visits, error rates, and latency from Asia.

Topic 2 Β· Question 263 Β· Select all that apply

The migration of JencoMart's application to Google Cloud Platform (GCP) is progressing too slowly. The infrastructure is shown in the diagram. You want to maximize throughput. What are three potential bottlenecks? (Choose three.)

  • AA single VPN tunnel, which limits throughput (correct answer)
  • BA tier of Google Cloud Storage that is not suited for this task
  • CA copy command that is not suited to operate over long distances (correct answer)
  • DFewer virtual machines (VMs) in GCP than on-premises machines
  • EA separate storage layer outside the VMs, which is not suited for this task
  • FComplicated internet connectivity between the on-premises infrastructure and GCP (correct answer)
Reveal answer & explanation
Correct answer: A, C, F

The correct answer is A, C, F. Option A: A single VPN tunnel, which limits throughput Option C: A copy command that is not suited to operate over long distances Option F: Complicated internet connectivity between the on-premises infrastructure and GCP.

Topic 2 Β· Question 264

JencoMart wants to move their User Profiles database to Google Cloud Platform. Which Google Database should they use?

  • ACloud Spanner
  • BGoogle BigQuery
  • CGoogle Cloud SQL
  • DGoogle Cloud Datastore (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Google Cloud Datastore

Explanation

Datastore (Firestore in Datastore mode) is a serverless NoSQL database for user profiles and app state.

Topic 3 Β· Question 265

For this question, refer to the Helicopter Racing League (HRL) case study. Your team is in charge of creating a payment card data vault for card numbers used to bill tens of thousands of viewers, merchandise consumers, and season ticket holders. You need to implement a custom card tokenization service that meets the following requirements: * It must provide low latency at minimal cost. * It must be able to identify duplicate credit cards and must not store plaintext card numbers. * It should support annual key rotation. Which storage approach should you adopt for your tokenization service?

  • AStore the card data in Secret Manager after running a query to identify duplicates.
  • BEncrypt the card data with a deterministic algorithm stored in Firestore using Datastore mode. (correct answer)
  • CEncrypt the card data with a deterministic algorithm and shard it across multiple Memorystore instances.
  • DUse column-level encryption to store the data in Cloud SQL.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Encrypt the card data with a deterministic algorithm stored in Firestore using Datastore mode.

Explanation

Firestore is a serverless, autoscaling NoSQL document database ideal for app and user data. Datastore (Firestore in Datastore mode) is a serverless NoSQL database for user profiles and app state. This option meets the real-time / low-latency performance requirement.

Topic 3 Β· Question 266

For this question, refer to the Helicopter Racing League (HRL) case study. Recently HRL started a new regional racing league in Cape Town, South Africa. In an effort to give customers in Cape Town a better user experience, HRL has partnered with the Content Delivery Network provider, Fastly. HRL needs to allow traffic coming from all of the Fastly IP address ranges into their Virtual Private Cloud network (VPC network). You are a member of the HRL security team and you need to configure the update that will allow only the Fastly IP address ranges through the External HTTP(S) load balancer. Which command should you use? A. B. C. D.

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

The correct answer is D. Option D:.

Topic 3 Β· Question 267

For this question, refer to the Helicopter Racing League (HRL) case study. The HRL development team releases a new version of their predictive capability application every Tuesday evening at 3 a.m. UTC to a repository. The security team at HRL has developed an in-house penetration test Cloud Function called Airwolf. The security team wants to run Airwolf against the predictive capability application as soon as it is released every Tuesday. You need to set up Airwolf to run at the recurring weekly cadence. What should you do?

  • ASet up Cloud Tasks and a Cloud Storage bucket that triggers a Cloud Function.
  • BSet up a Cloud Logging sink and a Cloud Storage bucket that triggers a Cloud Function.
  • CConfigure the deployment job to notify a Pub/Sub queue that triggers a Cloud Function. (correct answer)
  • DSet up Identity and Access Management (IAM) and Confidential Computing to trigger a Cloud Function.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure the deployment job to notify a Pub/Sub queue that triggers a Cloud Function.

Explanation

Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams.

Topic 3 Β· Question 268

For this question, refer to the Helicopter Racing League (HRL) case study. HRL wants better prediction accuracy from their ML prediction models. They want you to use Google's AI Platform so HRL can understand and interpret the predictions. What should you do?

  • AUse Explainable AI. (correct answer)
  • BUse Vision AI.
  • CUse Google Cloud's operations suite.
  • DUse Jupyter Notebooks.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use Explainable AI.

Topic 3 Β· Question 269

For this question, refer to the Helicopter Racing League (HRL) case study. HRL is looking for a cost-effective approach for storing their race data such as telemetry. They want to keep all historical records, train models using only the previous season's data, and plan for data growth in terms of volume and information collected. You need to propose a data solution. Considering HRL business requirements and the goals expressed by CEO S. Hawke, what should you do?

  • AUse Firestore for its scalable and flexible document-based database. Use collections to aggregate race data by season and event.
  • BUse Cloud Spanner for its scalability and ability to version schemas with zero downtime. Split race data using season as a primary key.
  • CUse BigQuery for its scalability and ability to add columns to a schema. Partition race data based on season. (correct answer)
  • DUse Cloud SQL for its ability to automatically manage storage increases and compatibility with MySQL. Use separate database instances for each season.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use BigQuery for its scalability and ability to add columns to a schema. Partition race data based on season.

Explanation

BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. This option delivers the requirement at the lowest cost.

Topic 3 Β· Question 270

For this question, refer to the Helicopter Racing League (HRL) case study. A recent finance audit of cloud infrastructure noted an exceptionally high number of Compute Engine instances are allocated to do video encoding and transcoding. You suspect that these Virtual Machines are zombie machines that were not deleted after their workloads completed. You need to quickly get a list of which VM instances are idle. What should you do?

  • ALog into each Compute Engine instance and collect disk, CPU, memory, and network usage statistics for analysis.
  • BUse the gcloud compute instances list to list the virtual machine instances that have the idle: true label set.
  • CUse the gcloud recommender command to list the idle virtual machine instances. (correct answer)
  • DFrom the Google Console, identify which Compute Engine instances in the managed instance groups are no longer responding to health check probes.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use the gcloud recommender command to list the idle virtual machine instances.

Topic 4 Β· Question 271 Β· Select all that apply

For this question, refer to the EHR Healthcare case study. You are responsible for ensuring that EHR's use of Google Cloud will pass an upcoming privacy compliance audit. What should you do? (Choose two.)

  • AVerify EHR's product usage against the list of compliant products on the Google Cloud compliance page. (correct answer)
  • BAdvise EHR to execute a Business Associate Agreement (BAA) with Google Cloud. (correct answer)
  • CUse Firebase Authentication for EHR's user facing applications.
  • DImplement Prometheus to detect and prevent security breaches on EHR's web-based applications.
  • EUse GKE private clusters for all Kubernetes workloads.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: Verify EHR's product usage against the list of compliant products on the Google Cloud compliance page. Option B: Advise EHR to execute a Business Associate Agreement (BAA) with Google Cloud.

Topic 4 Β· Question 272 Β· Select all that apply

For this question, refer to the EHR Healthcare case study. You need to define the technical architecture for securely deploying workloads to Google Cloud. You also need to ensure that only verified containers are deployed using Google Cloud services. What should you do? (Choose two.)

  • AEnable Binary Authorization on GKE, and sign containers as part of a CI/CD pipeline. (correct answer)
  • BConfigure Jenkins to utilize Kritis to cryptographically sign a container as part of a CI/CD pipeline.
  • CConfigure Container Registry to only allow trusted service accounts to create and deploy containers from the registry. (correct answer)
  • DConfigure Container Registry to use vulnerability scanning to confirm that there are no vulnerabilities before deploying the workload.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Enable Binary Authorization on GKE, and sign containers as part of a CI/CD pipeline. Option C: Configure Container Registry to only allow trusted service accounts to create and deploy containers from the registry.

Explanation

Google Kubernetes Engine runs managed Kubernetes for containerized, portable workloads. A service account provides an identity for workloads to access Google Cloud APIs securely.

Topic 4 Β· Question 273

You need to upgrade the EHR connection to comply with their requirements. The new connection design must support business-critical needs and meet the same network and security policy requirements. What should you do?

  • AAdd a new Dedicated Interconnect connection. (correct answer)
  • BUpgrade the bandwidth on the Dedicated Interconnect connection to 100 G.
  • CAdd three new Cloud VPN connections.
  • DAdd a new Carrier Peering connection.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Add a new Dedicated Interconnect connection.

Explanation

Dedicated Interconnect provides a private physical connection into Google's network.

Topic 4 Β· Question 274

For this question, refer to the EHR Healthcare case study. You need to define the technical architecture for hybrid connectivity between EHR's on-premises systems and Google Cloud. You want to follow Google's recommended practices for production-level applications. Considering the EHR Healthcare business and technical requirements, what should you do?

  • AConfigure two Partner Interconnect connections in one metro (City), and make sure the Interconnect connections are placed in different metro zones.
  • BConfigure two VPN connections from on-premises to Google Cloud, and make sure the VPN devices on-premises are in separate racks.
  • CConfigure Direct Peering between EHR Healthcare and Google Cloud, and make sure you are peering at least two Google locations.
  • DConfigure two Dedicated Interconnect connections in one metro (City) and two connections in another metro, and make sure the Interconnect connections are placed in different metro zones. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configure two Dedicated Interconnect connections in one metro (City) and two connections in another metro, and make sure the Interconnect connections are placed in different metro zones.

Explanation

Dedicated Interconnect provides a private physical connection into Google's network.

Topic 4 Β· Question 275

For this question, refer to the EHR Healthcare case study. You are a developer on the EHR customer portal team. Your team recently migrated the customer portal application to Google Cloud. The load has increased on the application servers, and now the application is logging many timeout errors. You recently incorporated Pub/Sub into the application architecture, and the application is not logging any Pub/Sub publishing errors. You want to improve publishing latency. What should you do?

  • AIncrease the Pub/Sub Total Timeout retry value.
  • BMove from a Pub/Sub subscriber pull model to a push model.
  • CTurn off Pub/Sub message batching. (correct answer)
  • DCreate a backup Pub/Sub message queue.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Turn off Pub/Sub message batching.

Explanation

Google Cloud Batch schedules and runs batch jobs at scale without managing infrastructure. Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams.

Topic 4 Β· Question 276

For this question, refer to the EHR Healthcare case study. In the past, configuration errors put public IP addresses on backend servers that should not have been accessible from the Internet. You need to ensure that no one can put external IP addresses on backend Compute Engine instances and that external IP addresses can only be configured on frontend Compute Engine instances. What should you do?

  • ACreate an Organizational Policy with a constraint to allow external IP addresses only on the frontend Compute Engine instances. (correct answer)
  • BRevoke the compute.networkAdmin role from all users in the project with front end instances.
  • CCreate an Identity and Access Management (IAM) policy that maps the IT staff to the compute.networkAdmin role for the organization.
  • DCreate a custom Identity and Access Management (IAM) role named GCE_FRONTEND with the compute.addresses.create permission.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create an Organizational Policy with a constraint to allow external IP addresses only on the frontend Compute Engine instances.

Explanation

Compute Engine provides configurable virtual machines when you need full control of the OS.

Topic 4 Β· Question 277

For this question, refer to the EHR Healthcare case study. You are responsible for designing the Google Cloud network architecture for Google Kubernetes Engine. You want to follow Google best practices. Considering the EHR Healthcare business and technical requirements, what should you do to reduce the attack surface?

  • AUse a private cluster with a private endpoint with master authorized networks configured. (correct answer)
  • BUse a public cluster with firewall rules and Virtual Private Cloud (VPC) routes.
  • CUse a private cluster with a public endpoint with master authorized networks configured.
  • DUse a public cluster with master authorized networks enabled and firewall rules.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use a private cluster with a private endpoint with master authorized networks configured.

Topic 5 Β· Question 278

Mountkirk Games wants you to design their new testing strategy. How should the test coverage differ from their existing backends on the other platforms?

  • ATests should scale well beyond the prior approaches (correct answer)
  • BUnit tests are no longer required, only end-to-end tests
  • CTests should be applied after the release is in the production environment
  • DTests should include directly testing the Google Cloud Platform (GCP) infrastructure
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Tests should scale well beyond the prior approaches.

Topic 5 Β· Question 279

Mountkirk Games has deployed their new backend on Google Cloud Platform (GCP). You want to create a through testing process for new versions of the backend before they are released to the public. You want the testing environment to scale in an economical way. How should you design the process?

  • ACreate a scalable environment in GCP for simulating production load (correct answer)
  • BUse the existing infrastructure to test the GCP-based backend at scale
  • CBuild stress tests into each component of your application using resources internal to GCP to simulate load
  • DCreate a set of static environments in GCP to test different levels of load "" for example, high, medium, and low
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a scalable environment in GCP for simulating production load.

Topic 5 Β· Question 280

Mountkirk Games wants to set up a continuous delivery pipeline. Their architecture includes many small services that they want to be able to update and roll back quickly. Mountkirk Games has the following requirements: β€’ Services are deployed redundantly across multiple regions in the US and Europe β€’ Only frontend services are exposed on the public internet β€’ They can provide a single frontend IP for their fleet of services β€’ Deployment artifacts are immutable Which set of products should they use?

  • AGoogle Cloud Storage, Google Cloud Dataflow, Google Compute Engine
  • BGoogle Cloud Storage, Google App Engine, Google Network Load Balancer
  • CGoogle Kubernetes Registry, Google Container Engine, Google HTTP(S) Load Balancer (correct answer)
  • DGoogle Cloud Functions, Google Cloud Pub/Sub, Google Cloud Deployment Manager
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Google Kubernetes Registry, Google Container Engine, Google HTTP(S) Load Balancer

Explanation

A load balancer distributes traffic across healthy backends in multiple zones for availability and scale.

Showing questions 261–280 of 337 Β· Page 14 of 17