Back to overview

GCP Professional Cloud Architect exam

Sample questions to prepare for the Google GCP Professional Cloud Architect exam

Subject
Sciences / Computer science
Language of creation
English
218 flashcards No ratings yet 0 views
Add to my sets

Sign in to add this set to your collection. You will return here afterwards.

Cards in this set

Card 61

Question

A recent audit revealed that a new network was created in your GCP project. In this network, a GCE instance has an SSH port open to the world. You want to discover this network's origin.
What should you do?

Answer

  • Search for Create VM entry in the Stackdriver alerting console
  • Navigate to the Activity page in the Home section. Set category to Data Access and search for Create VM entry
  • Connect to the GCE instance using project SSH keys. Identify previous logins in system logs, and match these with the project owners list
  • In the Logging section of the console, specify GCE Network as the logging section. Search for the Create Insert entry

Card 62

Question

You want to make a copy of a production Linux virtual machine in the US-Central region. You want to manage and replace the copy easily if there are changes on the production virtual machine. You will deploy the copy as a new instance in a different project in the US-East region.
What steps must you take?

Answer

  • Use the Linux dd and netcat commands to copy and stream the root disk contents to a new virtual machine instance in the US-East region.
  • Create a snapshot of the root disk and select the snapshot as the root disk when you create a new virtual machine instance in the US-East region.
  • Create an image file from the root disk with Linux dd command, create a new virtual machine instance in the US-East region
  • Create a snapshot of the root disk, create an image file in Google Cloud Storage from the snapshot, and create a new virtual machine instance in the US-East region using the image file the root disk.

Card 63

Question

Your company runs several databases on a single MySQL instance. They need to take backups of a specific database at regular intervals. The backup activity needs to complete as quickly as possible and cannot be allowed to impact disk performance.
How should you configure the storage?

Answer

  • Configure a cron job to use the gcloud tool to take regular backups using persistent disk snapshots.
  • Mount a Local SSD volume as the backup location. After the backup is complete, use gsutil to move the backup to Google Cloud Storage.
  • Use gcsfuse to mount a Google Cloud Storage bucket as a volume directly on the instance and write backups to the mounted location using mysqldump.
  • Mount additional persistent disk volumes onto each virtual machine (VM) instance in a RAID10 array and use LVM to create snapshots to send to Cloud Storage

Card 64

Question

You are helping the QA team to roll out a new load-testing tool to test the scalability of your primary cloud services that run on Google Compute Engine with Cloud
Bigtable.
Which three requirements should they include? Choose 3 answers.

Answer

  • Ensure that the load tests validate the performance of Cloud Bigtable
  • Schedule the load-testing tool to regularly run against the production environment
  • Create a separate Google Cloud project to use for the load-testing environment
  • Instrument the production services to record every transaction for replay by the load-testing tool
  • Ensure all third-party systems your services use is capable of handling high load
  • Instrument the load-testing tool and the target services with detailed logging and metrics collection

Card 65

Question

Your customer is moving their corporate applications to Google Cloud Platform. The security team wants detailed visibility of all projects in the organization. You provision the Google Cloud Resource Manager and set up yourself as the org admin.
What Google Cloud Identity and Access Management (Cloud IAM) roles should you give to the security team?

Answer

  • Org viewer, project owner
  • Org viewer, project viewer
  • Org admin, project browser
  • Project owner, network admin

Card 66

Question

Your company places a high value on being responsive and meeting customer needs quickly. Their primary business objectives are release speed and agility. You want to reduce the chance of security errors being accidentally introduced.
Which two actions can you take? Choose 2 answers.

Answer

  • Ensure every code check-in is peer reviewed by a security SME
  • Use source code security analyzers as part of the CI/CD pipeline
  • Ensure you have stubs to unit test all interfaces between components
  • Enable code signing and a trusted binary repository integrated with your CI/CD pipeline
  • Run a vulnerability security scanner as part of your continuous-integration /continuous-delivery (CI/CD) pipeline

Card 67

Question

One of your primary business objectives is being able to trust the data stored in your application. You want to log all changes to the application data.
How can you design your logging system to verify authenticity of your logs?

Answer

  • Write the log concurrently in the cloud and on premises
  • Use a SQL database and limit who can modify the log table
  • Digitally sign each timestamp and log entry and store the signature
  • Create a JSON dump of each log entry and store it in Google Cloud Storage

Card 68

Question

Your company has decided to make a major revision of their API in order to create better experiences for their developers. They need to keep the old version of the API available and deployable, while allowing new customers and testers to try out the new API. They want to keep the same SSL and DNS records in place to serve both APIs.
What should they do?

Answer

  • Configure a new load balancer for the new version of the API
  • Reconfigure old clients to use a new endpoint for the new API
  • Have the old API forward traffic to the new API based on the path
  • Use separate backend pools for each API path behind the load balancer

Card 69

Question

Your company plans to migrate a multi-petabyte data set to the cloud. The data set must be available 24hrs a day. Your business analysts have experience only with using a SQL interface.
How should you store the data to optimize it for ease of analysis?

Answer

  • Load data into Google BigQuery
  • Put flat files into Google Cloud Storage
  • Insert data into Google Cloud SQL
  • tream data into Google Cloud Datastore

Card 70

Question

The operations manager asks you for a list of recommended practices that she should consider when migrating a J2EE application to the cloud.
Which three practices should you recommend? Choose 3 answers.

