πŸ”

PCA β€” questions

Page 16 of 17 Β· 337 total questions.

Topic 8 Β· Question 301

TerramEarth plans to connect all 20 million vehicles in the field to the cloud. This increases the volume to 20 million 600 byte records a second for 40 TB an hour. How should you design the data ingestion?

  • AVehicles write data directly to GCS
  • BVehicles write data directly to Google Cloud Pub/Sub (correct answer)
  • CVehicles stream data directly to Google BigQuery
  • DVehicles continue to write data using the existing system (FTP)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Vehicles write data directly to Google Cloud Pub/Sub

Explanation

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

Topic 8 Β· Question 302

You analyzed TerramEarth's business requirement to reduce downtime, and found that they can achieve a majority of time saving by reducing customer's wait time for parts. You decided to focus on reduction of the 3 weeks aggregate reporting time. Which modifications to the company's processes should you recommend?

  • AMigrate from CSV to binary format, migrate from FTP to SFTP transport, and develop machine learning analysis of metrics
  • BMigrate from FTP to streaming transport, migrate from CSV to binary format, and develop machine learning analysis of metrics (correct answer)
  • CIncrease fleet cellular connectivity to 80%, migrate from FTP to streaming transport, and develop machine learning analysis of metrics
  • DMigrate from FTP to SFTP transport, develop machine learning analysis of metrics, and increase dealer local inventory by a fixed factor
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Migrate from FTP to streaming transport, migrate from CSV to binary format, and develop machine learning analysis of metrics.

Topic 8 Β· Question 303

Which of TerramEarth's legacy enterprise processes will experience significant change as a result of increased Google Cloud Platform adoption?

  • AOpex/capex allocation, LAN changes, capacity planning
  • BCapacity planning, TCO calculations, opex/capex allocation (correct answer)
  • CCapacity planning, utilization measurement, data center expansion
  • DData Center expansion, TCO calculations, utilization measurement
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Capacity planning, TCO calculations, opex/capex allocation.

Topic 8 Β· Question 304

To speed up data retrieval, more vehicles will be upgraded to cellular connections and be able to transmit data to the ETL process. The current FTP process is error-prone and restarts the data transfer from the start of the file when connections fail, which happens often. You want to improve the reliability of the solution and minimize data transfer time on the cellular connections. What should you do?

  • AUse one Google Container Engine cluster of FTP servers. Save the data to a Multi-Regional bucket. Run the ETL process using data in the bucket
  • BUse multiple Google Container Engine clusters running FTP servers located in different regions. Save the data to Multi-Regional buckets in US, EU, and Asia. Run the ETL process using the data in the bucket
  • CDirectly transfer the files to different Google Cloud Multi-Regional Storage bucket locations in US, EU, and Asia using Google APIs over HTTP(S). Run the ETL process using the data in the bucket (correct answer)
  • DDirectly transfer the files to a different Google Cloud Regional Storage bucket location in US, EU, and Asia using Google APIs over HTTP(S). Run the ETL process to retrieve the data from each Regional bucket
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Directly transfer the files to different Google Cloud Multi-Regional Storage bucket locations in US, EU, and Asia using Google APIs over HTTP(S). Run the ETL process using the data in the bucket.

Topic 8 Β· Question 305

