An application running on a highly-customized version of Ubuntu needs to be migrated
to Google Cloud. You need to do this in the least amount of time with minimal code
changes. How should you proceed?
A. Create Compute Engine Virtual Machines and migrate the app to that infrastructure.
B. Deploy the existing application to App Engine.
C. Deploy your application in a container image to Cloud Run.
D. Implement a Kubernetes cluster and create pods to enable your app. - ANSWER-A.
Create Compute Engine Virtual Machines and migrate the app to that infrastructure
Feedback: Correct! Compute Engine is a great option for quick migration of traditional
apps. You can implement a solution in the cloud without changing your existing code.
B. Deploy the existing application to App Engine. Feedback: Incorrect. You would need
to change your code to run it on App Engine.
C. Deploy your application in a container image to Cloud Run. Feedback: Incorrect. You
would need to re-engineer the current app to work in a container environment.
D. Implement a Kubernetes cluster and create pods to enable your app. Feedback:
Incorrect. You would need to build and manage your Kubernetes cluster, and re-
engineer the current app to work in a container environment.
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?
A. --availability-type
B. --replica-type
C. --secondary-zone
D. --master-instance-name - ANSWER-A. --availability-type Feedback: Correct! This
option allows you to specify zonal or regional availability, with regional providing
automatic failover to a standby node in another region.
B. --replica-type Feedback: Incorrect. If you have --master-instance-name, this option
allows you to define the replica type: a default of read, or a legacy MySQL replica type
of failover, which has been deprecated.
C. --secondary-zone Feedback: Incorrect. This is an optional argument that is valid only
when you have a specified availability type: regional.
D. --master-instance-name Feedback: Incorrect. This option creates a read replica
based on the control plane instance. It replicates data but does not automate failover.
Cymbal Superstore decides to migrate their supply chain application to Google Cloud.
You need to configure specific operating system dependencies. What should you do?
,A. Implement an application using containers on Cloud Run.
B. Implement an application using code on App Engine.
C. Implement an application using containers on Google Kubernetes Engine.
D. Implement an application using virtual machines on Compute Engine. - ANSWER-*
D. Implement an application using virtual machines on Compute Engine. Feedback:
Correct! Compute Engine gives you full control over operating system choice and
configuration.
A. Implement an application using containers on Cloud Run. Feedback: Incorrect. Cloud
Run deploys containers in Google Cloud without you specifying the underlying cluster or
deployment architecture.
B. Implement an application using code on App Engine. Feedback: Incorrect. App
Engine is a platform as a service for deployment of your code on infrastructure
managed by Google. You don't manage operating system dependencies with App
Engine.
C. Implement an application using containers on Google Kubernetes Engine. Feedback:
Incorrect. Google Kubernetes Engine is a container management platform as a service
and doesn't give you control over operating system dependencies.
Cymbal Superstore decides to pilot a cloud application for their point of sale system in
their flagship store. You want to focus on code and develop your solution quickly, and
you want your code to be portable. How do you proceed?
A. SSH into a Compute Engine VM and execute your code.
B. Package your code to a container image and post it to Cloud Run.
C. Implement a deployment manifest and run kubectl apply on it in Google Kubernetes
Engine.
D. Code your solution in Cloud Functions. - ANSWER-B. Package your code to a
container image and post it to Cloud Run. Feedback: Correct! Cloud Run provides
serverless container management. It lets you focus on code and you can deploy your
solution quickly.
A. SSH into a Compute Engine VM and execute your code. Feedback: Incorrect.
Configuring SSH connectivity to a Compute Engine VM does not meet the focus on
code requirement of this scenario.
C. Implement a deployment manifest and run kubectl apply on it in Google Kubernetes
Engine. Feedback: Incorrect. Google Kubernetes Engine requires you to build and
manage resources of a cluster to host your container in GKE. This does meet the
requirement of focusing on code.
D. Code your solution in Cloud Functions. Feedback: Incorrect. Cloud Functions
manages your code as short, executable functions and does not manage your code in
containers, which are more portable.
Cymbal Superstore has a need to populate visual dashboards with historical time-based
data. This is an analytical use-case. Which two storage solutions could they use?
, A. BigQuery
B. Cloud Storage
C. Cloud Firestore
D. Cloud SQL
E. Cloud Bigtable - ANSWER-A. BigQuery Feedback: Correct! BigQuery is a data
warehouse offering optimized to query historical time-based data. BigQuery can run
queries against data in its own column-based store or run federated queries against
data from other data services and file stores.
E. Cloud Bigtable Feedback: Correct! Cloud Bigtable is a petabyte scale, NoSQL,
column family database with row keys optimized for specific queries. It is used to store
historic, time-based data and answers the need for this requirement.
B. Cloud Storage Feedback: Incorrect. Cloud Storage is a large object store and is not
queryable. It is not transactional or analytical.
C. Cloud Firestore Feedback: Incorrect. Cloud Firestore is a transactional NoSQL store
where you define attribute key-value pairs describing an entity.
D. Cloud SQL Feedback: Incorrect. Cloud SQL is a transactional relational database
optimized for both reads and writes used in an operational context, but not for analyzing
historical data.
Cymbal Superstore has a subnetwork called mysubnet with an IP range of 10.1.2.0/24.
You need to expand this subnet to include enough IP addresses for at most 2000 users
or devices. What should you do?
A. gcloud compute networks subnets expand-ip-range mysubnet --region us-central1 --
prefix-length 20
B. gcloud networks subnets expand-ip-range mysubnet --region us-central1 --prefix-
length 21
C. gcloud compute networks subnets expand-ip-range mysubnet --region us-central1 --
prefix-length 21
D. gcloud compute networks subnets expand-ip-range mysubnet --region us-cetnral1 --
prefix-length 22 - ANSWER-C. gcloud compute networks subnets expand-ip-range
mysubnet --region us-central1 --prefix-length 21 Feedback: Correct! This command
gives a total of 2046 addresses available and meets the requirement.
A. gcloud compute networks subnets expand-ip-range mysubnet --region us-central1 --
prefix-length 20 Feedback: Incorrect. A prefix length of 20 would expand the IP range to
4094, which is far too many for the scenario.
B. gcloud networks subnets expand-ip-range mysubnet --region us-central1 --prefix-
length 21 Feedback: Incorrect. This command is missing the compute command-set.
D. gcloud compute networks subnets expand-ip-range mysubnet --region us-cetnral1 --
prefix-length 22 Feedback: Incorrect. This command doesn't give you enough IP
addresses (only 1,000).
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller CLOUND. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.29. You're not tied to anything after your purchase.