GCRP MCQ
GCRP MCQ
GCRP MCQ
Module 9: You Have the Data, but What Are You Doing with It?
Q1 Google Cloud provides a variety of service choices. Which of the following services is
infrastructure as a service (IaaS)? (Choose 1)
A App Engine
B Cloud Function
C Compute Engine
Feedback: Compute Engine is the correct answer. WIth IaaS, only the underlying
architecture is provided. The user still has to select and care for an operating system
and install the required applications.
Q2 The Google Cloud hierarchy helps you manage resources across multiple
departments and multiple teams within an organization. Which of the following is at
the top level of this hierarchy? (Choose 1)
A Folder
B Organization
C Project
D Resource
Q3 Cloud Identity and Access Management (Cloud IAM) allows you to manage
privileges. What do these privileges apply to? (Choose 1)
A Applications.
B Operating systems.
Feedback: IAM only applies to the Google Cloud resources you use. Application and
operating system security must be handled separately.
Q4 Projects form part of the Google Cloud resources hierarchy. Which of the following is
true concerning projects? (Choose 1)
Feedback: The Google Cloud resources you use, no matter where they reside, must
belong to a project.
Q5 Google Cloud provides resources in multi-regions, regions, and zones. What best
describes a zone? (Choose 1)
A An edge location.
Feedback: Regions are made up of zones. Each Region will have at least 3 data
centers or zones to provide high availability.
A Hybrid
B IaaS
C PaaS
D SaaS
Feedback: GKE is a hybrid service. On the one hand, the infrastructure is managed for
Kubernetes. But you still have to run Kubernetes to build your applications.
Q7 Which of the following best describes a major advantage Google Cloud has over
other cloud providers? (Choose 1)
A Google uses satellite links as a way of interconnecting Regions, Zones, and POPS.
C Google leases fiber from multiple vendors. In the event of a vendor’s fiber failing,
another vendor's network can be used as a backup.
D Google owns one of the largest networks in the world. All regions and zones are
connected on the same network.
Feedback: Google owns one of the worlds largest networks with 100,000s of
kilometers of fiber and over 100 POPs all interconnecting regions and zones. The
network also leverages multiple intercontinental fiber connections.
Q8 Regions are independent geographic areas on the same continent. Which of the
following is a regional service? (Choose 1)
A Datastore
C Network
D Virtual machine
Feedback: Folders are used to organize projects. You can put projects or other
folders into a folder.
Q11 You are using Google Cloud to provide a platform as a service (PaaS) solution using
App Engine. When will you be billed for the resources required? (Choose 1)
D You pay for the resources when you deploy the application.
Feedback: When using a PaaS model service offering like App Engine in Google
Cloud, you are only billed when the resource is actually running.
Q12 You want to migrate data from your old database to the cloud. You do not want to
manage the underlying architecture or the database application. Which cloud service
type should you choose? (Choose 1)
A IaaS
B SaaS
C PaaS
D Hybrid
Q13 You have changed the name of your project. You want to change the name of the
project ID as well, but are not able to do so. Why is this? (Choose 1)
C The relevant Cloud Identity and Access Management (Cloud IAM) privileges are not
assigned to you.
D The relevant Cloud Identity and Access Management (Cloud IAM) policies are not
assigned to you.
Feedback: The project number and project ID are unique across Google Cloud and
cannot be changed. The project ID is generated from the project name you enter
when you create the project in the Cloud Console.
Q14 You need to recover a Compute Engine instance that was in a project that you just
accidentally deleted. You do not have a backup or archive copy of the instance. How
can you retrieve this instance? (Choose 1)
Feedback: Project owners can restore a deleted project within the 30-day recovery
period that starts when the project is shut down. Restoring a project returns it to the
state it was in before it was shut down.
Q15 You need to deploy several applications to the us-central1 region. How should you
deploy the applications to enable fault tolerance and high availability? (Choose 1)
Feedback: Deploying applications across multiple zones enables fault tolerance and
high availability. Putting resources in different zones in a region provides isolation
from most types of physical infrastructure and infrastructure software service failures.
Module 2: Start with a Solid Platform
Q1 How would you configure the Cloud SDK to work on your laptop? (Choose 1)
Feedback: The gcloud init command sets your login, your default project, and your
default region and zone.
Q2 Which command line tool can be used to manage Cloud Storage? (Choose 1)
A bq
B Cloud Shell
C gcloud
D gsutil
Feedback: The gsutil CLI tool is used for managing Cloud Storage.
Q3 True or False. When using Cloud Shell you must also install the Cloud SDK locally to
manage your projects and resources.
A True
B False
Feedback: The answer is False. Using Cloud Shell, you can manage your projects and
resources easily without having to install the Cloud SDK or other tools locally.
Q4 True or False. The Cloud Shell code editor is one of the developer tools built into the
Cloud Console.
A True
B False
Feedback: The answer is True. Cloud Shell, the Cloud Shell code editor, and Cloud
Source Repositories are all examples of developer tools built into the Cloud Console.
Q5 Every Google Cloud service you use is associated with a project. Which of the
following statements regarding projects are correct? (Choose 2)
D Projects are the basis for enabling and using Google Cloud services.
E Each project is a separate account, and each resource belongs to exactly one.
Feedback: Projects are the basis for enabling and using Google Cloud services, like
managing APIs, enabling billing, adding and removing collaborators, and enabling
other Google services. Each project is a separate account, and each resource
belongs to exactly one. Projects can have different owners and users. They’re billed
separately, and they’re managed separately.
C Use Cloud Functions to fire off an email with daily budget totals.
Feedback: To be notified when costs approach your budget limit, you can define a
budget and create an alert.
Feedback: Google Cloud enforces quotas on resource usage, setting a hard limit on
how much of a particular Google Cloud resource a project can use. Quotas are
designed to help prevent billing surprises and to prevent overconsumption of
resources due to malicious attacks.
A True
B False
Feedback: The answer is False. s3config is not a command-line option. gcloud (all),
gsutil (Cloud Storage), and bq (BigQuery) are the command-line options that are part
of the Cloud SDK.
Q9 How would you test a Google API and learn how it works? (Choose 1)
D Use the console to get the directions on how to build the api by service.
Feedback: APIs Explorer helps you learn about the APIs interactively. It lets you see
what APIs are available, in what versions, as well as how they work.
Q10 In what format will a majority of the APIs return data in? (Choose 1)
A JSON
B TEXT
C XML
D YAML
Q11 You want team members working on separate projects to be able to collaborate on
the development of an application. You want to manage all access to the project and
development in Google Cloud. Which Google Cloud service will allow your team to
store, manage, and track code? (Choose 1)
A Cloud API
B Cloud Storage
Q12 You require detailed usage and cost estimation information about a project from
your Google Cloud billing data. What action can you take in the Google Cloud Billing
console to accomplish this? (Choose 1)
Feedback: Cloud Billing export to BigQuery enables you to export detailed Google
Cloud billing data (such as usage and cost estimate data) automatically throughout
the day to a BigQuery dataset that you specify. Then you can access your Cloud
Billing data from BigQuery for detailed analysis, or use a tool like Data Studio to
visualize your data.
Q13 You are a reseller of Google Cloud services. You want to invoice your clients
separately for the resources that they use. How can you achieve this? (Choose 1)
Q14 You are onboarding a new co-worker. You want them to familiarize themselves with
Google Cloud but not start any resources which could incur a cost. What action can
you take? (Choose 1)
Feedback: You can link your billing account to zero or more projects. Projects that
you do not link to any billing account can only use free Google Cloud services.
Q15 You want to automatically shutdown resources in a project if the budget exceeds a
specified amount. What actions can you take to accomplish this? (Choose 2)
D Create a webhook in response to the alert that will trigger a shutdown script.
E Create an alert to notify the Billing Account Administrator to shutdown the resources
manually.
Q16 You want to edit the code of a sample application from within your Cloud Shell
environment. You do not want to launch a text based editor from the Cloud Shell
prompt. What tool can you utilize to achieve this? (Choose 1)
A Notepad
Feedback: The built-in Cloud Shell code editor provides the convenience of viewing
and editing files in the same environment where projects are built and deployed.
Q17 [LAB - A Tour of Qwiklabs and Google Cloud] You want to add additional members
to your project but are unable to do so. In the Cloud Console in the cloud IAM &
admin section you can see that you have the roles/viewer permission. What role do
you need in order to add a member to the project? (Choose 1)
A roles/owner
B roles/editor
C roles/custom
D iam/serviceAccounts.actAs
Feedback: You need to have the basic role of roles/owner in order nanage roles and
permissions for a project and all resources within the project.
Q18 [LAB - A Tour of Qwiklabs and Google Cloud] You want to ensure that files you are
working on in the Cloud Shell persist across multiple sessions. What action must you
take to ensure this happens? (Choose 1)
Feedback: The contents of your Cloud Shell Home directory persists across projects
between all Cloud Shell sessions, even after the virtual machine terminates and is
restarted.
Q19 [LAB - Getting Started with Cloud Shell & gcloud] You want to use the auto-
prompting feature to help you learn the gcloud command syntax. What actions must
you take in the Cloud Shell in order to enable auto prompting for commands and
flags with inline help snippets? (Choose 1)
C Install the gcloud beta components and enter gcloud interactive mode.
Feedback: Gcloud interactive has auto prompting for commands and flags, and
displays inline help snippets in the lower section as the command is typed. Static
information, like command and sub-command names, and flag names and
enumerated flag values, are auto-completed using dropdown menus. When using the
interactive mode, click on the Tab key to complete file path and resource arguments.
Q20 [LAB - Getting Started with Cloud Shell & gcloud] You are using the Cloud Shell to
create a virtual machine. You run the gcloud compute command to create a virtual
machine but omit the --zone flag. What effect will this have when provisioning the
machine? (Choose 1)
C Gcloud will infer your desired zone based on your default properties.
D The virtual machine will be deployed in the nearest zone to your location.
Feedback: If you omit the --zone flag, gcloud can infer your desired zone based on
your default properties. Other required instance settings, like machine type and
image, if not specified in the create command, are set to default values.
Module 3: Use Google Cloud to Build Your Apps
Q1 None of the pre-defined instance types fit your application. What do you do? (Choose
1)
A Set up autoscaling.
Feedback: Custom instance types are useful when none of the pre-defined options
meet your needs or you need to use GPUs or a specific CPU platform.
Q2 True or False. Compute Engine pricing is based on a daily rate for the instance.
A True
B False
Feedback: The answer is False. You are billed for the first minute at boot-time and
then per second of use.
Q3 True or False. Cloud Monitoring metrics can be used to trigger an autoscaling event.
A True
B False
Feedback: The answer is True. Cloud Monitoring metrics, CPU usage, and load
balancer usage are all examples of triggers for an autoscaling event.
A Cloud Storage
B HD Persistent Disk
C Local SSD
Q5 You want to use App Engine, but you will need to use a custom runtime. Which of the
following is the best option? (Choose 1)
Feedback: App Engine Flexible allows for custom runtimes, use of persistent disks,
and the ability to log into the infrastructure.
Q6 Time-to-market is highly valuable to you and you want to be able to focus on writing
code without ever having to touch a server, cluster, or infrastructure. Which service
suits your needs? (Choose 1)
A App Engine
B Compute Engine
C BigQuery
Feedback: App Engine is a PaaS option. The only part of the infrastructure you
manage is your code.
A True
B False
Feedback: The answer is True. Cloud Functions supports code written in Go, Python,
and Node.js.
D Webhook
A A format of container.
B A virtualization platform.
Feedback: Kubernetes is used for container orchestration. It helps you manage your
containerized application environment.
Q10 Which of the following is the container format used with Google Kubernetes Engine?
(Choose 1)
A Docker
B Glassfish
C Rocket
D Spinnaker
Feedback: Docker is the container format of choice for GKE. Spinnaker, Rocket, and
Glassfish are not container formats.
Q11 You are building a VM for data analysis. You want a disk that will deliver very high
Input/Output operations (IOPs) and very low latency. The files will be copied to the
VM from Cloud Storage in order to perform the analysis. Which option should you
choose? (Choose 1)
A File Store
B Local SSD
Feedback: Unlike persistent disks, local SSDs are physically attached to the server
that hosts your VM instance. This tight coupling offers superior performance, very
high input/output operations per second (IOPS), and very low latency compared to
persistent disks. Local SSD disks are ephemeral. If you store important data in a
local SSD device, you must also store that same data in a durable storage option.
Q12 You created several single vCPU virtual machines with SSD persistent disks attached
for an application. The amount of input/output operations per second (IOPs)
required by the application have increased and performance is no longer
satisfactory. What actions can you take to improve disk I/O? (Choose 2)
Q13 You need to deploy a web application that has been provided by your development
team as a Docker container. You do not want to manage any infrastructure for this
application. Which Google compute environment should you choose? (Choose 1)
A Cloud Functions
Q14 You want to use Cloud Functions to create a response to certain events.
You also want to capture and act on these events. What must you configure to
achieve this? (Choose 2)
A Create a trigger.
Q15 You want to deploy a web server in a containerized environment. You also want to
install the system on local servers in the cloud, manage container networking and
data storage, deploy rollouts and rollbacks, and monitor and manage container and
host health. Which solution should you choose? (Choose 1)
A Cloud Functions
Feedback: Kubernetes is a container orchestration tool you can use to simplify the
management of containerized environments. You can install Kubernetes on a group
of your own managed servers or run it as a hosted service in Google Cloud on a
cluster of managed Compute Engine instances called Google Kubernetes Engine.
A CPU Platform
B Reservations
C Machine Type
D Instance Type
Q17 [LAB - Creating a Virtual Machine] You deploy a virtual machine in the Google Cloud
Shell using the following command 'gcloud compute instances create gcelab2 --
machine-type n1-standard-2 --zone us-central1-a'. What operating system is
deployed by default? (Choose 1)
Feedback: There are a number of images to choose from, including: Debian, Ubuntu,
CoreOS as well as premium images such as Red Hat Enterprise Linux and Windows
Server. Debian is the default OS deployed.
Q18 [LAB - Creating a Virtual Machine] You want to create a virtual machine running the
latest version of the SUSE Linux Enterprise Server operating system. Which option in
the Cloud Console should you modify when creating the virtual machine? (Choose 1)
A Boot disk
B Machine Type
C Machine Family
D Machine Configuration
Feedback: Modifying the boot disk option allows you to change the operating system
type, version, boot disk type and the size in gigabytes of the disk.
Q19 [LAB - Creating a Virtual Machine] You have connected to your Linux virtual machine
using the SSH Connect button in the Cloud Console. You run the command 'apt-get
update' but receive the error 'permission denied.’ What action must you take in order
to run the command? (Choose 1)
C Change your Role in the IAM & Admin console and retry.
D Run the command in the Cloud Console and redirect to the VM.
Feedback: Sudo allows your user to run the apt-get command with the security
privileges of root.
Q20 [LAB - App Engine: Qwik Start - Python] You are testing an application that you are
developing for deployment on Google App Engine locally using the Google Cloud
development server (dev_appserver.py). You make a change to the welcome
message that is displayed in your application’s main.py file and save it. What action
must you now take in order to view the change? (Choose 1)
Feedback: You can leave the local dev_appserver.py development server running
while you develop your application. The development server watches for changes in
your source files and reloads them if necessary. Reloading the web browser is
sufficient to see the change.
Q21 [LAB - App Engine:Qwik Start - Python] You want to deploy your application using
App Engine. You execute the command 'gcloud app deploy' without specifying any
additional parameters. What is the next action you must perform before Google App
Engine is deployed? (Choose 1)
Feedback: When you deploy App Engine you will be prompted for the region that you
want to locate it in. You enter the number that represents your region and the App
Engine application will then be created.
Q22 [LAB - Cloud Functions: Qwik Start - Command Line] You have created a function
called helloWorld that parses the call to the function and logs a message. You
execute the command 'gcloud beta functions call helloWorld --data
'{"message":"Hello World!"}' to test that the function writes a message to the cloud
log. What can you search for in the Cloud Functions logs to verify that the specific
test call you made completed successfully? (Choose 1)
A LEVEL
B NAME
C EXECUTION_ID
D FUNCTION LOG
Feedback: After you deploy a function and know that it is active, you can test that the
function writes a message to the cloud log. The cloud tool returns the execution ID
for the function, which means a message has been written in the log. You can view
the logs to confirm that there are log messages with that execution ID.
Module 4: Where Do I Store This Stuff?
Q1 Google Cloud has many storage options. Which would be the best option for
unstructured storage? (Choose 1)
A Cloud Bigtable
B Datastore
C Cloud SQL
D Cloud Storage
Q2 What is the largest object that you can store in Cloud Storage? (Choose 1)
A 1 GB
B 5 TB
C Unlimited
Q3 What Cloud Storage storage class would be an inexpensive option for backups that
you test once a month? (Choose 1)
A Archive
B Coldline
C Nearline
D Standard
A Cloud Bigtable
B Datastore
C Cloud Spanner
D Cloud SQL
Q5 Which of the following database engines does Cloud SQL support? (Choose 2)
A DB2
B MongoDG
C MySQL
D Oracle
E PostgreSQL
Q6 True or False. You can use existing SQL skills to query data in Cloud Spanner.
A True
B False
Feedback: The answer is True. You can use existing SQL skills to query data in Cloud
Spanner using familiar, industry-standard ANSI SQL 2011.
A A document store
B A data warehouse
C A relational database
D A sparse, wide-column database
Q8 Cloud Bigtable provides a NoSQL based managed service option. Which one of the
following is a valid use case for this service? (Choose 1)
A An object store.
B A data warehouse.
Feedback: The sparse, wide table format and extremely low write latency of Cloud
Bigtable makes it a great option for fast streaming services like IoT.
Q9 You have non-relational data and want a serverless database without having to worry
about nodes or cluster management. Which service would best suit your needs?
(Choose 1)
A Cloud Bigtable
B Datastore
C Cloud Spanner
D Cloud SQL
Feedback: Datastore is the only option that does not require the construction of a
server.
A BigQuery
B Cloud Bigtable
C Cloud Spanner
D Cloud SQL
Feedback: BigQuery is the only option that is not a database. The backend of
BigQuery is columnar storage.
Q11 You have analyzed your data and want to transfer relevant files to Cloud Storage.
Which data types are most suited for this type of storage? (Choose 2)
A Images
B Documents
C Stock Information
D Billing Information
E Customer Transactions
Feedback: If you need a solution to hold files, backups, logs, and blobs, a good
unstructured solution would be Cloud Storage. If you want to store transactions and
other structured data you should use a database.
Q12 You require a storage solution that will host videos to be streamed frequently and
globally. The solution must be geographically redundant. Which solution should you
choose? (Choose 1)
A Archive
B Coldline
C Nearline
D Standard
Q13 You must support the retrieval of objects that have been overwritten or deleted using
Cloud Storage. Which feature should you enable to achieve this? (Choose 1)
A Archiving
B Snapshots
C Cloud API
D Object Versioning
Feedback: To support the retrieval of objects that are deleted or overwritten, Cloud
Storage offers the Object Versioning feature.
Q14 You want to define user access to individual files on a Cloud Storage bucket. You
want users to only be able to read from a single object. What type of user permission
should you define to achieve this? (Choose 1)
Feedback: You most likely want to use ACLs if you need to customize access to
individual objects within a bucket, since Cloud IAM permissions apply to all objects
within a bucket. However, you should still use Cloud IAM for any access that is
common to all objects in a bucket, because this reduces the amount of
micromanaging you have to do.
Q15 You require a fully managed NoSQL database to store user profile information for
your application. Which solution should you deploy? (Choose 1)
A Cloud SQL
B Cloud Storage
C Cloud Spanner
D Datastore
Feedback: Datastore is a highly scalable NoSQL database for applications. It’s ideal
for storing user profiles to deliver a customized experience based on the user’s past
activities and preferences.
Q16 You need a fully managed NoSQL database solution for large-scale, low-latency data
analytic applications. The database must be able to scale to hundreds of petabytes.
Which solution should you deploy? (Choose 1)
A Cloud SQL
B Cloud Spanner
C Cloud Storage
D Cloud Bigtable
Q17 [LAB - Cloud Storage: Qwik Start - CLI/SDK] You want to create a bucket with a
particular project name. You execute 'gsutil mb gs://project.1' but receive the error
message ‘BadRequestException’. Why is this the case? (Choose 1)
Feedback: Cloud Storage considers bucket names that contain dots to be domain
names. Therefore, they must be a syntactically valid DNS name, end with a currently-
recognized top-level domain, for example .com, and be created by a user who is
authorized to work with the domain name.
Q18 [LAB - Cloud Storage: Qwik Start - CLI/SDK] You have executed the command ‘gsutil
acl ch -u AllUsers:R gs://bucket1/ada.jpg’ in Cloud Shell to make the file available to
anyone. What visual indicator in the Storage section of the Cloud Console allows you
to verify that the permission level has been set? (Choose 1)
Feedback: You can use the gsutil acl ch command to grant all users read permission
for the object stored in your bucket. The image is now public and this can be verified
in the Cloud Console. You see your image with the Public link box checked. Click the
name of your file and a new browser will open with your image.
Q19 [LAB - Loading Data into Google Cloud SQL] You are deploying Cloud SQL. You need
to gain management access to your Cloud SQL instance from Cloud Shell. What
action must you take? (Choose 1)
Feedback: To allow management access to your Cloud SQL instance, you can allow
an IP or a range of IP addresses using the --authorized-networks flag, or in the
Google Cloud, or using a REST API.
Module 5: There’s an API for That!
Q1 Which of the following is the most common API format in Google Cloud? (Choose 1)
A CLI
B gRPC
C REST
D SOAP
Feedback: REST APIs is the default API format for Google Cloud. It is the most
common API format today.
Feedback: APIs are used to simplify the way different, disparate, software resources
communicate. APIs provide a uniform format for different applications to
communicate.
A HTTPS
B RDP
C SSH
D Telnet
Feedback: REST API implementations can make use of standards, such as HTTP,
URI, JSON, and XML.
Q4 You are looking for a managed API service for your cloud-based services? Which of
these services would meet your needs? (Choose 1)
A Apigee Edge
B Cloud Endpoints
C CLI
D gRPC
Feedback: Cloud Endpoints is a managed API Service used to create web front ends
to Google Cloud services.
Q5 You are looking for a managed API service to provide an API frontend to your legacy
systems. Which of these services would meet your needs? (Choose 1)
A Apigee Edge
B Cloud Endpoints
C CLI
D gRPC
Feedback: Apigee Edge is a platform for developing and managing APIs used for
both cloud and legacy systems. Apigee Edge provides an abstraction for your
backend service APIs and provides a variety of services including security, rate
limiting, quotas, and analytics.
A CLI
B gRPC
C IEEE
D OpenAPI
E RFC
Feedback: GRPC and OpenAPI are the two formats that Cloud Endpoints supports.
Q7 True or False. Firebase Authentication and Auth0 are two of the utilities Cloud
Endpoints uses to support service-to-service and user authentication.
A True
B False
Feedback: The answer is True. Firebase, Auth0, and Google authentication are all
used for service-to-service and user authentication.
Q8 You need a simple and reliable staging location for your event data on its journey
towards processing, storage, and analysis. Which one of the following services
should you consider? (Choose 1)
A Apigee Edge
B Dataflow
C Cloud Endpoints
D Pub/Sub
Feedback: Pub/Sub is a global managed service that provides the storage and
distribution of messages. Messages use a publish/subscribe delivery format and
can be delivered either via push or pull messaging. Pub/Sub can serve as a buffer for
applications as messages get processed.
Q9 What are the types of message delivery supported with Pub/Sub? (Choose 2)
A Bounce
B Poll
C Pull
D Push
Q11 You want to utilize Cloud Endpoint to control access to your API. What actions can
you take to achieve this? (Choose 2)
Feedback: Cloud Endpoint allows you to control who has access to your API and
validate every call with JSON Web Tokens and Google API keys.
Q12 You have a legacy backend application that you want to gradually move across to the
cloud and convert to microservices. What Google Cloud service can you use to
progressively convert the APIs from the backend service to the new cloud-based
microservices? (Choose 1)
A Apigee Edge
B Pub/Sub
C Cloud Spanner
D Cloud Endpoints
Feedback: If you have legacy applications that cannot be refactored and moved to
the cloud, consider implementing APIs as a facade or adapter layer. Each consumer
can then invoke these modern APIs to retrieve information from the backend instead
of implementing functionality to communicate using outdated protocols and
disparate interfaces.
Q13 You have to implement a solution that allows the Human Resources (HR) system to
reliably notify other departmental services that a new employee has been hired
without having to directly connect your application to all of the other services. What
Google service should you use? (Choose 1)
A Apigee Edge
B Dataflow
C Pub/Sub
D Cloud Connector
Feedback: Pub/Sub is a real-time messaging service that allows you to capture data
and rapidly pass massive amounts of messages between other Google Cloud
services and other software applications. One of the primary use cases for inter-app
messaging is to ingest streaming event data.
Q14 You need to implement a big data analytics platform in the cloud. Into which phase
of the common big data processing model would you place Pub/Sub?
(Choose 1)
A Store
B Ingest
C Process
D Analyze
Feedback: Within the common big data processing model, Pub/Sub is found in the
Ingest phase.
Q15 You want to deploy and manage an API using Cloud Endpoints. Which application
management tasks will Cloud Endpoints help you with ? (Choose 2)
A Application sizing
B Data protection
C Interface definition
D Asynchronous messaging
Feedback: When deploying and managing APIs on your own you should consider the
language or format you will use to describe the interface, how you will authenticate
services and users who invoke your API, how you will ensure that your API scales to
meet demand, and whether your infrastructure log details API invocations and
provides monitoring metrics.
Q16 You need an application that will send notifications to remote applications that will
be offline for extended periods of time. What solution can you implement that will
guarantee that the remote applications will receive the notifications when they come
back online? (Choose 1)
A Cloud API
B Cloud Edge
C Pub/Sub
D Cloud Endpoint
Feedback: Pub/Sub acts as a buffer between sending and receiving across software
applications, which makes it easier for developers to connect applications. For
example, Pub/Sub can be used to guarantee that messages get delivered swiftly to
online applications as well as offline applications, when they come back online.
Q17 [LAB - Cloud Endpoints: Qwik Start] You want to utilize Cloud Endpoints to create
and manage your REST API. What action must you take to achieve this? (Choose 1)
C Create the configuration file using gRPC and upload to the Cloud SDK library.
D Deploy the API's OpenAPI configuration using a service account to Google Apps
Script API.
Q18 [LAB - Cloud Endpoints: Qwik Start] You are managing your API using Cloud
Endpoints. The activity logs in Cloud Logging indicate that a single client is
excessively calling the API. What action can you take to alleviate this? (Choose 1)
Feedback: Cloud Endpoints lets you set quotas so you can control the rate at which
applications can call your API. Quotas can be used to protect your API from
excessive usage by a single client. After you deploy an updated Endpoints
configuration, it becomes active within a minute.
Q19 [LAB - Cloud Endpoints: Qwik Start] You are creating a Cloud Endpoints
configuration file for your API. What is the unique identifier that you manually set
which will be used to identify the name of the service? (Choose 1)
A host
B info.title
C operationId
D info.version
Feedback: Cloud Endpoints uses the name you configure in the host field of your
OpenAPI document as the name of your service. The name of your API service must
be unique on Google Cloud. Because Endpoints uses DNS-compatible names to
identify services, Google recommends that you use your API's domain name or
subdomain name as the service name.
Q20 [LAB - Google Cloud Pub/Sub: Qwik Start - Python] You are configuring a Pub/Sub
instance. What should a subscriber do when they receive a message from a
Subscription? (Choose 1)
D Acknowledge each message and move the message to the Ack store.
Q1 Which statement regarding Google Cloud and data encryption is accurate? (Choose
1)
Feedback: Google encrypts data at rest and in transit by default. The customer can
also encrypt data with customer managed or customer supplied keys.
Q2 When comparing on-premises, IaaS, PaaS, and managed services, which option
requires the least amount of work for the user in terms of security? (Choose 1)
A IaaS
B Managed service
C On-premises
D PaaS
Feedback: Managed services usually also manage some of the security burden rather
than the user.
Q3 True or False. Managing Google Cloud users through Google Groups allows an
administrator to manage team identities centrally.
A True
B False
Feedback: The answer is False. With Google Groups, if someone leaves the
organization or team there’s no centralized way to remove their access to the cloud
resources immediately. Google Cloud users who are also Google Workspace users
can be managed centrally through the Google Admin Console. Alternatively, Cloud
Identity can be used for non-Workspace users.
Q4 What is the main purpose of a service account? (Choose 1)
A Folders
B Groups
C Organizations
D Projects
Feedback: Basic roles, such as Owner, Editor, and Viewer, apply to projects and
services.
A True
B False
Feedback: The answer is False. The basic roles are Owner, Editor, Viewer, and Billing
Administrator.
Q7 When setting up user/role pairings in Google Cloud, which of the following is true?
(Choose 1)
D Permissions are inherited and the least restrictive permission will be inherited.
Feedback: Google Cloud uses an inherited permission model. The user will always
get the least restrictive permission when inherited.
Q8 What service is used to supply encryption keys when users want to manage their
own keys? (Choose 1)
A Cloud HSM
D The customer must bring their own keys and manage them.
Feedback: Cloud KMS creates encryption keys in the cloud for customers to manage.
A True
B False
Feedback: The answer is True. IAP lets you establish a central authorization layer for
applications over TLS, so you can use an application-level access control model
instead of relying on network-level firewalls.
Q10 There are a number of best practices that should be applied to identity and access
management. Which of the following does Google recommend? (Choose 1)
Q11 You want to generate your own encryption keys that will be used for securing the
data used by an application which will be deployed to Google Cloud. Which Google
service allows you to provide the encryption keys as part of your application’s Google
Cloud API calls? (Choose 1)
Feedback: Customer-supplied encryption keys give users more control over their
keys, but with greater management complexity. With CSEK, users use their own
AES-256-bit encryption keys. They are responsible for generating these keys.
Users are responsible for storing the keys and providing them as part of Google
Cloud API calls.
Q12 You are migrating an application from your physical infrastructure where you are
responsible for security, to a Google-managed services solution. Which layers of
security are you now responsible for? (Choose 2)
A Usage
B Network
C Content
D Operations
E Audit Logging
Feedback: Google handles many of the lower layers of security like physical security,
disk encryption, and network integrity. The upper layers of the security stack –
including the securing of data – remain the customers’ responsibility.
Q13 You want to encrypt your data and utilize a managed service in addition to the
standard encryption process. Which service can you choose that will manage your
keys and provide asymmetric key support? (Choose 1)
A App Engine
B Identity-Aware Proxy
Q14 You want to define a custom IAM role named instanceOperator. The role will only be
able to start and stop instances, not delete them. Which level can the role be applied
at? (Choose 1)
A Folder
B Resource
C Organization
D Compute Engine
Feedback: Custom roles can only be applied at the project and organization levels.
Q15 You want to map users and groups from your Microsoft Active Directory domain to a
Cloud Identity domain. What action should you take to achieve this? (Choose 1)
Feedback: Cloud Directory Sync synchronizes users and groups from an existing
Active Directory or LDAP system mapping the users and groups in a Cloud Identity
domain.
Q16 You have five virtual machines in a project utilizing service accounts. You need to
change the permissions of a service account from objectViewer to Editor on two
virtual machines. What action should you take to accomplish this? (Choose 1)
Feedback: You can grant virtual machines different identities. This makes it easier to
manage different permissions across your applications. You also can change the
permissions of the service accounts without having to recreate the VMs.
Q17 [User Authentication: Identity-Aware Proxy] You want to control access to your
cloud applications running on Google Cloud. You want to intercept web requests sent
to your application, authenticate the user making the request and only let through the
requests if they come from a user you authorize. What solution can you deploy?
(Choose 1)
A Apigee
B App Engine
D Identity-Aware Proxy
Feedback: Identity-Aware Proxy (IAP) controls access to your cloud applications and
VMs running on Google Cloud. IAP works by verifying user identity and context of the
request to determine if a user should be allowed to access an application or a VM.
Q18 [User Authentication: Identity-Aware Proxy] You are configuring the Identity-Aware
Proxy using the Cloud Console. This is the first time you have enabled an
authentication option for this project. What action must you take? (Choose 1)
Feedback: The first time you enabled an authentication option for a project, you will
see a message to configure your OAuth consent screen before you can use the
Identity Aware-Proxy.
Q19 [User Authentication: Identity-Aware Proxy] You want to ensure that the user identity
information your app receives is valid so that you can prevent spoofing even if the
Identity Aware-Proxy is bypassed. What can you configure in order to achieve this?
(Choose 1)
A Request headers
B Assertion headers
C Cryptographic verification
D Two-factor authentication
Feedback: If there is a risk of the Identity Aware-Proxy (IAP) being turned off or
bypassed, your app can check to make sure the identity information it receives is
valid. This uses a third web request header added by IAP, called X-Goog-IAP-JWT-
Assertion. The value of the header is a cryptographically signed object that also
contains the user identity data. Your application can verify the digital signature and
use the data provided in this object to be certain that it was provided by IAP without
alteration.
Module 7: It Helps to Network
A A VPN connection.
A True
B False
Feedback: The answer is False. The types of VPCs are Default, Auto, and Custom.
Q3 True or False. Virtual private clouds (VPCs) are global and subnets are zonal.
A True
B False
A 32
B 256
C 1024
D 65556
Feedback: A /24 network has 256 IP addresses. The /24 in this example dictates how
many IP addresses are available. Adding 1 to this number will cut the number of IP
addresses available in half.
Feedback: A route provides a path for data to flow. Every subnet in a VPC will also
have a route.
D Firewall rules allow all inbound traffic but denies outbound traffic by default.
Q7 Your instance needs a public IP address that won't change if the instance is
shutdown and restarted. Which of the following is the best option? (Choose 1)
C Can’t be done. Have users point to the server via DNS name.
D Reserve a public static IP address from Google and assign it to the instance.
Q8 Which load balancing option can be used if you want to distribute web traffic to two
applications in different parts of the world? (Choose 1)
A HTTP(S) Load Balancer
Feedback: HTTP(S) load balancers can distribute web traffic to multiple regions that
are geographically separated.
Q9 What option would you choose to create a private dedicated 10 GB/s link between
Google Cloud and your data center? (Choose 1)
A Cloud Interconnect
B Peering
C VPC sharing
D VPN
Q10 You want to create a single location to control traffic to all the virtual private clouds
(VPCs) in your organization. What is the best option? (Choose 1)
A Cloud Interconnect
B Peering
C Shared VPC
D VPC peering
Feedback: Shared VPC allows for a central point of control for all VPCs in an
organization.
Q11 You want to create two virtual machines in different regions, but in the same project.
You want them to be able to communicate directly with each other. What action
must you take? (Choose 1)
Feedback: Virtual machines that are in different regions but in the same VPC can
communicate privately.
Q12 You want to utilize auto subnet mode when creating a network. The broadest prefix
that you can use is /16 when expanding your network. Why is this the case?
(Choose 1)
C A broader prefix cannot be created as auto subnet created networks are legacy
networks.
D A broader prefix would conflict with the primary IP ranges of other automatically
created subnets.
Feedback: When expanding the IP range in an auto mode network, the broadest prefix
you can use is /16. Any prefix broader than /16 would conflict with the primary IP
ranges of other automatically created subnets. Due to its limited flexibility, an auto
mode network is better suited to isolated use cases, such as proof of concepts,
testing, and so on.
Q13 You are using custom subnet mode to create a range of subnets. Which subnet
range will allow you to use 65,536 IP addresses? (Choose 1)
A /16
B /17
C /24
D /25
Feedback: a /16 network has 65,536 IP addresses. The /16 in this example dictates
how many IP addresses are available.
Q14 You have created two networks, Network A and B. Network A contains a route to
Network B. Currently all 50 of the virtual machines connected to Network A can use
the route. You want to limit this number to three. How can you achieve this? (Choose
1)
D Create a firewall rule to only allow ingress traffic for the three VMs.
Feedback: Network tags are text attributes you can add to Compute Engine VM
instances. Tags allow you to make firewall rules and routes applicable to specific VM
instances.
Q15 You have accidentally deleted your firewall rules. What rule is now applied to ingress
traffic? (Choose 1)
A Deny all
B Allow all
C Source Only
D Destination Only
Feedback: If all firewall rules in a network are deleted, there is still an implied "Deny
all" ingress rule and an implied "Allow all" egress rule for the network.
Q16 You have successfully created VPC Network Peering between network1 and
network2. Network3 is connected to network1. Why is network2 not able to see
traffic on network3? (Choose 1)
Feedback: When using VPC Network Peering only directly peered networks can
communicate, meaning that transitive peering is not supported.
Q17 [LAB - VPC Networking Fundamentals] You are configuring VPC Networking in the
Cloud Console. You navigate to VPC network > VPC networks and find the default
network. What is each subnet associated with? (Choose 1)
C Each subnet is associated with a Google Cloud region and a private RFC 1918 CIDR
block.
D Each subnet is associated with a range of static IP addresses and a random RFC
1918 CIDR block.
Feedback: The default network has a range of subnets. Each subnet is associated
with a Google Cloud region and a private RFC 1918 CIDR block for its internal IP
addresses range and a gateway.
Q18 [LAB - VPC Networking Fundamentals] You want to create a route to allow compute
instances in your VPC to connect to the internet. You navigate to VPC network >
Routes in the Cloud Console. You see a range of routes all labelled ‘default-route’ and
a route for the default route to the internet. How are these routes managed? (Choose
1)
Feedback: Route information displays a route for each subnet and one for the Default
Internet Gateway. These routes are managed for you but you can create custom
static routes to direct some packets to specific destinations. For example, you can
create a route that sends all outbound traffic to an instance configured as a NAT
gateway.
Q19 [LAB - VPC Networking Fundamentals] You want to create a firewall rule to allow
communication between your services running inside your VPC and remote systems
on the internet. You navigate to VPC network > Firewall rules in the Cloud Console.
How many firewall rules are there for the default network? (Choose 1)
A None
Feedback: There are four Ingress firewall rules for the default network. These firewall
rules allow ICMP, RDP, and SSH ingress traffic from anywhere (0.0.0.0/0) and all
TCP, UDP and ICMP traffic within the network (10.128.0.0/9).
Q20 [LAB - VPC Networking Fundamentals] You want to create a new virtual machine
using the default settings. When you click 'Create' the following message is
displayed: "The following tabs have errors: Networking." and "No local network
available." Why is this? (Choose 1)
Feedback: If the default VPC network is deleted then you cannot create a virtual
machine instance. You will see errors in the Networking tab under Network interface
stating that “No local network is available.”
Q21 [LAB - VPC Networking Fundamentals] You are creating a new VPC network. You
give the network a name and then choose ‘Automatic’ for the Subnet creation mode.
Where will the subnets be created? (Choose 1)
A In each zone.
B In each region.
Feedback: When an auto mode VPC network is created, one subnet from each region
is automatically created within it. These automatically created subnets use a set of
predefined IP ranges that fit within the 10.128.0.0/9 CIDR block. As new Google
Cloud regions become available, new subnets in those regions are automatically
added to auto mode VPC networks by using an IP range from that block.
Q22 [LAB - VPC Networking Fundamentals] You have created a virtual machine using
default settings and want to ping it to test network communication. Which firewall
rule will allow you to ping the external IP of the virtual machine successfully?
(Choose 1)
A default-allow-rdp
B default-allow-ssh
C default-allow-icmp
D default-allow-internal
Feedback: The firewall rule ‘default-allow-icmp’ allows ingress ICMP traffic from any
source to any instance in the network. This rule has a priority of 65534, and it
enables tools such as ping.
Q23 [LAB - VPC Networking Fundamentals] You are creating a new VPC network. You
check all available rules but notice that the rules ‘deny-all-ingress’ and ‘allow-all-
egress’ which cannot be selected have a higher integer priority value then the other
default allow rules. What effect will this have on network traffic? (Choose 1)
C Rules that have a higher source IP range will always be considered first.
D Rules that have an Action value of Allow will always be considered first.
Feedback: The ‘deny-all-ingress’ and ‘allow-all-egress’ rules are also displayed, but
you cannot check or uncheck them as they are implied. These two rules have a lower
Priority (higher integers indicate lower priorities) so that the allow ICMP, internal,
RDP and SSH rules are considered first.
Q24 [LAB - VPC Networking Fundamentals] You have created a virtual machine instance.
You configure your account to use OS Login to SSH into the virtual machine. Where
does Compute Engine store the generated SSH key? (Choose 1)
Feedback: After you connect for the first time, Compute Engine generates an SSH key
pair for you and stores it in one of the following locations. By default, Compute
Engine adds the generated key to project or instance metadata. If your account is
configured to use OS Login, Compute Engine stores the generated key with your user
account.
Q25 [Multiple VPC Networks] You execute the following command in Cloud Shell: 'gcloud
compute networks create privatenet --subnet-mode=custom'. How will the subnets
be created? (Choose 1)
Feedback: A network must have at least one subnet before you can use it. Auto mode
VPC networks create subnets in each region automatically. Custom mode VPC
networks start with no subnets, giving you full control over subnet creation. You can
create more than one subnet per region.
Q26 [VPC Networks - Controlling Access] Your virtual machine is using a service account
that has been granted the cloudfunctions.admin role. You are connected to the
virtual machine using SSH and attempt to delete a firewall rule. You receive the error
'Insufficient Permission'. Which additional role should you grant to the service
account to allow you to delete firewall rules? (Choose 1)
A role/viewer
B Network Admin
C Security Admin
D iam.securityReviewer
Feedback: The following roles are used in conjunction with single-project networking
to independently control administrative access to each VPC Network: Network
Admin: Permissions to create, modify, and delete networking resources, except for
firewall rules and SSL certificates. Security Admin: Permissions to create, modify,
and delete firewall rules and SSL certificates.
Q27 [LAB - HTTP Load Balancer with Cloud Armor] You require a solution that will restrict
or allow access to your HTTP(S) load balancer at the edge of the Google Cloud to
prevent malicious traffic from consuming resources? What solution should you
deploy? (Choose 1)
A Firebase
B Firestore
Feedback: Google Cloud Armor IP deny/allow rules enable you to restrict or allow
access to your HTTP(S) load balancer at the edge of the Google Cloud, as close as
possible to the user and to malicious traffic. This prevents malicious users or traffic
from consuming resources or entering your virtual private cloud (VPC) networks.
Q28 [LAB - HTTP Load Balancer with Cloud Armor] You are configuring ingress firewall
rules to allow HTTP traffic to backend instances. What source IP range should be
included to specify all networks? (Choose 1)
A 127.0.0.1
B 0.0.0.0/0
C 255.255.255.255
D 192.168.1.255/24
Feedback:The Source IP ranges field is used to define the source for incoming traffic
by IP address ranges. Use 0.0.0.0/0 for a source from any network.
Q29 [LAB - HTTP Load Balancer with Cloud Armor] You have configured HTTP(S) Load
Balancing to handle IPv6 and IPv4 addresses for client traffic. Where are the IPv6
requests terminated? (Choose 1)
Feedback: HTTP(S) Load Balancing supports both IPv4 and IPv6 addresses for client
traffic. Client IPv6 requests are terminated at the global load balancing layer, then
proxied over IPv4 to your backends.
Q30 [LAB - HTTP Load Balancer with Cloud Armor] You want to create a group of
identical virtual machines from an existing template. These will be used to create
backends for a HTTP load balancer. Which type of instance group should you create?
(Choose 1)
Q31 [LAB - Create an Internal Load Balancer] You want to distribute TCP/UDP based
traffic among virtual machine instances in the same region in a Virtual Private Cloud
(VPC) network using an internal load balancer. How is load balancing traffic
distributed among the virtual machine instances? (Choose 1)
Feedback: Internal TCP/UDP Load Balancing is a regional load balancer that enables
you to run and scale your services behind an internal load balancing IP address that
is accessible only to your internal virtual machine (VM) instances. Internal TCP/UDP
Load Balancing distributes traffic among VM instances in the same region in a
Virtual Private Cloud (VPC) network by using an internal IP address.
Q32 [LAB - Create an Internal Load Balancer] You want to create an internal load
balancer to distribute traffic among a number of internal web services. In the Cloud
Console, you navigate to Network services > Load balancing. Which option will allow
you to create an internal load balancer. (Choose 1)
A Cloud NAT
B Traffic Director
Feedback: Choosing Only between my VMs makes this load balancer internal. This
choice requires the backends to be in a single region (us-central1) and does not
allow offloading TCP processing to the load balancer.
Module 8: Let Google Keep an Eye on Things
Q1 True or False. Cloud Deployment Manager allows you to specify all the resources
needed for your application in a declarative format using YAML.
A True
B False
D Google has a team of engineers available to support third-party, open source IaC
tools.
Feedback: Google has a team of engineers dedicated to ensuring that Google Cloud
support is also available for third-party, open source IaC tools.
Q4 Which service of Google Cloud’s operations suite provides visibility of the uptime and
overall performance of your app? (Choose 1)
A Cloud Debugger
B Cloud Logging
C Cloud Monitoring
D Cloud Trace
Feedback: Cloud Monitoring provides insight into how your applications are
performing.
Q5 What is the operations service that will store, search, and analyse log files? (Choose
1)
A Cloud Debugger
B Cloud Logging
C Cloud Monitoring
D Cloud Trace
Feedback: The Cloud Logging service allows you to store, search, and analyse log
files
Q6 True or False. Google Cloud’s operations suite are partner product services that are
easily installed through the Cloud Console.
A True
B False
Feedback: The answer is False. The services provided through Google Cloud’s
operations suite are Google solutions.
Q7 You want to automatically perform a test every 5 minutes to ensure your public web
servers are up and running. Which of the following is the best option? (Choose 1)
C When a web server goes down, have it send a log entry to Cloud Logging to alert on
the outage.
D Create an uptime check in Cloud Monitoring to periodically test if the web servers
are reachable.
D To count, analyze, and aggregate crashes in running cloud services in real time.
Feedback: Error Reporting counts, analyzes, and aggregates the crashes in your
running cloud services in real time
Feedback: With Cloud Trace, you can inspect detailed latency information for a single
request or view aggregate latency for your entire application.
Feedback: Cloud Debugger allows you to inspect the state of a running application in
real time, without stopping or slowing the application down.
Q11 You want to use Cloud Deployment Manager to deploy your templates. Which
languages can you use to create your templates? (Choose 2)
A Ruby
B Bash
C Jinja2
D Python
E Javascript
Feedback: A template file is written in either Python or Jinja2. The Cloud Deployment
Manager system will interpret each template recursively and inline the results within
the configuration file. The interpretation of each template eventually results in the
same YAML syntax for resources as that defined for the configuration file itself.
Q12 You want to use Cloud Deployment Manager to specify all the resources needed for
your application using declarative language. How will Deployment Manager deploy
your application? (Choose 1)
A It will take your configuration and figure out the steps to take to deploy it.
B It will prompt you at each stage for your input to ensure the application is built
correctly.
C It will require you to deploy the basic infrastructure then deploy the application to it.
D It will create a configuration file for you to edit. You must validate the configuration
file before building the application.
Feedback: Many tools use an imperative approach, requiring the user to define the
steps to take to create and configure resources. Cloud Deployment Manager uses a
declarative approach, allowing the user to specify what the configuration should be
and let the system figure out the steps to take.
Q13 You require a way to analyse the performance of CPU or memory-intensive functions
executed across an application. The solution must not slow down code execution
when carrying out the analysis. Which solution should you use? (Choose 1)
A Cloud Trace
B Cloud Logging
C Cloud Profiler
D Cloud Monitoring
Q14 [LAB - Monitoring Multiple Cloud Projects with Cloud Monitoring] You want to use
Cloud Monitoring to define and monitor a group of nginx virtual machine instances.
You name the group 'DemoGroup' in Cloud Monitoring. How will Cloud Monitoring
dynamically evaluate which resources are a part of the DemoGroup when creating
the group? (Choose 1)
Feedback: In Cloud Monitoring the Criteria is a set of rules that will dynamically
evaluate which resources should be part of this group. Cloud Monitoring dynamically
determines which resources belong to your group based on the filter criteria that you
set up.
Module 9: You Have the Data, but What Are You Doing with It?
Q1 Which of the following is a managed solution to run Spark, Pig, Hive, and MapReduce
in a batch environment with a managed cluster? (Choose 1)
A Dataflow
B Dataprep
C Dataproc
D Cloud Runner
Feedback: Dataproc is a managed Hadoop Cluster where customers can run their
Spark, Hive, Pig, and MapReduce environments
Q2 You want to make your Dataproc cluster disposable while keeping your data safe.
Which of the following is the best option? (Choose 1)
Feedback: Cloud Storage can be used as a replacement for the HDFS. In this
example, the cluster can be destroyed without losing data.
Q3 You are in need of a service that can process both streaming and batch data, but you
don’t want to manage the infrastructure. Which of the following is the best solution?
(Choose 1)
A BigQuery
B Dataflow
C Dataprep
D Dataproc
Feedback: Dataflow is a managed service that can process both batch and streaming
data.
A True
B False
A C++
B Java
C PHP
D Python
E Ruby
Q6 Google provides quick start templates for Dataflow. Why would you use them?
(Choose 1)
Feedback: Google provides quick start templates for Dataflow to allow you to rapidly
deploy a number of useful data pipelines without requiring any Apache Beam
programming expertise.
Q7 Select the service that is a managed data warehouse in Google Cloud. (Choose 1)
A BigQuery
B Cloud Bigtable
C Datastore
D Cloud SQL
Feedback: BigQuery is a fully managed data warehouse and analytics engine. The
user will never have to build servers or manage storage to make use of BigQuery.
Q9 What service leverages the Apache Beam SDK to perform ETL operations?
(Choose 1)
A Dataflow
B Dataprep
C Dataproc
D Firestore
Feedback: Dataflow leverages the Apache Beam SDK to build pipelines to perform
ETL operations on batch and streaming data.
Q10 True or False. Data can be loaded into BigQuery using the BigQuery Web UI, the
BigQuery API, or the BQ command line.
A True
B False
Feedback: The answer is True. BigQuery is a fully managed data warehouse and
analytics engine. The user will never have to build servers or manage storage to
make use of BigQuery. Loading data into the data warehouse can be easily
completed by using the Cloud Console, The BigQuery REST based APIs, or through
the use of the BigQuery command line (bq)via the SDK.
Q11 You need to create a cluster to carry out nightly batch processing. You only want to
pay for the time spent carrying out the processing, not idle time. Which solution
should you choose? (Choose 1)
A App Engine
B Cloud Build
C Dataproc
D Datastore
Feedback: Dataproc is a managed Spark and Hadoop service that lets you take
advantage of open source data tools for batch processing, querying, streaming, and
machine learning. Dataproc automation helps you create clusters quickly, manage
them easily, and save money by turning clusters off when you don't need them.
Q12 You have a dedicated on-premises cluster which stores and processes logs with
MapReduce. You process 100 gigabytes of data per day from several sources and
store them on the server. You want to move these functions to Google Cloud to
remove dedicated hardware costs, reduce processing time, and store the data
offsite. Which solutions can you utilize to achieve this? (Choose 2)
A App Engine
B Cloud Storage
C Cloud Function
D Dataproc
E Compute Engine
Feedback: Cloud Storage can be used to store the data that was previously stored on
the server and is a low-cost effective storage option. An ephemeral Dataproc cluster
can be created in less than 2 mins. Data is processed with existing MapReduce.
Q13 You want to perform MapReduce operations. You do not have any specific Hadoop
package dependencies. However, you prefer to have a hands-on approach to
operations and want to create the clusters needed to perform ETL jobs. Which
solution should you choose? (Choose 1)
A BigQuery
B Dataflow
C Dataprep
D Dataproc
Feedback: Both Dataproc and Dataflow can perform MapReduce operations. The
biggest difference between them is that Dataproc works similarly to how Hadoop
would work in the physical infrastructure. You would still create a cluster of servers
to perform the ETL jobs. In the case of Dataflow, the process is serverless.
Q14 You are migrating your SQL database to BigQuery. Currently, you manage user
access using SQL GRANT and REVOKE to enforce database security. What do you
now need to use in order to manage user access? (Choose 1)
Q15 You want to use BigQuery to analyze business events in real time. You are unsure of
the amount of upfront storage resources you might need to provision and how much
CPU and RAM will be required to carry out the analysis. What action will you need to
take to ensure you have enough resources? (Choose 1)
A BigQuery will notify you when you need to add additional resources.
Feedback: Users don't need to provision resources before using BigQuery, unlike
many RDBMS systems. BigQuery allocates storage and query resources dynamically
based on usage patterns.
Q16 You need to schedule recurring data loads from Cloud Storage to BigQuery and
automate data movement from SaaS applications on a managed basis. How can you
achieve this? (Choose 1)
C Import data on a daily basis using the Cloud Storage API tool.
D Create a script to pull data from Cloud Storage and push it to BigQuery.
Feedback: The BigQuery Data Transfer Service for Cloud Storage allows you to
schedule recurring data loads from Cloud Storage to BigQuery. It also automates
data movement from a range of SaaS applications to BigQuery on a scheduled,
managed basis. The BigQuery Data Transfer Service is accessed through the Cloud
Console, the BigQuery web UI, the bq command-line tool, or the BigQuery Data
Transfer Service API.
Q17 [LAB - Dataflow: Qwik Start - Templates] You want to use a Dataflow template to
allow you to stage your pipelines on Cloud Storage and run them from a variety of
environments. You choose the Pub/Sub to BigQuery template that will read
messages from a Pub/Sub topic and push them to a BigQuery table. What message
format does this template use? (Choose 1)
A CSV
B XML
C Avro
D JSON
Q18 [LAB - Dataflow: Qwik Start - Templates] You are creating a job from a template
using Dataflow. In the Cloud Console you select the Pub/Sub Topic to BigQuery
template. In what format must you now enter the Pub/Sub input topic information?
(Choose 1)
A gs://MyBucket/topic
B projects/<project>/topics/<topic>
C (<project>:<dataset>.<table_name>)
D "regions/REGION/zones/ZONE/topics/TOPIC"
Feedback: Pub/Sub topic to read the input from information is entered in the format
of 'projects/<project>/topics/<topic>'
Module 10: Let Machines Do the Work
D Machine learning has to do with the theory and methods to build machines that think
and act like humans.
Feedback: Machine learning is a way to derive ‘predictive’ insights from data. You do
this using algorithms that are relatively general and applicable to a wide variety of
datasets.
A Spark ML at scale.
B Scikit-learn at scale.
Feedback: TensorFlow was developed by Google and has become the leading open-
source tool for building ML models.
Q3 True or False. Machine learning uses standard algorithms because it allows you to
use the same code on different datasets to generate different models.
A True
B False
Feedback: The answer is True. ML allows for the use of standard algorithms for
generating different models including classification, and linear regression models.
The same code can be used on different datasets promoting code reuse.
Q4 Which option would you select if you want to write your own model leveraging
Tensorflow in a managed environment? (Choose 1)
A AI Platform
B AutoML
C Dataproc
Feedback: AI Platform is a service that can manage resources for the ML models you
build using TensorFlow.
B Enables users with limited ML expertise to train models specific to their business
needs.
C Enables users with extensive ML expertise to train models specific to their business
needs.
D Enables users with limited ML expertise to deploy pre-trained models specific to their
business needs.
Q6 True or False. Facial detection and facial recognition are the key capabilities of the
Vision API used to detect what an image is and classify it.
A True
B False
Feedback: The answer is False. While facial detection can detect when a face
appears in photos, facial recognition isn’t supported and Google doesn’t store facial
detection information on any Google server.
Q7 There are two APIs that apply to speech. If you need to create a lifelike interaction
with users to support a customer service application, which of the two Speech APIs
would you use? (Choose 1)
A Speech-to-Text
B Text-to-Speech
Feedback: With the Text-to-Speech API, you can create lifelike interactions with users
that transform customer service, device interaction, and other applications.
Q8 True or False. The Cloud Translation API supports language detection in cases
where the source language is unknown.
A True
B False
Feedback: The answer is True. The Cloud Translation API can dynamically translate
text between thousands of language pairs. The Cloud Translation API lets websites
and programs to programmatically integrate with the translation service The Cloud
Translation API supports language detection even in cases where the source
language is unknown.
Q9 You have a requirement to identify parts of speech from unstructured text. Which of
the following machine learning APIs should you use for this purpose? (Choose 1)
B Speech-to-Text API
C Text-to-Speech API
Feedback: The Cloud Natural Language API can do syntax analysis, breaking down
sentences into tokens, identifying nouns, verbs, adjectives, and other parts of speech,
and figuring out the relationships among the words.
Q10 True or False. The Video Intelligence API only supports the annotation of MPEG4,
MP4, and AVI video formats.
A True
B False
Feedback: The answer is False. The Video Intelligence API is similar to the Vision
API, where it can perform a variety of actions including logo detection, facial
recognition, text discovery, except the Video Intelligence API can provide this same
feedback on video. The API supports the annotation of common video formats,
including MOV, MPEG4, MP4, and AVI.
Q11 You are using AI Platform to train and evaluate your model in the cloud. Which two
sets of data must you provide? (Choose 2)
A Groups
B Labels
C Insights
D Features
E Properties
Q12 You want to classify and detect images at scale. You want to achieve this by using a
machine learning (ML) framework designed for advanced users, so that you can use
your Python expertise to write your own computation code. Which ML option do you
need? (Choose 1)
A TensorFlow
B AutoML
Feedback: If you have data that fits in memory, pretty much any ML framework will
work. Once your datasets get larger these packages won’t work. You will need to
split your data into batches, and train. However, you will also need to distribute your
training over many machines.
Q14 You want to use AutoML to train high-quality models specific to your business needs.
What complex steps does AutoML simplify for you? (Choose 2)
A Deployment
B Data gathering
C ML model design
D Matrix multiplication
Feedback: AutoML simplies complex steps that are associated with custom ML
model building. Data pre-processing, ML model design, tuning of ML model
parameters, evaluation, deployment, and update.
Q15 You need to derive insights from images in the cloud for your business. You want to
utilize Google’s data labeling service so their team can help you annotate your
images, videos, and text. Which service should you use? (Choose 1)
A TensorFlow
Q16 You want to deploy a pre-trained machine language solution that allows customers
of a global delivery site to be able to submit queries in their local language via
webchat regarding their package. The staff in London must be able to read all the
queries in English. What API should you deploy? (Choose 1)
A Vision API
B Speech API
Feedback: Translation API’s pre-trained model supports more than one hundred
languages, from Afrikaans to Zulu. When you don’t know your source text language
for instance, in user-generated content that doesn’t include a language code, Cloud
Translation API automatically identifies languages with high accuracy.
Q17 You need a solution that can extract text from scanned documents or images with
text. You want the data to be available in a wide range of languages and searchable.
What solution can you utilize to achieve this? (Choose 1)
B Vision API
Feedback: The Vision API takes images with text, like scanned documents or signs
and uses optical character recognition, or OCR, to extract the text of a wide range of
languages into a selectable, searchable format.
Q18 [LAB - AI Platform: Qwik Start] You want to use AI Platform to build a wide and deep
model for predicting income categories based on an income dataset. What does this
type of model use to learn high-level abstractions about complex features? (Choose
1)
B Dynamic networks
Feedback: Wide and deep models use deep neural nets (DNNs) to learn high-level
abstractions about complex features or interactions between such features. These
models then combine the outputs from the DNN with a linear regression performed
on simpler features. This provides a balance between power and speed that is
effective on many structured data problems.
Q19 [LAB - AI Platform: Qwik Start] You need a way to visualize your machine learning
workflow. You want to visualize model graph data and plot quantitative metrics
about the execution of your graph to see how it behaves. Which tool allows you to
visualize this information? (Choose 1)
A TensorBoard
B Cloud Monitoring
D AI Platform Notebooks
Q20 [LAB - AI Platform: Qwik Start] You want to use your trained model for prediction.
You expect your trained model will be hit with many prediction requests in a short
period of time and you need a solution that will scale to service these requests.
What action can you take to be able to handle the demand? (Choose 1)
A Deploy your trained model to Cloud Monitoring.
Feedback: To support prediction you should deploy your trained model to AI Platform
to serve online prediction requests. You get the benefit of scalable serving, which is
useful if you expect your trained model to be hit with many prediction requests in a
short period of time.
Q21 [LAB - Classify Images of Clouds in the Cloud with AutoML Vision] You are creating
a new dataset of images using AutoML Vision. Using the Cloud Console, how do you
import files if you want to build a custom model? (Choose 2)
Feedback: To build a customer model, you first need to import a set of images to
train it. Each image should be categorized with a label. You can upload images from
your computer or select a CSV file on Cloud Storage.
Q22 [LAB - Classify Images of Clouds in the Cloud with AutoML Vision] You are creating
a new dataset using AutoML Vision in your production environment. You have
created a label using the Cloud Console and now need to upload images. What is the
minimum number of images you need to supply for each label to ensure that your
model is accurate? (Choose 1)
A 20
B 100
C 200
D 5000
Feedback: If you are building a production model, you want at least 100 images per
label to ensure high accuracy.
Q23 [LAB - Classify Images of Clouds in the Cloud with AutoML Vision] You are training
a new model using AutoML Vision. You have over 30,000 images. You set a node
hour budget of 80 hours maximum in the Cloud Console. Your model stops
improving after 60 hours. This is the first time you have trained a model for this
billing account. How many node hours will you be charged for? (Choose 1)
A 20
B 60
C 80
D None