Mountkirk Games wants you to design their new testing strategy. How should the test coverage differ from their existing backends on the other platforms?
Answer
Tests should scale well beyond the prior approaches
Unit tests are no longer required, only end-to-end tests
Tests should include directly testing the Google Cloud Platform (GCP) infrastructure
Tests should be applied after the release is in the production environment
Card 2
Question
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?
Answer
Create a scalable environment in GCP for simulating production load
Use the existing infrastructure to test the GCP-based backend at scale
Build stress tests into each component of your application using resources internal to GCP to simulate load
Create a set of static environments in GCP to test different levels of load "" for example, high, medium, and low
Card 3
Question
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
Answer
Google Cloud Storage, Google Cloud Dataflow, Google Compute Engine
Google Cloud Storage, Google App Engine, Google Network Load Balancer
Google Kubernetes Registry, Google Container Engine, Google HTTP(S) Load Balancer
Google Cloud Functions, Google Cloud Pub/Sub, Google Cloud Deployment Manager
Card 4
Question
Mountkirk Games’ gaming servers are not automatically scaling properly. Last month, they rolled out a new feature, which suddenly became very popular. A record number of users are trying to use the service, but many of them are getting 503 errors and very slow response times. What should they investigate first?
Answer
Verify that the database is online
Verify that the project quota hasn’t been exceeded
Verify that the new feature code did not introduce any performance bugs
Verify that the load-testing team is not running their tool against production
Card 5
Question
Mountkirk Games needs to create a repeatable and configurable mechanism for deploying isolated application environments. Developers and testers can access each other’s environments and resources, but they cannot access staging or production resources. The staging environment needs access to some services from production.
Answer
Create a project for development and test and another for staging and production
Create a network for development and test and another for staging and production
Create one subnetwork for development and another for staging and production
Create one project for development, a second for staging and a third for production
Card 6
Question
TerramEarth
Your development team has created a structured API to retrieve vehicle data. They want to allow third parties to develop tools for dealerships that use this vehicle event data. You want to support delegated authorization against this data.
Answer
Build or leverage an OAuth-compatible access control system
Build SAML 2.0 SSO compatibility into your authentication system
Create secondary credentials for each dealer that can be given to the trusted third party
Restrict data access based on the source IP address of the partner systems
Card 7
Question
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?
Answer
Vehicles write data directly to GCS
Vehicles write data directly to Google Cloud Pub/Sub
Vehicles stream data directly to Google BigQuery
D. Vehicles continue to write data using the existing system (FTP)
Card 8
Question
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?
Answer
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
Card 9
Question
Which of TerramEarth’s legacy enterprise processes will experience significant change as a result of increased Google Cloud Platform adoption?
Answer
Opex/capex allocation, LAN changes, capacity planning
Capacity planning, utilization measurement, data center expansion
Data Center expansion, TCO calculations, utilization measurement
Card 10
Question
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?
Answer
Move all the data into 1 zone, then launch a Cloud Dataproc cluster to run the job
Move all the data into 1 region, then launch a Google Cloud Dataproc cluster to run the job
Launch 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
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
Card 11
Question
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?
Answer
Have the vehicle’s computer compress the data in hourly snapshots, and store it in a Google Cloud Storage (GCS) Nearline bucket
Push the telemetry data in real-time to a streaming dataflow job that compresses the data, and store it in Google BigQuery
Push the telemetry data in real-time to a streaming dataflow job that compresses the data, and store it in Cloud Bigtable
Have the vehicle’s computer compress the data in hourly snapshots, and store it in a GCS Coldline bucket
Card 12
Question
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.)
Answer
Treat every micro service call between modules on the vehicle as untrusted.
Require IPv6 for connectivity to ensure a secure address space.
Use a trusted platform module (TPM) and verify firmware and binaries on boot.
Use a functional programming language to isolate code execution cycles.
Use multiple connectivity subsystems for redundancy.
Enclose the vehicle's drive electronics in a Faraday cage to isolate chips.
Card 13
Question
As part of Dress4Win's plans to migrate to the cloud, they want to be able to set up a managed logging and monitoring system so they can handle spikes in their traffic load.
They want to ensure that:
The infrastructure can be notified when it needs to scale up and down to handle the ebb and flow of usage throughout the day * Their administrators are notified automatically when their application reports errors.
They can filter their aggregated logs down in order to debug one piece of the application across many hosts
Which Google StackDriver features should they use?
Answer
Logging, Alerts, Insights, Debug
Monitoring, Trace, Debug, Logging
Monitoring, Logging, Alerts, Error Reporting
Monitoring, Logging, Debug, Error Reporting
Card 14
Question
Dress4Win would like to become familiar with deploying applications to the cloud by successfully deploying some applications quickly, as is. They have asked for your recommendation.
What should you advise?
Answer
Identify self-contained applications with external dependencies as a first move to the cloud.
Identify enterprise applications with internal dependencies and recommend these as a first move to the cloud.
Suggest moving their in-house databases to the cloud and continue serving requests to on-premise applications.
Recommend moving their message queuing servers to the cloud and continue handling requests to on-premise applications.
Card 15
Question
Dress4Win has asked you for advice on how to migrate their on-premises MySQL deployment to the cloud.
They want to minimize downtime and performance impact to their on-premises solution during the migration.
Which approach should you recommend?
Answer
Create a dump of the on-premises MySQL master server, and then shut it down, upload it to the cloud environment, and load into a new MySQL cluster.
Setup a MySQL replica server/slave in the cloud environment, and configure it for asynchronous replication from the MySQL master server on-premises until cutover.
Create a new MySQL cluster in the cloud, configure applications to begin writing to both on premises and cloud MySQL masters, and destroy the original cluster at cutover.
Create a dump of the MySQL replica server into the cloud environment, load it into: Google Cloud Datastore, and configure applications to read/write to Cloud Datastore at cutover.
Card 16
Question
Dress4Win has configured a new uptime check with Google Stackdriver for several of their legacy services. The Stackdriver dashboard is not reporting the services as healthy.
What should they do?
Answer
Install the Stackdriver agent on all of the legacy web servers.
In the Cloud Platform Console download the list of the uptime servers' IP addresses and create an inbound firewall rule
Configure their load balancer to pass through the User-Agent HTTP header when the value matches GoogleStackdriverMonitoring-UptimeChecks (https:// cloud.google.com/monitoring)
Configure their legacy web servers to allow requests that contain user-Agent HTTP header when the value matches GoogleStackdriverMonitoringUptimeChecks (https://cloud.google.com/monitoring)
Card 17
Question
As part of their new application experience, Dress4Wm allows customers to upload images of themselves. The customer has exclusive control over who may view these images.
Customers should be able to upload images with minimal latency and also be shown their images quickly on the main application page when they log in.
Which configuration should Dress4Win use?
Answer
Store image files in a Google Cloud Storage bucket. Use Google Cloud Datastore to maintain metadata that maps each customer's ID and their image files.
Store image files in a Google Cloud Storage bucket. Add custom metadata to the uploaded images in Cloud Storage that contains the customer's unique ID.
Use a distributed file system to store customers' images. As storage needs increase, add more persistent disks and/or nodes. Assign each customer a unique ID, which sets each file's owner attribute, ensuring privacy of images.
Use a distributed file system to store customers' images. As storage needs increase, add more persistent disks and/or nodes. Assign each customer a unique ID, which sets each file's owner attribute, ensuring privacy of images.
Card 18
Question
Dress4Win has end-to-end tests covering 100% of their endpoints.
They want to ensure that the move to the cloud does not introduce any new bugs.
Which additional testing methods should the developers employ to prevent an outage?
Answer
They should enable Google Stackdriver Debugger on the application code to show errors in the code.
They should add additional unit tests and production scale load tests on their cloud staging environment.
They should run the end-to-end tests in the cloud staging environment to determine if the code is working as intended.
They should add canary tests so developers can measure how much of an impact the new release causes to latency.
Card 19
Question
For this question, refer to the Dress4Win case study. Dress4Win is expected to grow to 10 times its size in 1 year with a corresponding growth in data and traffic that mirrors the existing patterns of usage. The CIO has set the target of migrating production infrastructure to the cloud within the next 6 months. How will you configure the solution to scale for this growth without making major application changes and still maximize the ROI?
Answer
Migrate the web application layer to App Engine, and MySQL to Cloud Datastore, and NAS to Cloud Storage. Deploy RabbitMQ, and deploy Hadoop servers using Deployment Manager.
Migrate RabbitMQ to Cloud Pub/Sub, Hadoop to BigQuery, and NAS to Compute Engine with Persistent Disk storage. Deploy Tomcat, and deploy Nginx using Deployment Manager.
Implement managed instance groups for Tomcat and Nginx. Migrate MySQL to Cloud SQL, RabbitMQ to Cloud Pub/Sub, Hadoop to Cloud Dataproc, and NAS to Compute Engine with Persistent Disk storage.
Implement managed instance groups for the Tomcat and Nginx. Migrate MySQL to Cloud SQL, RabbitMQ to Cloud Pub/Sub, Hadoop to Cloud Dataproc, and NAS to Cloud Storage.
Card 20
Question
For this question, refer to the Dress4Win case study. Considering the given business requirements, how would you automate the deployment of web and transactional data layers?
Answer
Deploy Nginx and Tomcat using Cloud Deployment Manager to Compute Engine. Deploy a Cloud SQL server to replace MySQL. Deploy Jenkins using Cloud Deployment Manager.
Deploy Nginx and Tomcat using Cloud Launcher. Deploy a MySQL server using Cloud Launcher. Deploy Jenkins to Compute Engine using Cloud Deployment Manager scripts.
Migrate Nginx and Tomcat to App Engine. Deploy a Cloud Datastore server to replace the MySQL server in a high-availability configuration. Deploy Jenkins to Compute Engine using Cloud Launcher.
Migrate Nginx and Tomcat to App Engine. Deploy a MySQL server using Cloud Launcher. Deploy Jenkins to Compute Engine using Cloud Launcher.
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.