Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

GCP - Associate Cloud Engineer Exam

Study online at quizlet.com/_5vb8z0

1. When starting a Kubernetes No, the Master is 13. What advice is given on Prefer small stateless
cluster in Kubernetes Engine do created by Kubernetes horizontal scaling design? servers. Keep servers
you need to create a Master? Engine as part of the simple; do one thing well.
interface that controls
14. What reason is given for the Trying to optimize cost or
the cluster.
design advice to "design first optimize for size
2. Does Kubernetes Engine support Yes. It improves and dimension later"? (dimension) before the
multi-zone containers ? availability because if design is fully developed
one zone fails, the can lead to confusion and
others can pick up the ambiguities in the design
work. (CORRECT) process. *
3. Which platform would be best for App Engine Flexible 15. What does Data Integrity That users have access to
running containers both in the Environment mean? their data and that the
datacenter and in the cloud? data persists without
being corrupted or lost.
4. The course introduces design Presentation layer,
using a three-tier design model. Business-logic layer, 16. What is the difference between A proxied load balancer
The three tiers are: and Data layer. * a proxied and a pass-through terminates the incoming
load balancer? connection and initiates a
5. The design process includes which Begin simple and
separate connection, a
steps? iterate. Plan for failure.
pass-through redirects
Measure. *
traffic without terminating
6. What is it called when information Stateful. State it.
must be preserved to perform a information is stored. *
17. Which form of load balancing Internal load balancing.
subsequent step?
enables you to load balance
7. What is the focus of Efficiency. An abstract behind an IP address that is
measurement? ratio representing only accessible to instances
resource utilization. * within your Virtual Private
8. What are the categories of Quantitative, Cloud (VPC)?
requirements described in qualitative, scaling, and 18. What is the service provided by Dedicated interconnect.
gathering requirements? size. * a third party (such as an ISP)
9. How does a microservices design Key business logic is that enables you to connect
complicate business logic ? implemented as cross- another cloud directly to your
services Google cloud resources to
communication. * create hybrid cloud solutions?

