0% found this document useful (0 votes)
34 views2 pages

Revision 3

The document outlines various scenarios and solutions for migrating databases, creating storage buckets, deploying applications, and managing cloud resources on Google Cloud. It includes specific commands and configurations for tasks such as setting up MySQL on Compute Engine, using Cloud Run for serverless applications, and implementing Cloud SQL with automatic failover. Additionally, it highlights the use of BigQuery for data transfers and the benefits of custom VPC networks.

Uploaded by

NyAvo Jessé
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

Revision 3

The document outlines various scenarios and solutions for migrating databases, creating storage buckets, deploying applications, and managing cloud resources on Google Cloud. It includes specific commands and configurations for tasks such as setting up MySQL on Compute Engine, using Cloud Run for serverless applications, and implementing Cloud SQL with automatic failover. Additionally, it highlights the use of BigQuery for data transfers and the benefits of custom VPC networks.

Uploaded by

NyAvo Jessé
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Diagnostic questions:

1- Cymbal Superstore’s sales department has a medium-sized MySQL database. This


database includes user-defined functions and is used internally by the marketing
department at Cymbal Superstore HQ. The sales department asks you to migrate the
database to Google Cloud in the most timely and economical way. What should you do?
-> Configure a Compute Engine VM with an N2 machine type, install MySQL, and
restore your data to the new instance.[Correct! N2 is a balanced machine type,
which is recommended for medium-large databases.]

2- You require a Cloud Storage bucket serving users in New York City and San
Francisco. Users in London will not use this bucket. You do not plan on using ACLs.
What CLI command do you use?
-> Run a gcloud storage buckets create command, but do not specify –-location.
[Correct! If you do not specify a location, the bucket will be created by default
in the US.]

3- The development team for the supply chain project is ready to start building
their new cloud app using a small Kubernetes cluster for the pilot. The cluster
should only be available to team members and does not need to be highly available.
The developers also need the ability to change the cluster architecture as they
deploy new capabilities. How would you implement this?
-> Implement a private standard zonal cluster in us-central1-a with a default pool
and an Ubuntu image. [Correct! Standard clusters can be zonal. The default pool
provides nodes used by the cluster.]

4- You need to quickly deploy a containerized web application on Google Cloud. You
know the services you want to be exposed. You do not want to manage infrastructure.
You only want to pay when requests are being handled and need support for custom
packages. What technology meets these needs?
-> Cloud Run [Correct! Cloud Run is serverless, exposes your services as an
endpoint, and abstracts all infrastructure.]

5- What action does the terraform apply command perform?


-> Sets up resources requested in the terraform config file.[Correct! Terraform
Apply sets up resources specified in the terraform config file.]

6- Cymbal Superstore’s marketing department needs to load some slowly changing data
into BigQuery. The data arrives hourly in a Cloud Storage bucket. You want to
minimize cost and implement this in the fewest steps. What should you do?
-> Use the BigQuery data transfer service to schedule a transfer between your
bucket and BigQuery. [Correct! BigQuery transfer service is the simplest process to
set up transfers between Cloud Storage and BigQuery. It is encompassed by one
command. It is also free.]

7- Which Virtual Private Cloud (VPC) network type allows you to fully control IP
ranges and the definition of regional subnets?
-> Custom mode network [Correct! A custom mode network gives you control over
regions that you place your subnets in and lets you specify IP ranges for them as
well.]

8- Cymbal Superstore asks you to implement Cloud SQL as a database backend to their
supply chain application. You want to configure automatic failover in case of a
zone outage. You decide to use the gcloud sql instances create command set to
accomplish this. Which gcloud command line argument is required to configure the
stated failover capability as you create the required instances?
-> --availability-type [Correct! This option allows you to specify zonal or
regional availability, with regional providing automatic failover to a standby node
in another region.]
9- The backend of Cymbal Superstore’s e-commerce system consists of managed
instance groups. You need to update the operating system of the instances in an
automated way using minimal resources. What do you do?
-> Create a new instance template, then click Update VMs. Set the update type to
PROACTIVE. Click Start.[Correct! This institutes a rolling update where the surge
is set to 1 automatically, which minimizes resources as requested.]

10- You need to analyze and act on files being added to a Cloud Storage bucket.
Your programming team is proficient in Python. The analysis you need to do takes at
most 5 minutes. You implement a Cloud Function to accomplish your processing and
specify a trigger resource pointing to your bucket. How should you configure the --
trigger-event parameter using gcloud?
-> --trigger-event google.storage.object.finalize [Correct! Finalize event trigger
when a write to Cloud Storage is complete.]

Knowledge Check

1- Which data storage service is a unique globally available, horizontally scalable


database with relational semantics?
-> Cloud Spanner [Correct! Cloud Spanner is Google Çloud’s globally available,
horizontally scalable relational database.]

2- Which services are based on logic implemented in containers? (Pick two).


-> Google Kubernetes Engine [Correct! Google Kubernetes Engine is Google Cloud’s
managed Kubernetes environment that lets you deploy containerized apps via pods,
deployments, and services you specify.]
-> Cloud Run [Correct! Cloud Run is a serverless offering that runs your
containerized code when monitored events take place.]

You might also like