ExamGecko
Home Home / Google / Professional Cloud Architect

Google Professional Cloud Architect Practice Test - Questions Answers, Page 16

Question list
Search
Search

List of questions

Search

Related questions











You are developing a globally scaled frontend for a legacy streaming backend data API. This API expects events in strict chronological order with no repeat data for proper processing.

Which products should you deploy to ensure guaranteed-once FIFO (first-in, first-out) delivery of data?

A.
Cloud Pub/Sub alone
A.
Cloud Pub/Sub alone
Answers
B.
Cloud Pub/Sub to Cloud Dataflow
B.
Cloud Pub/Sub to Cloud Dataflow
Answers
C.
Cloud Pub/Sub to Stackdriver
C.
Cloud Pub/Sub to Stackdriver
Answers
D.
Cloud Pub/Sub to Cloud SQL
D.
Cloud Pub/Sub to Cloud SQL
Answers
Suggested answer: D

Explanation:

Reference https://cloud.google.com/pubsub/docs/ordering

Your company is planning to perform a lift and shift migration of their Linux RHEL 6.5+ virtual machines. The virtual machines are running in an on-premises VMware environment. You want to migrate them to Compute Engine following

Google-recommended practices. What should you do?

A.
1. Define a migration plan based on the list of the applications and their dependencies.
A.
1. Define a migration plan based on the list of the applications and their dependencies.
Answers
B.
Migrate all virtual machines into Compute Engine individually with Migrate for Compute Engine.
B.
Migrate all virtual machines into Compute Engine individually with Migrate for Compute Engine.
Answers
C.
1. Perform an assessment of virtual machines running in the current VMware environment.
C.
1. Perform an assessment of virtual machines running in the current VMware environment.
Answers
D.
Create images of all disks. Import disks on Compute Engine.
D.
Create images of all disks. Import disks on Compute Engine.
Answers
E.
Create standard virtual machines where the boot disks are the ones you have imported.
E.
Create standard virtual machines where the boot disks are the ones you have imported.
Answers
F.
1. Perform an assessment of virtual machines running in the current VMware environment.
F.
1. Perform an assessment of virtual machines running in the current VMware environment.
Answers
G.
Define a migration plan, prepare a Migrate for Compute Engine migration RunBook, and execute the migration.
G.
Define a migration plan, prepare a Migrate for Compute Engine migration RunBook, and execute the migration.
Answers
H.
1. Perform an assessment of virtual machines running in the current VMware environment.
H.
1. Perform an assessment of virtual machines running in the current VMware environment.
Answers
I.
Install a third-party agent on all selected virtual machines.
I.
Install a third-party agent on all selected virtual machines.
Answers
J.
Migrate all virtual machines into Compute Engine.
J.
Migrate all virtual machines into Compute Engine.
Answers
Suggested answer: C

Explanation:

The framework illustrated in the preceding diagram has four phases:

- Assess. In this phase, you assess your source environment, assess the workloads that you want to migrate to Google Cloud, and assess which VMs support each workload.

- Plan. In this phase, you create the basic infrastructure for Migrate for Compute Engine, such as provisioning the resource hierarchy and setting up network access.

- Deploy. In this phase, you migrate the VMs from the source environment to Compute Engine.

- Optimize. In this phase, you begin to take advantage of the cloud technologies and capabilities.

Reference: https://cloud.google.com/architecture/migrating-vms-migrate-for-compute-engine-getting-started

You need to deploy an application to Google Cloud. The application receives traffic via TCP and reads and writes data to the filesystem. The application does not support horizontal scaling. The application process requires full control over the data on the file system because concurrent access causes corruption. The business is willing to accept a downtime when an incident occurs, but the application must be available 24/7 to support their business operations. You need to design the architecture of this application on Google Cloud. What should you do?

A.
Use a managed instance group with instances in multiple zones, use Cloud Filestore, and use an HTTP load balancer in front of the instances.
A.
Use a managed instance group with instances in multiple zones, use Cloud Filestore, and use an HTTP load balancer in front of the instances.
Answers
B.
Use a managed instance group with instances in multiple zones, use Cloud Filestore, and use a network load balancer in front of the instances.
B.
Use a managed instance group with instances in multiple zones, use Cloud Filestore, and use a network load balancer in front of the instances.
Answers
C.
Use an unmanaged instance group with an active and standby instance in different zones, use a regional persistent disk, and use an HTTP load balancer in front of the instances.
C.
Use an unmanaged instance group with an active and standby instance in different zones, use a regional persistent disk, and use an HTTP load balancer in front of the instances.
Answers
D.
Use an unmanaged instance group with an active and standby instance in different zones, use a regional persistent disk, and use a network load balancer in front of the instances.
D.
Use an unmanaged instance group with an active and standby instance in different zones, use a regional persistent disk, and use a network load balancer in front of the instances.
Answers
Suggested answer: D