10. Which GCP platform services are Google Cloud Storage 19. What are the two main Failure due to loss of
identified as useful for the 12- and the Metadata categories of failures resources, and failure due
factor principle of "store Server. described? to overload.
configuration information in the 20. To design to overcome a single One alternative to ' N' to
environment"? point of failure, the N+2 handle an upgrade, and a
11. What tradeoff occurs with the 12- Storing state strategy is recommended. What second to handle a
factor principle of "store state information in the is N+2? service outage.
information in the environment"? environment is slower 21. What is a correlated failure? When a group of related
than storing it locally items fail at the same
on SSD. time; the group is a failure
12. Which platform processing service Google App Engine domain.
is designed to offer the lowest IT (GAE) 22. How can a design to improve If growth occurs and the
overhead so you can focus on the reliability through failover capacity is not increased
application? create an opportunity for to accommodate the new
overload failure? greater load during
failover.
23. What is a cascading When, due to an overload 31. Which edge features of Google's TCP/SSL proxy, Global
failure? failure, the system seeks networking provide automatic Load Balancing, and
additional resources and protections against Distributed Cloud CDN.
spreads the overload until the Denial of Service attacks (DDoS)
system loses integrity. ?
24. What is it called when you Positive feedback cycle 32. Which of the following describes Projects that are
are trying to make a overload failure. Cross-project VPC network isolated in separate
system more reliable by peering? VPCs can only
adding retries and it communicate over the
creates the opportunity internet and share
for an overload failure? resources using a
tunneled address
25. What is the recommended Incorporate failure planning
space.
action to help cope with including a margin of safety
failure that involves and scheduled downtime into 33. When would you use CSEK When you have a
Objectives and Indicators? the SLOs and SLIs. (Customer Supplied Encryption requirement to use your
Keys) ? own AES-256 keys
26. Why is DNS recommended Because you can use it to
rather than those
for business continuity and redirect client requests to an
automatically
disaster recovery? alternate backup service by
generated by Google.
changing the DNS definition.
34. What is the "principle of least Grant roles at the
27. What is a lazy deletion When a client deletes an
privilege" as it relates to IAM smallest scope needed
strategy? object, it is not annihilated
Policies? for the individual or
immediately, but concealed
service account to be
and preserved for a period.
functional with the
There may be multiple tiers in
services they require.
the deletion strategy that
permit different kinds of 35. Sometimes it is easier for two or ...
recovery of the object. more people to share a single
user account instead of having
28. What is a key technology Load balancing.
individual accounts. When you
for scalable and resilient
share an account, make sure that
design that enables both
it has the right privileges needed
scaling of capacity and
for the shared activity.
redirecting traffic to
alternate resources in the 36. What are the steps in the capacity Allocate. Approve.
event of a failure? planning cycle? Deploy. Forecast.
29. What does "pervasive Segregation of duties; Google 37. What are three methods for Sustained use
defense in depth" mean? handles some things, others reducing the price of virtual discounts. Committed
are your responsibility. machines (VMs) in GCP? use discounts.
Preemptible VMs
30. In most network devices The firewall is virtual,
such as a firewall, the implemented through software 38. What is the key advice presented Automate everything
network is subject to defined networking, so there is about GCP deployment? you can -- because
overload of the capacity no physical interface to be launch and release
of the interface. What is overloaded. automation has an
the overload capacity of a influence over
firewall in Google's reliability.
network?
39. What is the difference between In black box
black box monitoring and white monitoring you can
box monitoring? only monitor external
observable events,
whereas, in white box
monitoring, you can
also monitor the
system's internal events.
40. From the bottom up, what are Incident Response. 48. True or False: In Google Cloud False - Policies are a union
the first three layers in the Site Testing and Release IAM, if a policy gives you of the parent and the
Reliability Engineering pyramid? Procedures. Capacity Owner permissions at the resource. If a parent policy
Planning. project level, your access to an is less restrictive, it
individual resource in the overrides a more
41. True or False: In Google Cloud False
project may be restricted to restrictive resource policy.
IAM, if a policy gives you Owner
View by applying a more
permissions at the project level,
restrictive policy to that
your access to an individual
resource.
resource in the project may be
restricted to View by applying a 49. Service accounts are used to A way to allow users to
more restrictive policy to that provide which of the following? act with service account
resource. (Choose all that are correct. permissions A set of
Choose 3 responses.) predefined permissions
42. True or False: All Google Cloud True
Authentication between
Platform resources are
Google Cloud Platform
associated with a project.
services
43. Service accounts are used to Authentication between
50. Which statement is true about You pay only for the
provide which of the following? Google Cloud Platform
billing for solutions deployed underlying GCP resources
(Choose all that are correct. services A way to restrict
using Cloud Marketplace you use, with the possible
Choose 3 responses.) the actions a resource
(formerly known as Cloud addition of extra fees for
(such as a VM) can
Launcher)? commercially licensed
perform A way to allow
software.
users to act with service
account permissions 51. You are developing an Cloud Storage Cloud
application that transcodes Bigtable
44. How do GCP customers and Google takes care of the
large video files. Which storage
Google Cloud Platform divide lower parts of the stack,
option is the best choice for
responsibility for security? and customers are
your application?
responsible for the
higher parts. 52. Which statement is true about They are immutable, and
objects in Cloud Storage? new versions overwrite
45. Which of these values is globally The project ID
old unless you turn on
unique, permanent, and
versioning.
unchangeable, but chosen by
the customer? 53. You are building a small Cloud Datastore
application. If possible, you'd
46. Consider a single hierarchy of There are two or more
like this application's data
GCP resources. Which of these organization nodes There
storage to be at no additional
situations is possible? (Choose is no organization node,
charge. Which service has a
all that are correct. Choose 3 and there are no folders.
free daily quota, separate from
responses.) There is no organization
any free trials?
node, but there is at least
one folder. 54. How do the Nearline and Nearline and Coldline
Coldline storage classes differ assess lower storage fees.
47. What is the difference between Primitive roles affect all
from Multi-regional and Nearline and Coldline
IAM primitive roles and IAM resources in a GCP
Regional? Choose all that are have lower durability.
predefined roles? project. Predefined roles
correct (2 responses). Nearline and Coldline
apply to a particular
assess additional retrieval
service in a project.
fees. Nearline and
Coldline use a differently-
architected API.
55. Your application needs a Cloud SQL 63. Which It is possible for an App Engine
relational database, and it statements are application's daily billing to drop to zero.
expects to talk to MySQL. true about App App Engine charges you based on the
Which storage option is Engine? Choose resources you pre-allocate rather than
the best choice for your all that are true based on the resources you use.
application? (2 correct Developers who write for App Engine do
answers). not need to code their applications in any
56. Your application needs to Cloud Spanner
particular way to use the service. App
store data with strong
Engine manages the hardware and
transactional consistency,
networking infrastructure required to run
and you want seamless
your code.
scaling up. Which storage
option is the best choice 64. Name 3 You can SSH in to your application You
for your application? advantages of can install third-party binaries Google
using the App provides automatic in-place security
57. Which GCP storage Cloud Storage
Engine Flexible patches Your application can execute
service is often the
Environment code in background threads
ingestion point for data
over App
being moved into the
Engine
cloud, and is frequently
Standard.
the long-term storage
location for data? 65. Name 3 You can install third-party binaries Billing
advantages of can drop to zero if your application is idle
58. Identify two reasons for Consistency across
using the App You can choose any programming
deploying applications development, testing,
Engine Standard language Google provides and maintains
using containers. (Choose production environments
Environment runtime binaries
2 responses.) Simpler to migrate workloads
over App
No need to allocate resources
Engine Flexible.
in which to run containers Tight
coupling between applications 66. You want to Cloud Endpoints
and operating systems support
developers who
59. True or False: Kubernetes True
are building
allows you to manage
services in GCP
container clusters in
through API
multiple cloud providers.
logging and
60. True or False: Google True monitoring.
Cloud Platform provides a Which GCP
secure, high-speed service should
container image storage you choose?
service for use with
67. You want to Apigee Edge
Kubernetes Engine.
gradually
61. In Kubernetes, what does A group of containers that work decompose a
"pod" refer to? together pre-existing
62. Does Google Cloud Yes; the GCP-provided tool is monolithic
Platform offer its own an option, but customers may application, not
tool for building choose not use it. implemented in
containers (other than the GCP, into
ordinary docker microservices.
command)? Which GCP
service should
you choose?
68. Why might a GCP They don't want to host their own git 75. Which BigQuery is a good choice for online
customer choose instance, and they want to integrate with statements transaction processing. BigQuery requires that
to use Cloud IAM permissions. are true you provision database instances ahead of
Source about use. BigQuery lets you run fast SQL queries
Repositories? BigQuery? against large databases. BigQuery is a good
Choose all choice for data analytics warehousing. Once
69. Why might a GCP Their application contains event-driven
that are true in BigQuery, data is not accessible from other
customer choose code that they don't want to have to
(2 GCP services.
to use Cloud provision compute resources for.
statements).
Functions?
76. Name three Internet of Things applications, Storage of
70. You want to Stackdriver Monitoring
use cases binary web content, Decoupling systems,
define alerts on
for Cloud Executing ad-hoc SQL queries
your GCP
Pub/Sub
resources, such
(Select 3
as when health
answers).
checks fail. Which
is the best GCP 77. What does It analyzes text to reveal its structure and
product to use? the Cloud meaning.
Natural
71. Which statements Stackdriver Logging requires the use of a
Language
are true about third-party monitoring agent. Stackdriver
API do?
Stackdriver Logging lets you define uptime checks.
Logging? Choose Stackdriver Logging lets you view logs 78. Name two Data mining and analysis in datasets of known
all that are true from your applications, and filter and use cases size Manage datasets of unpredictable size
(2 statements) search on them. Stackdriver Logging lets for Google Migrate on-premises Hadoop jobs to the
you define metrics based on your logs. Cloud cloud Manage data that arrives in realtime
Dataproc
72. Name two use Manage data that arrives in realtime
(Select 2
cases for Google Data mining and analysis in datasets of
answers).
Cloud Dataproc known size Migrate on-premises Hadoop
(Select 2 jobs to the cloud Manage datasets of 79. Name two Reserved compute instances Manual resource
answers). unpredictable size use cases management Extract, Transform, and Load
for Google (ETL) Orchestration
73. Name two use Reserved compute instances Manual
Cloud
cases for Google resource management Orchestration
Dataflow
Cloud Dataflow Extract, Transform, and Load (ETL)
(Select 2
(Select 2
answers).
answers).
80. Name three Data preparation, Fraud detection, Sentiment
74. Name three use Sentiment analysis Data preparation
use cases analysis
cases for the Fraud detection Query architecture
for the
Google Cloud Content personalization
Google
Machine Learning
Cloud
Platform (Select
Machine
3 answers).
Learning
Platform
(Select 3
answers).
81. Which statements BigQuery lets you run fast SQL 88. For what kind of traffic would TCP/SSL traffic on popular
are true about queries against large databases. Once the regional load balancer well-known port numbers
BigQuery? Choose in BigQuery, data is not accessible be the first choice? Choose UDP traffic, TCP traffic on
all that are true (2 from other GCP services. BigQuery is all that are correct (2 arbitrary port numbers, TCP
statements). a good choice for online transaction answers). traffic (non-SSL) on popular
processing. BigQuery requires that well-known port numbers
you provision database instances
89. A simple way to let a VPN Cloud Router
ahead of use. BigQuery is a good
into your Google VPC
choice for data analytics warehousing.
continue to work in spite of
82. Name three use Decoupling systems, Internet of routing changes
cases for Cloud Things applications, Executing ad-hoc
90. Which of these storage Structured objects, with
Pub/Sub (Select 3 SQL queries, Storage of binary web
needs is best addressed by transactions and SQL-like
answers). content Analyzing streaming data
Cloud Datastore? queries
83. What is TensorFlow? An open-source software library that's
91. Which of these storage A relational database with
useful for building machine learning
needs is best addressed by SQL queries and horizontal
applications
Cloud Spanner? scalability
84. Which compute Compute Engine
92. Which of these storage Structured objects, with
service lets
needs is best addressed by lookups based on a single
customers run
Cloud Bigtable? key
virtual machines
that run on Google's 93. Which of these storage Immutable binary objects
infrastructure? needs is best addressed by
Cloud Storage?
85. Which compute Kubernetes Engine
service lets 94. a fully managed object store Cloud Storage
customers deploy 95. relational database with Cloud Spanner
their applications in global scale and high
containers that run reliability financial and retail
in clusters on (TRANACTIONAL
Google's CONSISTENCY)
infrastructure?
96. fully managed no SQL wide Cloud Bigtable
86. Which compute App Engine column database (maps gmail
service lets etc)
customers focus on
97. fully managed mysql or Cloud SQL
their applications,
postgres sql database
leaving most
service
infrastructure and
provisioning to 98. fully managed no SQL Cloud Datastore
Google, while still document database
offering various 99. Which statement is true of A VM in Compute Engine
choices of runtime? Virtual Machine Instances in always maps to a single
87. Which compute Cloud Functions Google Compute Engine? hardware computer in a
service lets rack.
customers supply 100. What data storage service Cloud SQL
chunks of code, might you select if you just
which get run on- needed to migrate a
demand in response standard relational database
to events, on running on a single machine
infrastructure in a datacenter to the cloud?
wholly managed by
Google?
101. Which GCP data storage service Cloud Spanner 111. Your company has reserved a monthly Create a
offers ACID transactions and can budget for your project. You want to be budget alert for
scale globally? informed automatically of your project 50%, 90%, and
spend so that you can take action when 100% of your
102. No resources in GCP can be used ... a project
you approach the limit. What should you total monthly
without being associated with...
do? budget.
103. A budget is set at $500 and an A notification email is
112. You have a project using BigQuery. You Use "gcloud
alert is set at 100%. What happens sent to the Billing
want to list all BigQuery jobs for that config set
when the full amount is used? Administrator.
project. You want to set this project as project" to set
104. What is the purpose of Virtual To enable a secure the default for the bq command-line the default
Private Networking (VPN)? communication tool. What should you do? project.
method (a tunnel) to
113. Your project has all its Compute Engine Use "gcloud
connect two trusted
resources in the europe-west1 region. config set
environments through
You want to set europe-west1 as the compute/region
an untrusted
default region for gcloud commands. europe-west1"
environment, such as
What should you do? to set the
the Internet.
default region
105. Why might you use Cloud Cloud Interconnect for future
Interconnect or Direct Peering and Direct Peering gcloud
instead of VPN? can provide higher commands.
availability, lower
114. You developed a new application for Use the pricing
latency, and lower
App Engine and are ready to deploy it calculator for
cost for data-
to production. You need to estimate the App Engine to
intensive applications.
costs of running your application on get an accurate
106. What is the purpose of a Cloud It implements Google Cloud Platform as accurately as estimation of
Router and why does that matter? dynamic VPN that possible. What should you do? the expected
allows topology to charges.
be discovered and
115. Your company processes high volumes of Cloud Bigtable
shared automatically,
IoT data that are time-stamped. The total
which reduces manual
data volume can be several petabytes.
static route
The data needs to be written and
maintenance.
changed at a high speed. You want to use
107. What are the three categories of Global external load the most performant storage option for
GCP load balancing as described in balancing, regional your data. Which product should you
the course materials? external load use?
balancing, and
116. Your application has a large international A multi-regional
regional internal load
audience and runs stateless virtual Cloud Storage
balancing
machines within a managed instance bucket.
108. Which form of load balancing Network Load group across multiple locations. One
distributes traffic among a pool of Balancing feature of the application lets users
instances within a region? upload files and share them with other
109. Which form of Load Balancing uses Content-based Load users. Files must be available for 30 days;
path rules to send traffic to Balancing after that, they are removed from the
backend services based on type? system entirely. Which storage solution
should you choose?
110. You are a project owner and need App Engine Deployer
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?
117. You have a definition for an Create a managed 124. You created an update for your A. Use "gcloud
instance template that contains instance group based on application on App Engine. You container clusters
a web application. You are asked the instance template. want to deploy the update resize" with the desired
to deploy the application so that Configure autoscaling without impacting your users. You number of nodes.
it can scale based on the HTTP based on HTTP traffic want to be able to roll back as
traffic it receives. What should and configure the quickly as possible if it fails.
you do? instance group as the What should you do?
backend service of an
125. You have created a Kubernetes D. Create a Service of
HTTP load balancer.
deployment, called type ClusterIP for
118. You are creating a Kubernetes A. Turn on Stackdriver Deployment-A, with 3 replicas Deployment A. Have
Engine cluster to deploy Logging during the on your cluster. Another Deployment B use the
multiple pods inside the cluster. Kubernetes Engine deployment, called Service IP address.
All container logs must be cluster creation. Deployment-B, needs access to
stored in BigQuery for later Deployment-A. You cannot
analysis. You want to follow expose Deployment-A outside
Google-recommended of the cluster. What should you
practices. Which two approaches do?
can you take?
126. You need to estimate the annual You need to estimate
119. E. Use the Stackdriver Logging ... cost of running a Bigquery query the annual cost of
export feature to create a sink that is scheduled to run nightly. running a Bigquery
to BigQuery. Specify a filter What should you do? query that is scheduled
expression to export log records to run nightly. What
related to your Kubernetes should you do? B. Use
Engine cluster only. "bq query --dry_run" to
determine the number
120. You need to create a new Create a cluster on
of bytes read by the
Kubernetes Cluster on Google Kubernetes Engine and
query. Use this number
Cloud Platform that can enable autoscaling on
in the Pricing
autoscale the number of worker Kubernetes Engine.
Calculator.
nodes. What should you do?
127. You want to find out who in your In the Google Cloud
121. You have an application server Create a snapshot from
organization has Owner access Platform Console, go
running on Compute Engine in the disk. Create a disk
to a project called "my- to the IAM page for
the europe-west1-d zone. You from the snapshot in the
project".What should you do? your organization and
need to ensure high availability europe-west2-c zone.
apply the filter
and replicate the server to the Create a new VM with
"Role:Owner".
europe-west2-c zone using the that disk.
fewest steps possible. What 128. You want to create a new role D. For your
should you do? for your colleagues that will organization, in the
apply to all current and future Google Cloud Platform
122. Your company has a mission- Cloud Spanner Cloud
projects created in your Console under Roles,
critical application that serves SQL
organization. The role should select both roles and
users globally. You need to
have the permissions of the combine them into a
select a transactional and
BigQuery Job User and Cloud new custom role.
relational data storage system
Bigtable User roles. You want to
for this application. Which two
follow Google's recommended
products should you choose?
practices. How should you create
123. You have a Kubernetes cluster D. Edit the managed the new role?
with 1 node-pool. The cluster instance group of the
129. You work in a small company C. Create a new
receives a lot of traffic and cluster and enable
where everyone should be able Google Group and add
needs to grow. You decide to autoscaling.
to view all resources of a specific all users to the group.
add a node. What should you
project. You want to grant them Use "gcloud projects
do?
access following Google's add-iam-policy-
recommended practices. What binding" with the Project
should you do? Viewer role and Group
email address.
130. You need to verify the assigned permissions in a custom IAM role. What A. Use the GCP Console, IAM section to view the
should you do? information.

You might also like