TerramEarth's 20 million vehicles are scattered around the world. Based on the vehicle's location, its telemetry data is stored in a Google Cloud Storage (GCS) regional bucket (US, Europe, or Asia). The CTO has asked you to run a report on the raw telemetry data to determine why vehicles are breaking down after 100 K miles. You want to run this job on all the data. What is the most cost-effective way to run this job?

  • AMove all the data into 1 zone, then launch a Cloud Dataproc cluster to run the job
  • BMove all the data into 1 region, then launch a Google Cloud Dataproc cluster to run the job
  • CLaunch a cluster in each region to preprocess and compress the raw data, then move the data into a multi-region bucket and use a Dataproc cluster to finish the job
  • DLaunch a cluster in each region to preprocess and compress the raw data, then move the data into a region bucket and use a Cloud Dataproc cluster to finish the job (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Launch a cluster in each region to preprocess and compress the raw data, then move the data into a region bucket and use a Cloud Dataproc cluster to finish the job

Explanation

Dataproc runs managed Spark and Hadoop clusters for big-data processing. This option delivers the requirement at the lowest cost.

Topic 8 Β· Question 306

TerramEarth has equipped all connected trucks with servers and sensors to collect telemetry data. Next year they want to use the data to train machine learning models. They want to store this data in the cloud while reducing costs. What should they do?

  • AHave the vehicle's computer compress the data in hourly snapshots, and store it in a Google Cloud Storage (GCS) Nearline bucket
  • BPush the telemetry data in real-time to a streaming dataflow job that compresses the data, and store it in Google BigQuery
  • CPush the telemetry data in real-time to a streaming dataflow job that compresses the data, and store it in Cloud Bigtable
  • DHave the vehicle's computer compress the data in hourly snapshots, and store it in a GCS Coldline bucket (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Have the vehicle's computer compress the data in hourly snapshots, and store it in a GCS Coldline bucket.

Topic 8 Β· Question 307 Β· Select all that apply

Your agricultural division is experimenting with fully autonomous vehicles. You want your architecture to promote strong security during vehicle operation. Which two architectures should you consider? (Choose two.)

  • ATreat every micro service call between modules on the vehicle as untrusted. (correct answer)
  • BRequire IPv6 for connectivity to ensure a secure address space.
  • CUse a trusted platform module (TPM) and verify firmware and binaries on boot. (correct answer)
  • DUse a functional programming language to isolate code execution cycles.
  • EUse multiple connectivity subsystems for redundancy.
  • FEnclose the vehicle's drive electronics in a Faraday cage to isolate chips.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Treat every micro service call between modules on the vehicle as untrusted. Option C: Use a trusted platform module (TPM) and verify firmware and binaries on boot.

Topic 8 Β· Question 308

Operational parameters such as oil pressure are adjustable on each of TerramEarth's vehicles to increase their efficiency, depending on their environmental conditions. Your primary goal is to increase the operating efficiency of all 20 million cellular and unconnected vehicles in the field. How can you accomplish this goal?

  • AHave you engineers inspect the data for patterns, and then create an algorithm with rules that make operational adjustments automatically
  • BCapture all operating data, train machine learning models that identify ideal operations, and run locally to make operational adjustments automatically (correct answer)
  • CImplement a Google Cloud Dataflow streaming job with a sliding window, and use Google Cloud Messaging (GCM) to make operational adjustments automatically
  • DCapture all operating data, train machine learning models that identify ideal operations, and host in Google Cloud Machine Learning (ML) Platform to make operational adjustments automatically
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Capture all operating data, train machine learning models that identify ideal operations, and run locally to make operational adjustments automatically.

Topic 9 Β· Question 309

For this question, refer to the TerramEarth case study. To be compliant with European GDPR regulation, TerramEarth is required to delete data generated from its European customers after a period of 36 months when it contains personal data. In the new architecture, this data will be stored in both Cloud Storage and BigQuery. What should you do?

  • ACreate a BigQuery table for the European data, and set the table retention period to 36 months. For Cloud Storage, use gsutil to enable lifecycle management using a DELETE action with an Age condition of 36 months.
  • BCreate a BigQuery table for the European data, and set the table retention period to 36 months. For Cloud Storage, use gsutil to create a SetStorageClass to NONE action when with an Age condition of 36 months.
  • CCreate a BigQuery time-partitioned table for the European data, and set the partition expiration period to 36 months. For Cloud Storage, use gsutil to enable lifecycle management using a DELETE action with an Age condition of 36 months. (correct answer)
  • DCreate a BigQuery time-partitioned table for the European data, and set the partition expiration period to 36 months. For Cloud Storage, use gsutil to create a SetStorageClass to NONE action with an Age condition of 36 months.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a BigQuery time-partitioned table for the European data, and set the partition expiration period to 36 months. For Cloud Storage, use gsutil to enable lifecycle management using a DELETE action with an Age cond...

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.

Topic 9 Β· Question 310

For this question, refer to the TerramEarth case study. TerramEarth has decided to store data files in Cloud Storage. You need to configure Cloud Storage lifecycle rule to store 1 year of data and minimize file storage cost. Which two actions should you take?

  • ACreate a Cloud Storage lifecycle rule with Age: "30", Storage Class: "Standard", and Action: "Set to Coldline", and create a second GCS life-cycle rule with Age: "365", Storage Class: "Coldline", and Action: "Delete". (correct answer)
  • BCreate a Cloud Storage lifecycle rule with Age: "30", Storage Class: "Coldline", and Action: "Set to Nearline", and create a second GCS life-cycle rule with Age: "91", Storage Class: "Coldline", and Action: "Set to Nearline".
  • CCreate a Cloud Storage lifecycle rule with Age: "90", Storage Class: "Standard", and Action: "Set to Nearline", and create a second GCS life-cycle rule with Age: "91", Storage Class: "Nearline", and Action: "Set to Coldline".
  • DCreate a Cloud Storage lifecycle rule with Age: "30", Storage Class: "Standard", and Action: "Set to Coldline", and create a second GCS life-cycle rule with Age: "365", Storage Class: "Nearline", and Action: "Delete".
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a Cloud Storage lifecycle rule with Age: "30", Storage Class: "Standard", and Action: "Set to Coldline", and create a second GCS life-cycle rule with Age: "365", Storage Class: "Coldline", and Action:...

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed.

Topic 9 Β· Question 311

For this question, refer to the TerramEarth case study. You need to implement a reliable, scalable GCP solution for the data warehouse for your company, TerramEarth. Considering the TerramEarth business and technical requirements, what should you do?

  • AReplace the existing data warehouse with BigQuery. Use table partitioning. (correct answer)
  • BReplace the existing data warehouse with a Compute Engine instance with 96 CPUs.
  • CReplace the existing data warehouse with BigQuery. Use federated data sources.
  • DReplace the existing data warehouse with a Compute Engine instance with 96 CPUs. Add an additional Compute Engine preemptible instance with 32 CPUs.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Replace the existing data warehouse with BigQuery. Use table partitioning.

Explanation

BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage.

Topic 9 Β· Question 312

For this question, refer to the TerramEarth case study. A new architecture that writes all incoming data to BigQuery has been introduced. You notice that the data is dirty, and want to ensure data quality on an automated daily basis while managing cost. What should you do?

  • ASet up a streaming Cloud Dataflow job, receiving data by the ingestion process. Clean the data in a Cloud Dataflow pipeline.
  • BCreate a Cloud Function that reads data from BigQuery and cleans it. Trigger the Cloud Function from a Compute Engine instance.
  • CCreate a SQL statement on the data in BigQuery, and save it as a view. Run the view daily, and save the result to a new table.
  • DUse Cloud Dataprep and configure the BigQuery tables as the source. Schedule a daily job to clean the data. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use Cloud Dataprep and configure the BigQuery tables as the source. Schedule a daily job to clean the data.

Explanation

BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. Dataprep visually explores, cleans, and prepares data for analysis with no code.

Topic 9 Β· Question 313

For this question, refer to the TerramEarth case study. Considering the technical requirements, how should you reduce the unplanned vehicle downtime in GCP?

  • AUse BigQuery as the data warehouse. Connect all vehicles to the network and stream data into BigQuery using Cloud Pub/Sub and Cloud Dataflow. Use Google Data Studio for analysis and reporting. (correct answer)
  • BUse BigQuery as the data warehouse. Connect all vehicles to the network and upload gzip files to a Multi-Regional Cloud Storage bucket using gcloud. Use Google Data Studio for analysis and reporting.
  • CUse Cloud Dataproc Hive as the data warehouse. Upload gzip files to a Multi-Regional Cloud Storage bucket. Upload this data into BigQuery using gcloud. Use Google Data Studio for analysis and reporting.
  • DUse Cloud Dataproc Hive as the data warehouse. Directly stream data into partitioned Hive tables. Use Pig scripts to analyze data.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use BigQuery as the data warehouse. Connect all vehicles to the network and stream data into BigQuery using Cloud Pub/Sub and Cloud Dataflow. Use Google Data Studio for analysis and reporting.

Explanation

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. Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams.

Topic 9 Β· Question 314

For this question, refer to the TerramEarth case study. You are asked to design a new architecture for the ingestion of the data of the 200,000 vehicles that are connected to a cellular network. You want to follow Google-recommended practices. Considering the technical requirements, which components should you use for the ingestion of the data?

  • AGoogle Kubernetes Engine with an SSL Ingress
  • BCloud IoT Core with public/private key pairs (correct answer)
  • CCompute Engine with project-wide SSH keys
  • DCompute Engine with specific SSH keys
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Cloud IoT Core with public/private key pairs.

Topic 10 Β· Question 315

For this question, refer to the TerramEarth case study. You start to build a new application that uses a few Cloud Functions for the backend. One use case requires a Cloud Function func_display to invoke another Cloud Function func_query. You want func_query only to accept invocations from func_display. You also want to follow Google's recommended best practices. What should you do?

  • ACreate a token and pass it in as an environment variable to func_display. When invoking func_query, include the token in the request. Pass the same token to func_query and reject the invocation if the tokens are different.
  • BMake func_query 'Require authentication.' Create a unique service account and associate it to func_display. Grant the service account invoker role for func_query. Create an id token in func_display and include the token to the request when invoking func_query. (correct answer)
  • CMake func_query 'Require authentication' and only accept internal traffic. Create those two functions in the same VPC. Create an ingress firewall rule for func_query to only allow traffic from func_display.
  • DCreate those two functions in the same project and VPC. Make func_query only accept internal traffic. Create an ingress firewall for func_query to only allow traffic from func_display. Also, make sure both functions use the same service account.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Make func_query 'Require authentication.' Create a unique service account and associate it to func_display. Grant the service account invoker role for func_query. Create an id token in func_display and include the tok...

Explanation

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

Topic 10 Β· Question 316

For this question, refer to the TerramEarth case study. You have broken down a legacy monolithic application into a few containerized RESTful microservices. You want to run those microservices on Cloud Run. You also want to make sure the services are highly available with low latency to your customers. What should you do?

  • ADeploy Cloud Run services to multiple availability zones. Create Cloud Endpoints that point to the services. Create a global HTTP(S) Load Balancing instance and attach the Cloud Endpoints to its backend.
  • BDeploy Cloud Run services to multiple regions. Create serverless network endpoint groups pointing to the services. Add the serverless NEGs to a backend service that is used by a global HTTP(S) Load Balancing instance. (correct answer)
  • CDeploy Cloud Run services to multiple regions. In Cloud DNS, create a latency-based DNS name that points to the services.
  • DDeploy Cloud Run services to multiple availability zones. Create a TCP/IP global load balancer. Add the Cloud Run Endpoints to its backend service.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Deploy Cloud Run services to multiple regions. Create serverless network endpoint groups pointing to the services. Add the serverless NEGs to a backend service that is used by a global HTTP(S) Load Balancing instance.

Explanation

Cloud Run runs stateless containers serverlessly and scales to zero, minimizing operational overhead. A load balancer distributes traffic across healthy backends in multiple zones for availability and scale. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 10 Β· Question 317 Β· Select all that apply

For this question, refer to the TerramEarth case study. You are migrating a Linux-based application from your private data center to Google Cloud. The TerramEarth security team sent you several recent Linux vulnerabilities published by Common Vulnerabilities and Exposures (CVE). You need assistance in understanding how these vulnerabilities could impact your migration. What should you do? (Choose two.)

  • AOpen a support case regarding the CVE and chat with the support engineer. (correct answer)
  • BRead the CVEs from the Google Cloud Status Dashboard to understand the impact.
  • CRead the CVEs from the Google Cloud Platform Security Bulletins to understand the impact. (correct answer)
  • DPost a question regarding the CVE in Stack Overflow to get an explanation.
  • EPost a question regarding the CVE in a Google Cloud discussion group to get an explanation.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Open a support case regarding the CVE and chat with the support engineer. Option C: Read the CVEs from the Google Cloud Platform Security Bulletins to understand the impact.

Topic 10 Β· Question 318

For this question, refer to the TerramEarth case study. TerramEarth has a legacy web application that you cannot migrate to cloud. However, you still want to build a cloud-native way to monitor the application. If the application goes down, you want the URL to point to a "Site is unavailable" page as soon as possible. You also want your Ops team to receive a notification for the issue. You need to build a reliable solution for minimum cost. What should you do?

  • ACreate a scheduled job in Cloud Run to invoke a container every minute. The container will check the application URL. If the application is down, switch the URL to the "Site is unavailable" page, and notify the Ops team.
  • BCreate a cron job on a Compute Engine VM that runs every minute. The cron job invokes a Python program to check the application URL. If the application is down, switch the URL to the "Site is unavailable" page, and notify the Ops team.
  • CCreate a Cloud Monitoring uptime check to validate the application URL. If it fails, put a message in a Pub/Sub queue that triggers a Cloud Function to switch the URL to the "Site is unavailable" page, and notify the Ops team. (correct answer)
  • DUse Cloud Error Reporting to check the application URL. If the application is down, switch the URL to the "Site is unavailable" page, and notify the Ops team.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a Cloud Monitoring uptime check to validate the application URL. If it fails, put a message in a Pub/Sub queue that triggers a Cloud Function to switch the URL to the "Site is unavailable" page, and notify the...

Explanation

Pub/Sub is a serverless, global messaging service that decouples services and ingests high-volume event streams. Cloud Monitoring collects metrics, dashboards, and alerts to observe system health.

Topic 10 Β· Question 319

For this question, refer to the TerramEarth case study. You are building a microservice-based application for TerramEarth. The application is based on Docker containers. You want to follow Google-recommended practices to build the application continuously and store the build artifacts. What should you do?

  • AConfigure a trigger in Cloud Build for new source changes. Invoke Cloud Build to build container images for each microservice, and tag them using the code commit hash. Push the images to the Container Registry. (correct answer)
  • BConfigure a trigger in Cloud Build for new source changes. The trigger invokes build jobs and build container images for the microservices. Tag the images with a version number, and push them to Cloud Storage.
  • CCreate a Scheduler job to check the repo every minute. For any new change, invoke Cloud Build to build container images for the microservices. Tag the images using the current timestamp, and push them to the Container Registry.
  • DConfigure a trigger in Cloud Build for new source changes. Invoke Cloud Build to build one container image, and tag the image with the label 'latest.' Push the image to the Container Registry.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure a trigger in Cloud Build for new source changes. Invoke Cloud Build to build container images for each microservice, and tag them using the code commit hash. Push the images to the Container Registry.

Explanation

Cloud Build runs managed CI pipelines to build, test, and package code.

Topic 10 Β· Question 320

For this question, refer to the TerramEarth case study. TerramEarth has about 1 petabyte (PB) of vehicle testing data in a private data center. You want to move the data to Cloud Storage for your machine learning team. Currently, a 1-Gbps interconnect link is available for you. The machine learning team wants to start using the data in a month. What should you do?

  • ARequest Transfer Appliances from Google Cloud, export the data to appliances, and return the appliances to Google Cloud. (correct answer)
  • BConfigure the Storage Transfer service from Google Cloud to send the data from your data center to Cloud Storage.
  • CMake sure there are no other users consuming the 1Gbps link, and use multi-thread transfer to upload the data to Cloud Storage.
  • DExport files to an encrypted USB device, send the device to Google Cloud, and request an import of the data to Cloud Storage.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Request Transfer Appliances from Google Cloud, export the data to appliances, and return the appliances to Google Cloud.

Explanation

Transfer Appliance physically ships large datasets to Google Cloud when bandwidth is limited.

Showing questions 301–320 of 337 Β· Page 16 of 17