Font size
WorksheetsGCP
Total questions: 27
Worksheet time: 54mins
Because you do not know every possible future use for the data TerraEarth collects, you have decided to build a system that captures and stores all raw data in case you need it later. How can you most cost-effectively accomplish this goal?
Have the vehicles in the field stream the data directly into BigQuery.
Have the vehicles in the field pass the data to Cloud Pub/Sub and dump it into a Cloud Dataproc cluster that stores data in Apache Hadoop Distributed File System (HDFS) on persistent disks.
Have the vehicles in the field continue to dump data via FTP, adjust the existing Linux machines, and use a collector to upload them into Cloud Dataproc HDFS for storage.
Have the vehicles in the field continue to dump data via FTP, and adjust the existing Linux machines to immediately upload it to Cloud Storage with gsutil.
Your company wants to try out the cloud with low risk. They want to archive approximately 100 TB of their log data to the cloud and test the analytics features available to them there, while also retaining that data as a long-term disaster recovery backup. Which two steps should they take?
Load logs into BigQuery.
Load logs into Cloud SQL.
Import logs into Stackdriver.
Insert logs into Cloud Bigtable.
Upload log files into Cloud Storage.
The database administration team has asked you to help them improve the performance of their new database server running on Compute Engine. The database is used for importing and normalizing the company’s performance statistics. It is built with MySQL running on Debian Linux. They have an n1-standard-8 virtual machine with 80 GB of SSD zonal persistent disk. What should they change to get better performance from this system in a cost-effective manner?
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.
Your organization has 5 TB of private data on premises. You need to migrate the data to Cloud Storage. You want to maximize the data transfer speed. How should you migrate the data?
Use gsutil.
Use gcloud.
Use GCS REST API.
Use Storage Transfer Service.
Your organization has a 3-tier web application deployed in the same network on Google Cloud Platform. Each tier (web, API, and database) scales independently of the others. Network traffic should flow through the web to the API tier, and then on to the database tier. Traffic should not flow between the web and the database tier. How should you configure the network?
Add each tier to a different subnetwork.
Set up software-based firewalls on individual VMs.
Add tags to each tier and set up routes to allow the desired traffic flow
Add tags to each tier and set up firewall rules to allow the desired traffic flow.
You are a project owner and need your co-worker to deploy a new version of your application to App Engine. You want to follow Google’s recommended practices. Which IAM roles should you grant your co-worker?
Project Editor
App Engine Service Admin
App Engine Deployer
App Engine Code Viewer
What command would you use to set up the default configuration of the Cloud SDK?
gcloud compute
gsutil mb
bq run
gcloud init
Your company wants to reduce cost on infrequently accessed data by moving it to the cloud. The data will still be accessed approximately once a month to refresh historical charts. In addition, data older than 5 years is no longer needed. How should you store and manage the data?
In Google Cloud Storage and stored in a Multi-Regional bucket. Set an Object Lifecycle Management policy to delete data older than 5 years.
In Google Cloud Storage and stored in a Multi-Regional bucket. Set an Object Lifecycle Management policy to change the storage class to Coldline for data older than 5 years.
In Google Cloud Storage and stored in a Nearline bucket. Set an Object Lifecycle Management policy to delete data older than 5 years.
In Google Cloud Storage and stored in a Nearline bucket. Set an Object Lifecycle Management policy to change the storage class to Coldline for data older than 5 years.
Your company’s architecture is shown in the diagram. You want to keep data in sync across Region 1 and Region 2. Which product should you use?
Google Cloud SQL
Google Cloud Bigtable
Google Cloud Storage
Google Cloud Datastore
Your company's test suite is a custom C++ application that runs tests throughout each day on Linux virtual machines. The full test suite takes several hours to complete, running on a limited number of on-premises servers reserved for testing. Your company wants to move the testing infrastructure to the cloud, to reduce the amount of time it takes to fully test a change to the system, while changing the tests as little as possible.
Which cloud infrastructure should you recommend?
Google Compute Engine unmanaged instance groups and Network Load Balancer
Google Compute Engine managed instance groups with auto-scaling
Google Cloud Dataproc to run Apache Hadoop jobs to process each test
Google App Engine with Google StackDriver for logging
A lead software engineer tells you that his new application design uses websockets and HTTP sessions that are not distributed across the web servers. You want to help him ensure his application will run properly on Google Cloud Platform.
What should you do?
Help the engineer to convert his websocket code to use HTTP streaming
Review the encryption requirements for websocket connections with the security team
Meet with the cloud operations team and the engineer to discuss load balancer options
Help the engineer redesign the application to use a distributed user session service that does not rely on websockets and HTTP sessions.
The application reliability team at your company this added a debug feature to their backend service to send all server events to Google Cloud Storage for eventual analysis. The event records are at least 50 KB and at most 15 MB and are expected to peak at 3,000 events per second. You want to minimize data loss.
Which process should you implement?
¢ Append metadata to file body "¢ Compress individual files "¢ Name files with serverName "" Timestamp "¢ Create a new bucket if bucket is older than 1 hour and save individual files to the new bucket. Otherwise, save files to existing bucket
"¢ Batch every 10,000 events with a single manifest file for metadata "¢ Compress event files and manifest file into a single archive file "¢ Name files using serverName "" Event Sequence "¢ Create a new bucket if bucket is older than 1 day and save the single archive file to the new bucket. Otherwise, save the single archive file to existing bucket.
"¢ Compress individual files "¢ Name files with serverName "" Event Sequence "¢ Save files to one bucket "¢ Set custom metadata headers for each object after saving
"¢ Append metadata to file body "¢ Compress individual files "¢ Name files with a random prefix pattern "¢ Save files to one bucket
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?
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
In the Logging section of the console, specify GCE Network as the logging section. Search for the Create Insert entry
Connect to the GCE instance using project SSH keys. Identify previous logins in system logs, and match these with the project owners list
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?
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.
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?
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
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?
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 services for each API path behind the load balancer.
Your customer is moving their corporate applications to Google Cloud Platform. The security team wants detailed visibility of all resources in the organization. You use Resource Manager to set yourself up as the org admin. What Cloud Identity and Access Management (Cloud IAM) roles should you give to the security team?
Org viewer, Project owner
Org viewer, Project viewer
Org admin, Project browser
Project owner, Network admin
You are designing a large distributed application with 30 microservices. Each of your distributed microservices needs to connect to a database backend. You want to store the credentials securely. Where should you store the credentials?
In the source code
In an environment variable
In a key management system
In a config file that has restricted access through ACLs
You set up an auto scaling instance group to serve web traffic for an upcoming launch. After configuring the instance group as a backend service to an HTTP(S) load balancer, you notice that virtual machine (VM) instances are being terminated and re-launched every minute. The instances do not have a public IP address. You have verified that the appropriate web response is coming from each instance using the curl command. You want to ensure that the backend is configured correctly. What should you do?
Ensure that a firewall rule exists to allow source traffic on HTTP/HTTPS to reach the load balancer.
Assign a public IP to each instance, and configure a firewall rule to allow the load balancer to reach the instance public IP.
Ensure that a firewall rule exists to allow load balancer health checks to reach the instances in the instance group.
Create a tag on each instance with the name of the load balancer. Configure a firewall rule with the name of the load balancer as the source and the instance tag as the destination.
Your company wants to track whether someone is present in a meeting room reserved for a scheduled meeting. There are 1000 meeting rooms across 5 offices on 3 continents. Each room is equipped with a motion sensor that reports its status every second. You want to support the data upload and collection needs of this sensor network. The receiving infrastructure needs to account for the possibility that the devices may have inconsistent connectivity. Which solution should you design?
Have each device create a persistent connection to a Compute Engine instance and write messages to a custom application.
Have devices poll for connectivity to Cloud Pub/Sub and publish the latest messages on a regular interval to a shared topic for all devices.
Have devices poll for connectivity to Cloud SQL and insert the latest messages on a regular interval to a device specific table.
Have devices create a persistent connection to an App Engine application fronted by Cloud Endpoints, which ingest messages and write them to Cloud Datastore.
Your company wants to deploy several microservices to help their system handle elastic loads. Each microservice uses a different version of software libraries. You want to enable their developers to keep their development environment in sync with the various production services. Which technology should you choose?
RPM/DEB
Containers
Chef/Puppet
Virtual machines
You analyzed Terram Earth’s business requirement to reduce downtime and found that they can achieve a majority of time saving by reducing customers’ 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?
Migrate from CSV to binary format, migrate from FTP to SFTP transport, and develop machine learning analysis of metrics.
Migrate from FTP to streaming transport, migrate from CSV to binary format, and develop machine learning analysis of metrics.
Increase fleet cellular connectivity to 80%, migrate from FTP to streaming transport, and develop machine learning analysis of metrics.
Migrate from FTP to SFTP transport, develop machine learning analysis of metrics, and increase dealer local inventory by a fixed factor.
Which of Terram Earth’s legacy enterprise processes will experience significant change as a result of increased Google Cloud Platform adoption?
OpEx/CapEx allocation, LAN change management, capacity planning
Capacity planning, TCO calculations, OpEx/CapEx allocation
Capacity planning, utilization measurement, data center expansion
Data center expansion,TCO calculations, utilization measurement
Your customer is moving their storage product to Google Cloud Storage (GCS). The Data contains personally identifiable information (PII) and sensitive customer information. What security strategy should you use for GCS?
Use signed URLs to generate time bound access to objects.
Grant IAM read-only access to users, and use default ACLs on the bucket.
Grant no Google Cloud Identity and Access Management (Cloud IAM) roles to users and use granular ACLs on the bucket.
Create randomized bucket and object names.Enable public access,but only provide specific file URLs to people who do not have google accounts and need access.
A client using Cloud SQL database to serve infrequently changing lookup tables that host data used by applications. The applications will modify the tables.As they expand to other geographic regions they want to ensure good performance.What do you recommend?
Migrate to Cloud Spanner
Read Replicas
Instance high availability configuration
Migrate to Cloud Storage
Your company's test suite is a custom C++ application that runs tests throughout each day on Linux virtual machines.The full test suite takes several hours to complete,running on limited number on -premises servers reserved for testing. Your company wants to move the testing infrastructure to the cloud to reduce the amount of time it takes to fully test a change to the system, while changing the tests as little as possible. Which cloud infrastructure should you recommend?
Google Compute Engine unmanaged instance groups and Network Load Balancer.
Google Compute Engine Managed instance groups with auto-scaling
Google Cloud Dataproc to run Apache Hadoop jobs to process each test.
Google App Engine with Google Stack driver for logging
