T GCPACE m2 l7 en File 16.en
T GCPACE m2 l7 en File 16.en
Associate Cloud
Engineer Journey
Welcome to section 2 of the exam guide: Planning and Configuring a Cloud Solution.
Review and
study planning
Now let’s review the diagnostic questions together, paying attention to the areas
where you need to focus your study time. Some of this may be content you’re already
very familiar with, while other aspects may be new to you.
Proprietary + Confidential
Just like we did with the previous module, we’ll approach this review by looking at the
objectives of this exam section and the questions you just answered about each one.
We’ll introduce an objective, briefly review the answers to the related questions, then
talk about where you can find out more in the learning resources and/or in Google
Cloud documentation. As we go through each section objective, use the page in your
workbook to mark the specific documentation, courses (and modules!), and skill
badges you’ll want to emphasize in your study plan.
Proprietary + Confidential
Considerations include:
● Selecting appropriate compute choices for a given workload (e.g., Compute Engine,
Google Kubernetes Engine, Cloud Run, Cloud Run functions)
● Using spot VM instances and custom machine types as appropriate
Question:
Cymbal Superstore decides to migrate their supply chain application to Google Cloud.
You need to configure specific operating system dependencies. What should you do?
Proprietary + Confidential
Feedback:
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.
Where to look:
https://cloud.google.com/blog/products/compute/choosing-the-right-compute-option-in
-gcp-a-decision-tree
Content mapping:
● Google Cloud Fundamentals: Core Infrastructure (ILT and On-demand)
○ M3 Virtual Machines and Networks in the Cloud
Summary:
There are five distinct ways to interact with compute resources in Google Cloud. They
can be divided into server-based services, where manage and pay for infrastructure,
and serverless options, where you just pay for execution time.
Proprietary + Confidential
Infrastructure as a service:
Platform as a service:
● To just focus on writing code ● Scales to meet demand ● For event-driven workloads
Use When You ● Developer velocity ● Pay for what you use ● Scales to meet demand
Need...
● To minimize operational overhead ● Supports API endpoints ● Minimal configuration
App Engine, Cloud Run, and Cloud Run functions are serverless options, where you
focus on code and Google manages the underlying hardware and operating system
for you.
Proprietary + Confidential
Cymbal Superstore decides to pilot a A. SSH into a Compute Engine VM and execute
cloud application for their point of sale your code.
system in their flagship store. You want B. Package your code to a container image and
to focus on code and develop your post it to Cloud Run.
solution quickly, and you want your
C. Implement a deployment manifest and run
code to be portable.
kubectl apply on it in Google Kubernetes
Engine.
How do you proceed?
D. Code your solution in Cloud Run functions.
Question:
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?
Proprietary + Confidential
Cymbal Superstore decides to pilot a A. SSH into a Compute Engine VM and execute
cloud application for their point of sale your code.
system in their flagship store. You want B. Package your code to a container image and
to focus on code and develop your post it to Cloud Run.
solution quickly, and you want your
C. Implement a deployment manifest and run
code to be portable.
kubectl apply on it in Google Kubernetes
Engine.
How do you proceed?
D. Code your solution in Cloud Run functions.
Feedback:
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.
*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.
Where to look:
https://cloud.google.com/hosting-options
Content Mapping:
● Google Cloud Fundamentals: Core Infrastructure (ILT and On-demand)
○ M6 Applications in the Cloud
Summary:
The three serverless compute options available in Google Cloud are App Engine,
Cloud Run, and Cloud Run functions. All of these services abstract the underlying
infrastructure so you can focus on code. You only pay for how long your application
runs.
This is different than Compute Engine and GKE. In Compute Engine you implement
and manage virtual machines that your apps run on. With GKE you implement and
manage clusters of compute nodes you deploy your container images to.
App Engine has two environments: standard and flexible. Standard provides a
sandbox environment and totally abstracts the infrastructure for you. The flexible
environment gives you more choices for deploying your app. It supports more
languages, supports different runtimes, and lets you load dependencies you need in
the underlying architecture.
Cloud Run, which is also serverless, enables you to run stateless containers via web
requests and Google Cloud service events. Cloud Run operates using Knative, an
open-source, Kubernetes-based platform. It builds, deploys, and manages modern
serverless workloads. Cloud Run gives you the choice of running your containers
either fully-managed or in your own GKE cluster.
Proprietary + Confidential
Question:
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?
Proprietary + Confidential
Feedback:
*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.
Where to look:
https://cloud.google.com/hosting-options,
https://cloud.google.com/compute/docs/tutorials
Content mapping:
● Google Cloud Fundamentals: Core Infrastructure (ILT and On-demand)
○ M3 Virtual Machines and Networks in the Cloud
Summary:
Compute Engine is Google Cloud’s infrastructure-as-a-service offering. It gives you
maximum flexibility of developing on a virtual machine (VM). It does require more
management than serverless options, though.
A VM has an operating system. You choose how and if it autoscales. Autoscaling can
add more machines based on monitored performance thresholds.
To monitor performance you can connect Cloud Logging and Monitoring from Google
Cloud Observability.
Proprietary + Confidential
Question:
You want to deploy a microservices application. You need full control of how you
manage containers, reliability, and autoscaling, but don’t want or need to manage the
control plane. Which compute option should you use?
Proprietary + Confidential
Feedback:
A. Cloud Run
Feedback: Incorrect. Cloud Run does not give you full control over your containers.
B. App Engine
Feedback: Incorrect. App Engine does not give you full control over your containers.
D. Compute Engine
Feedback: Incorrect. Deploying in Compute Engine would require you to load and
manage your own container management software.
Where to look:
https://cloud.google.com/docs/choosing-a-compute-option
Content mapping:
● Google Cloud Fundamentals: Core Infrastructure (ILT and On-demand)
○ M5 Containers in the Cloud
● Skill Badge
○ Develop your Google Cloud Network
(https://www.cloudskillsboost.google/course_templates/625)
Summary:
GKE is a platform-as-a-service offering for running containerized applications in the
cloud. Google manages the control plane for you, under your administrative control.
Containers abstract application dependencies from the host operating system. This
makes container architectures highly portable. It saves costs compared to
implementing multiple VMs on a host hypervisor, which each requiring a copy of the
operating system. Kubernetes lets you orchestrate code in containers.
Let’s take a moment to consider resources that can help you build your knowledge
and skills in this area.
The concepts in the diagnostic questions we just reviewed are covered in these
modules, skill badge, and documentation. You’ll find this list in your workbook so you
can take a note of what you want to include later when you build your study plan.
Based on your experience with the diagnostic questions, you may want to include
some or all of these in your plan.
https://cloud.google.com/blog/products/compute/choosing-the-right-compute-option-in
-gcp-a-decision-tree
https://cloud.google.com/hosting-options
https://cloud.google.com/compute/docs/tutorials
Proprietary + Confidential
Considerations include:
● Product choice
(e.g., Cloud SQL, BigQuery, Firestore, Spanner, Bigtable)
● Choosing storage options
(e.g., zonal Persistent Disk, regional Persistent Disk, Standard,
Nearline, Coldline, Archive)
Along with compute resources, an Associate Cloud Engineer needs to be able to plan
and configure data storage in Google Cloud. That requires understanding of the
different product choices and storage options, and how to make recommended
choices for a given use case.
Question:
Cymbal Superstore needs to analyze whether they met quarterly sales projections.
Analysts assigned to run this query are familiar with SQL. What data solution should
they implement?
Proprietary + Confidential
Feedback:
*A. BigQuery
Feedback: Correct! BigQuery is Google Cloud’s implementation of a modern data
warehouse. BigQuery analyzes historical data and uses a SQL query engine.
B. Cloud SQL
Feedback: Incorrect. Cloud SQL is optimized for transactional reads and writes. It is
not a good candidate for querying historical data as described in the scenario.
C. Spanner
Feedback: Incorrect. Spanner is an SQL-compatible relational database, but it is not
built for analyzing historical data.
D. Firestore
Feedback: Incorrect. Firestore is a NoSQL document database used to define entities
with attributes. It is not a good choice for the analysis of historical data as described in
the scenario.
Where to look:
https://cloud.google.com/storage-options/
Content mapping:
● Google Cloud Fundamentals: Core Infrastructure (ILT and On-demand)
○ M4 Storage in the Cloud
● Skill Badge
○ Set Up an App Dev Environment on Google Cloud
(https://www.cloudskillsboost.google/course_templates/637)
Summary:
Explanation/summary on the following slide.
Proprietary + Confidential
Cloud Cloud
Spanner Firestore Bigtable BigQuery
SQL Storage
Good for: Good for: Good for: Good for: Good for: Good for:
Web RDBMS+scale, Hierarchical, Heavy read + Binary or object data Enterprise data
frameworks HA, HTAP mobile, web write, events warehouse
Such as: Such as: Such as: Such as: Such as: Such as:
CMS, User metadata, User profiles, AdTech, Images, media serving, Analytics, dashboards
eCommerce Ad/Fin/MarTech Game State financial, IoT backups
This question relates to Google Cloud data services and what data construct they are
based on.
Google’s relational database offerings include Cloud SQL and Spanner. Use them
when you need a transactional processing system you can query with SQL. Cloud
SQL is a managed version of databases you can implement on-premises, while
Spanner is horizontally scalable and globally available.
Question:
Cymbal Superstore’s supply chain application frequently analyzes large amounts of
data to inform business processes and operational dashboards. What storage class
would make sense for this use case?
Proprietary + Confidential
Feedback:
A. Archive
Feedback: Incorrect. Archive storage is the best choice for data that you plan to
access less than once a year.
B. Coldline
Feedback: Incorrect. Dashboards need current data to analyze. Coldline is good for
storing data accessed only every 90 days.
C. Nearline
Feedback: Incorrect. Dashboards need current data to analyze. Nearline is good for
storing data accessed only every 30 days.
*D. Standard. Correct. Standard storage is best for data that is frequently accessed
("hot" data) and/or stored for only brief periods of time. In addition, co-locating your
resources by selecting the regional option maximizes the performance for
data-intensive computations and can reduce network charges.
Where to look:
https://cloud.google.com/storage/docs/storage-classes
Content mapping:
● Google Cloud Fundamentals: Core Infrastructure (ILT and On-demand)
○ M4 Storage in the Cloud
● Skill Badge
○ Set Up an App Dev Environment on Google Cloud
(https://www.cloudskillsboost.google/course_templates/637)
Summary:
Explanation/summary on the following slide.
Proprietary + Confidential
● No retrieval cost ● Very low cost per GB ● Even lower cost per GB ● Lowest cost per GB
stored and can accept stored and can accept stored and can accept
Use when ● No minimum storage
higher per-operation higher per-operation the highest
you need... duration
costs costs per-operation costs
● 30-day minimum storage ● 90-day minimum storage ● 365-day minimum
duration duration storage duration
“Hot” data and/or stored Infrequently (i.e., no more Very infrequently accessed Data archiving, online
for only brief periods of than once per month) data - ie, once a year. backup, and disaster
Typical use time like data-intensive accessed data. Ideal for Typically this is for disaster recovery
cases
computations back-up and serving long-tail recovery, or for financial data
multimedia content. that has to be kept for a
certain length of time to meet
regulatory needs.
Data location and storage class affect the availability and cost of storing your data in
Cloud Storage. You can choose regional, dual-region, and multi-regional location
options. Storage classes include Standard, Nearline, Coldline and Archive storage.
The different storage classes determine pricing based on how long your data is stored
and how often you access it.
Standard storage is the default storage class. Data stored using this class is
immediately available. It is the recommended storage class for frequently accessed
data. You should locate your data in the same region as the services you are going to
use to ingest and analyze the data to reduce latency as much as possible. Specifying
a dual-region location that includes the region where your application resides will still
give you low latency, but your data will also be available in another region in case of
an outage. Extending your storage settings to a multi-region will make data available
over a large geographic area such as US, Europe, or Asia.
The other storage classes implement ways to store infrequently accessed data.
Nearline storage is for data that is only accessed around every 30 days. Coldline
storage is for data that is only accessed around once every quarter, or 90 days.
Archive storage is long-term storage for data accessed only once a year. These
storage classes have optimized pricing, but also expect you to keep your data in them
for the minimum limits specified above. If you access your data before the minimum
amount of time you will be charged a data access fee.
Proprietary + Confidential
Question:
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?
Proprietary + Confidential
Feedback:
*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.
B. Cloud Storage
Feedback: Incorrect. Cloud Storage is a large object store and is not queryable. It is
not transactional or analytical.
C. Firestore
Feedback: Incorrect. 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.
*E. Bigtable
Feedback: Correct! 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.
Where to look:
https://cloud.google.com/load-balancing
Content mapping:
● Google Cloud Fundamentals: Core Infrastructure (ILT and On-demand)
○ M4 Storage in the Cloud
Summary:
Explanation/summary on the following slide.
Proprietary + Confidential
NoSQL Relational SQL for Relational SQL for Relational SQL for
Type NoSQL document Blobstore
wide column OLTP OLTP OLAP
Transactional workloads are optimized for more writes and updates than reads.
Transactional means either all parts of an update happen or none of them do. For
example, think of the importance of making sure deposits and withdrawals are
recorded in a financial system. Both of these are part of one transaction.
Relational database management systems are commonly used for applications that
are transactional in nature. Relational database services used to support transactional
systems in Google Cloud include Cloud SQL and Spanner.
Cloud SQL is a managed database service that gives you access to common
database types you might implement in your own infrastructure, like MySql or
PostGre. It is implemented on virtual machines in the cloud with different options for
size and availability.
Spanner shards your database across a cluster of database nodes, offering strong
consistency and global availability. It is fully managed service, so you don’t need to
worry about underlying virtual machines.
The other type of workload is analytical. It is based on querying historical data that
doesn’t change often, and is optimized for writes. BigQuery is a good option for this
kind of workload.
Proprietary + Confidential
Let’s take a moment to consider resources that can help you build your knowledge
and skills in this area.
The concepts in the diagnostic questions we just reviewed are covered in these
modules, skill badge, and documentation. You’ll find this list in your workbook so you
can take a note of what you want to include later when you build your study plan.
Based on your experience with the diagnostic questions, you may want to include
some or all of these in your plan.
https://cloud.google.com/storage-options/
https://cloud.google.com/storage/docs/storage-classes
https://cloud.google.com/architecture/data-lifecycle-cloud-platform
Proprietary + Confidential
Considerations include:
● Load balancing
● Availability of resource locations in a network
● Network Service Tiers
Together with compute and storage decisions, an associate cloud architect should be
able to plan and configure network resources in Google Cloud - including load
balancing, resource locations, and Network Service Tiers.
You explored these types of tasks in questions 8 and 9: Match Google Cloud load
balancing options to the appropriate TCP layer: Global https: Layer 7, Global SSL:
Layer 4: Global TCP Proxy: Layer 4.
Proprietary + Confidential
Question:
Cymbal Superstore is piloting an update to its ecommerce app for the flagship store in
Minneapolis, Minnesota. The app is implemented as a three-tier web service with
traffic originating from the local area and resources dedicated for it in us-central1. You
need to configure a secure, low-cost network load-balancing architecture for it. How
do you proceed?
Proprietary + Confidential
Feedback:
A. Incorrect. A premium global external Application Load Balancer is more
expensive, and the scenario calls for a low cost solution. Also, all the
resources for the scenario are in the same region.
B. Incorrect. TCP protocol lacks the security features of HTTP(S), making it less
suitable for an ecommerce application. A premium tier passthrough Network
Load Balancer is global and is not the proper solution between web and
backend within a region.
C. Correct! All of the resources are in the same region, so this is the most cost
effective way to ensure secure communication between the Application Load
Balancer and the backed instances.
D. Incorrect. A Network Load Balancer is not a good solution for web front ends.
For a web frontend, you should use an Application Load Balancer (layer 7)
whenever possible.
Where to look:
https://cloud.google.com/load-balancing/docs/load-balancing-overview
Content mapping:
● Google Cloud Fundamentals: Core Infrastructure (ILT and On-demand)
○ M3 Virtual Machines and Networks in the Cloud
Summary:
Explanation/summary on the following slide.
Types of load balancers
Application Load Balancer (HTTP / HTTPS) Network Load Balancer (TCP / UDP / other IP protocols)
Regional Regional
Global Regional Regional Cross-region
external internal
external proxy external proxy internal proxy internal proxy
passthrough passthrough
Network Load Network Load Network Network Load
Network Load Network Load
Balancer Balancer Load Balancer Balancer
Balancer Balancer
Google Cloud offers a range of load balancing solutions that can be classified based
on the OSI model layer they operate at and their specific functionalities.
These load balancers operate at the application layer and are designed to handle
HTTP and HTTPS traffic, making them ideal for web applications and services that
require advanced features like content-based routing and SSL/TLS termination.
Application Load Balancers operate as reverse proxies, distributing incoming traffic
across multiple backend instances based on rules you define. They are highly flexible
and can be configured for both internet-facing (external) and internal applications.
Network Load Balancers operate at the transport layer and efficiently handle TCP,
UDP, and other IP protocols. They can be further classified into two types:
Proxy Load Balancers: These also function as reverse proxies, terminating client
connections and establishing new ones to backend services. They offer advanced
traffic management capabilities and support backends located both on-premises and
in various cloud environments.
Passthrough Load Balancers: Unlike proxy load balancers, these do not modify or
terminate connections. Instead, they directly forward traffic to the backend while
preserving the original source IP address. This type is well-suited for applications that
require direct server return or need to handle a wider range of IP protocols.
Proprietary + Confidential
Question:
What Google Cloud load balancing option runs at Layer 7 of the TCP stack?
Proprietary + Confidential
Feedback:
A. Correct! A Global Application Load Balancer operates at layer 7 of the OSI
model. This means it can inspect and route traffic based on application-layer
information, such as HTTP headers, URL paths, and cookies.
B. Incorrect. Global Proxy Network Load Balancers are layer 4 reverse proxy
load balancers that distribute TCP traffic to backends in your Google Cloud
Virtual Private Cloud (VPC) network or in other cloud environments.
C. Incorrect. Regional passthrough Network Load Balancers are Layer 4 regional,
passthrough load balancers. These load balancers distribute traffic among
backends in the same region as the load balancer.
D. Incorrect. Regional Internal passthrough Network Load Balancers are layer 4
load balancers and distribute traffic among internal virtual machine (VM)
instances in the same region in a Virtual Private Cloud (VPC) network.
Where to look:
https://cloud.google.com/load-balancing/docs/load-balancing-overview
Content mapping:
● Google Cloud Fundamentals: Core Infrastructure (ILT and On-demand)
○ M4 Storage in the Cloud
Summary:
The Application Load Balancer is a proxy-based Layer 7 load balancer that lets you
run and scale your services. The Application Load Balancer distributes HTTP and
HTTPS traffic to backends hosted on a variety of Google Cloud platforms—such as
Compute Engine, Google Kubernetes Engine (GKE), Cloud Storage, and Cloud
Run—as well as external backends connected over the internet or by using hybrid
connectivity.
Proprietary + Confidential
Let’s take a moment to consider resources that can help you build your knowledge
and skills in this area.
The concepts in the diagnostic questions we just reviewed are covered in these
modules and in this documentation. You’ll find this list in your workbook so you can
take a note of what you want to include later when you build your study plan. Based
on your experience with the diagnostic questions, you may want to include some or all
of these in your plan.
https://cloud.google.com/load-balancing/docs/load-balancing-overview
https://cloud.google.com/load-balancing