Explanation:

Reference: https://cloud.google.com/compute/docs/instance-groups

Your company has an application running on multiple Compute Engine instances. You need to ensure that the application can communicate with an on-premises service that requires high throughput via internal IPs, while minimizing latency. What should you do?

A.
Use OpenVPN to configure a VPN tunnel between the on-premises environment and Google Cloud.
A.
Use OpenVPN to configure a VPN tunnel between the on-premises environment and Google Cloud.
Answers
B.
Configure a direct peering connection between the on-premises environment and Google Cloud.
B.
Configure a direct peering connection between the on-premises environment and Google Cloud.
Answers
C.
Use Cloud VPN to configure a VPN tunnel between the on-premises environment and Google Cloud.
C.
Use Cloud VPN to configure a VPN tunnel between the on-premises environment and Google Cloud.
Answers
D.
Configure a Cloud Dedicated Interconnect connection between the on-premises environment and Google Cloud.
D.
Configure a Cloud Dedicated Interconnect connection between the on-premises environment and Google Cloud.
Answers
Suggested answer: C

Explanation:

Reference https://cloud.google.com/architecture/setting-up-private-access-to-cloud-apis-through-vpn-tunnels

You are managing an application deployed on Cloud Run for Anthos, and you need to define a strategy for deploying new versions of the application. You want to evaluate the new code with a subset of production traffic to decide whether to proceed with the rollout. What should you do?

A.
Deploy a new revision to Cloud Run with the new version. Configure traffic percentage between revisions.
A.
Deploy a new revision to Cloud Run with the new version. Configure traffic percentage between revisions.
Answers
B.
Deploy a new service to Cloud Run with the new version. Add a Cloud Load Balancing instance in front of both services.
B.
Deploy a new service to Cloud Run with the new version. Add a Cloud Load Balancing instance in front of both services.
Answers
C.
In the Google Cloud Console page for Cloud Run, set up continuous deployment using Cloud Build for the development branch. As part of the Cloud Build trigger, configure the substitution variable TRAFFIC_PERCENTAGE with thepercentage of traffic you want directed to a new version.
C.
In the Google Cloud Console page for Cloud Run, set up continuous deployment using Cloud Build for the development branch. As part of the Cloud Build trigger, configure the substitution variable TRAFFIC_PERCENTAGE with thepercentage of traffic you want directed to a new version.
Answers
D.
In the Google Cloud Console, configure Traffic Director with a new Service that points to the new version of the application on Cloud Run. Configure Traffic Director to send a small percentage of traffic to the new version of theapplication.
D.
In the Google Cloud Console, configure Traffic Director with a new Service that points to the new version of the application on Cloud Run. Configure Traffic Director to send a small percentage of traffic to the new version of theapplication.
Answers
Suggested answer: C

You are monitoring Google Kubernetes Engine (GKE) clusters in a Cloud Monitoring workspace. As a Site Reliability Engineer (SRE), you need to triage incidents quickly. What should you do?

A.
Navigate the predefined dashboards in the Cloud Monitoring workspace, and then add metrics and create alert policies.
A.
Navigate the predefined dashboards in the Cloud Monitoring workspace, and then add metrics and create alert policies.
Answers
B.
Navigate the predefined dashboards in the Cloud Monitoring workspace, create custom metrics, and install alerting software on a Compute Engine instance.
B.
Navigate the predefined dashboards in the Cloud Monitoring workspace, create custom metrics, and install alerting software on a Compute Engine instance.
Answers
C.
Write a shell script that gathers metrics from GKE nodes, publish these metrics to a Pub/Sub topic, export the data to BigQuery, and make a Data Studio dashboard.
C.
Write a shell script that gathers metrics from GKE nodes, publish these metrics to a Pub/Sub topic, export the data to BigQuery, and make a Data Studio dashboard.
Answers
D.
Create a custom dashboard in the Cloud Monitoring workspace for each incident, and then add metrics and create alert policies.
D.
Create a custom dashboard in the Cloud Monitoring workspace for each incident, and then add metrics and create alert policies.
Answers
Suggested answer: D

Explanation:

Reference: https://cloud.google.com/monitoring/charts/dashboards

You are implementing a single Cloud SQL MySQL second-generation database that contains business-critical transaction data. You want to ensure that the minimum amount of data is lost in case of catastrophic failure. Which two features should you implement? (Choose two.)