Answer

  • Port the application code to run on Google App Engine
  • Integrate Cloud Dataflow into the application to capture real-time metrics
  • Instrument the application with a monitoring tool like Stackdriver Debugger
  • Select an automation framework to reliably provision the cloud infrastructure
  • Migrate from MySQL to a managed NoSQL database like Google Cloud Datastore or Bigtable
  • Deploy a continuous integration tool with automated testing in a staging environment

Card 71

Question

Your customer is moving an existing corporate application to Google Cloud Platform from an on-premises data center. The business owners require minimal user disruption. There are strict security team requirements for storing passwords.
What authentication strategy should they use?

Answer

  • Use G Suite Password Sync to replicate passwords into Google
  • Federate authentication via SAML 2.0 to the existing Identity Provider
  • Provision users in Google using the Google Cloud Directory Sync tool
  • Ask users to set their Google password to match their corporate password

Card 72

Question

Your company has successfully migrated to the cloud and wants to analyze their data stream to optimize operations. They do not have any existing code for this analysis, so they are exploring all their options. These options include a mix of batch and stream processing, as they are running some hourly jobs and live- processing some data as it comes in.
Which technology should they use for this?

Answer

  • Google Cloud Dataproc
  • Google Cloud Dataflow
  • Google Container Engine with Bigtable
  • Google Compute Engine with Google BigQuery

Card 73

Question

Your customer is receiving reports that their recently updated Google App Engine application is taking approximately 30 seconds to load for some of their users.
This behavior was not reported before the update.
What strategy should you take?

Answer

  • Work with your ISP to diagnose the problem
  • Open a support ticket to ask for network capture and flow data to diagnose the problem, then roll back your application
  • Roll back to an earlier known good release initially, then use Stackdriver Trace and Logging to diagnose the problem in a development/test/staging environment
  • Roll back to an earlier known good release, then push the release again at a quieter period to investigate. Then use Stackdriver Trace and Logging to diagnose the problem

Card 74

Question

Your application needs to process credit card transactions. You want the smallest scope of Payment Card Industry (PCI) compliance without compromising the ability to analyze transactional data and trends relating to which payment methods are used.
How should you design your architecture?

Answer

  • Create a tokenizer service and store only tokenized data
  • Create separate projects that only process credit card data
  • Create separate subnetworks and isolate the components that process credit card data
  • Streamline the audit discovery phase by labeling all of the virtual machines (VMs) that process PCI data
  • Enable Logging export to Google BigQuery and use ACLs and views to scope the data shared with the auditor

Card 75

Question

You are creating a solution to remove backup files older than 90 days from your backup Cloud Storage bucket. You want to optimize ongoing Cloud Storage spend.
What should you do?

Answer

  • Write a lifecycle management rule in XML and push it to the bucket with gsutil
  • Write a lifecycle management rule in JSON and push it to the bucket with gsutil
  • Schedule a cron script using gsutil ls ""lr gs://backups/** to find and remove items older than 90 days
  • Schedule a cron script using gsutil ls ""l gs://backups/** to find and remove items older than 90 days and schedule it with cron

Card 76

Question

The database administration team has asked you to help them improve the performance of their new database server running on Google Compute Engine. The database is for importing and normalizing their performance statistics and is built with MySQL running on Debian Linux. They have an n1-standard-8 virtual machine with 80 GB of SSD persistent disk.
What should they change to get better performance from this system?

Answer

  • Increase the virtual machine's memory to 64 GB
  • Create a new virtual machine running PostgreSQL
  • Dynamically resize the SSD persistent disk to 500 GB
  • Migrate their performance metrics warehouse to BigQuery
  • Modify all of their batch jobs to use bulk inserts into the database

Card 77

Question

small number of API requests to your microservices-based application take a very long time. You know that each request to the API can traverse many services.
You want to know which service takes the longest in those cases.
What should you do?

Answer

  • Set timeouts on your application so that you can fail requests faster
  • Send custom metrics for each of your requests to Stackdriver Monitoring
  • Use Stackdriver Monitoring to look for insights that show when your API latencies are high
  • Instrument your application with Stackdriver Trace in order to break down the request latencies at each microservice

Card 78

Question

During a high traffic portion of the day, one of your relational databases crashes, but the replica is never promoted to a master. You want to avoid this in the future.
What should you do?

Answer

  • Use a different database
  • Choose larger instances for your database
  • Create snapshots of your database more regularly
  • Implement routinely scheduled failovers of your databases

Card 79

Question

Your organization requires that metrics from all applications be retained for 5 years for future analysis in possible legal proceedings.
Which approach should you use?

Answer

  • Grant the security team access to the logs in each Project
  • Configure Stackdriver Monitoring for all Projects, and export to BigQuery
  • Configure Stackdriver Monitoring for all Projects with the default retention policies
  • Configure Stackdriver Monitoring for all Projects, and export to Google Cloud Storage

Card 80

Question

Your company has decided to build a backup replica of their on-premises user authentication PostgreSQL database on Google Cloud Platform. The database is 4
TB, and large updates are frequent. Replication requires private address space communication.
Which networking approach should you use?

Answer

  • Google Cloud Dedicated Interconnect
  • Google Cloud VPN connected to the data center network
  • A NAT and TLS translation gateway installed on-premises
  • A Google Compute Engine instance with a VPN server installed connected to the data center network

How to use this set

Read the preview and check whether the content and answers suit your learning goal. You can add the public set to your sets to study it. Your account shows the available actions.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.