A.
Sharding
A.
Sharding
Answers
B.
Read replicas
B.
Read replicas
Answers
C.
Binary logging
C.
Binary logging
Answers
D.
Automated backups
D.
Automated backups
Answers
E.
Semisynchronous replication
E.
Semisynchronous replication
Answers
Suggested answer: C, D

Explanation:

Section: [none]

Backups help you restore lost data to your Cloud SQL instance. Additionally, if an instance is having a problem, you can restore it to a previous state by using the backup to overwrite it. Enable automated backups for any instance that contains necessary data. Backups protect your data from loss or damage.

Enabling automated backups, along with binary logging, is also required for some operations, such as clone and replica creation. Reference: https://cloud.google.com/sql/docs/mysql/backup-recovery/backups

You are working at a sports association whose members range in age from 8 to 30. The association collects a large amount of health data, such as sustained injuries. You are storing this data in BigQuery. Current legislation requires you to delete such information upon request of the subject. You want to design a solution that can accommodate such a request. What should you do?

A.
Use a unique identifier for each individual. Upon a deletion request, delete all rows from BigQuery with this identifier.
A.
Use a unique identifier for each individual. Upon a deletion request, delete all rows from BigQuery with this identifier.
Answers
B.
When ingesting new data in BigQuery, run the data through the Data Loss Prevention (DLP) API to identify any personal information. As part of the DLP scan, save the result to Data Catalog. Upon a deletion request, query DataCatalogto find the column with personal information.
B.
When ingesting new data in BigQuery, run the data through the Data Loss Prevention (DLP) API to identify any personal information. As part of the DLP scan, save the result to Data Catalog. Upon a deletion request, query DataCatalogto find the column with personal information.
Answers
C.
Create a BigQuery view over the table that contains all data. Upon a deletion request, exclude the rows that affect the subject's data from this view. Use this view instead of the source table for all analysis tasks.
C.
Create a BigQuery view over the table that contains all data. Upon a deletion request, exclude the rows that affect the subject's data from this view. Use this view instead of the source table for all analysis tasks.
Answers
D.
Use a unique identifier for each individual. Upon a deletion request, overwrite the column with the unique identifier with a salted SHA256 of its value.
D.
Use a unique identifier for each individual. Upon a deletion request, overwrite the column with the unique identifier with a salted SHA256 of its value.
Answers
Suggested answer: B

Your company has announced that they will be outsourcing operations functions. You want to allow developers to easily stage new versions of a cloud-based application in the production environment and allow the outsourced operations team to autonomously promote staged versions to production. You want to minimize the operational overhead of the solution. Which Google Cloud product should you migrate to?

A.
App Engine
A.
App Engine
Answers
B.
GKE On-Prem
B.
GKE On-Prem
Answers
C.
Compute Engine
C.
Compute Engine
Answers
D.
Google Kubernetes Engine
D.
Google Kubernetes Engine
Answers
Suggested answer: D

Explanation:

Reference: https://cloud.google.com/security/compliance/eba-outsourcing-mapping-gcp

Your company is running its application workloads on Compute Engine. The applications have been deployed in production, acceptance, and development environments. The production environment is business-critical and is used 24/7, while the acceptance and development environments are only critical during office hours. Your CFO has asked you to optimize these environments to achieve cost savings during idle times. What should you do?

A.
Create a shell script that uses the gcloud command to change the machine type of the development and acceptance instances to a smaller machine type outside of office hours. Schedule the shell script on one of the production instancesto automate the task.
A.
Create a shell script that uses the gcloud command to change the machine type of the development and acceptance instances to a smaller machine type outside of office hours. Schedule the shell script on one of the production instancesto automate the task.
Answers
B.
Use Cloud Scheduler to trigger a Cloud Function that will stop the development and acceptance environments after office hours and start them just before office hours.
B.
Use Cloud Scheduler to trigger a Cloud Function that will stop the development and acceptance environments after office hours and start them just before office hours.
Answers
C.
Deploy the development and acceptance applications on a managed instance group and enable autoscaling.
C.
Deploy the development and acceptance applications on a managed instance group and enable autoscaling.
Answers
D.
Use regular Compute Engine instances for the production environment, and use preemptible VMs for the acceptance and development environments.
D.
Use regular Compute Engine instances for the production environment, and use preemptible VMs for the acceptance and development environments.
Answers
Suggested answer: D

Explanation:

Reference: https://cloud.google.com/blog/products/it-ops/best-practices-for-optimizing-your-cloud-costs

Total 285 questions
Go to page: of 29