1_Core Infrastructure
Choose a simple way to let VPN into your Google VPC continue to work in spite of routing changes. A. Cloud Router B. Carrier Peering C. Direct Peering D. Dedicated Interconnect
A. Cloud Router
Order these IAM role types from broadest to finest-grained A. Primitive roles, predefined roles, custom roles B. Custom roles, predefined roles, primitive roles C. Predefined roles, custom roles, primitive roles
A. Primitive roles, predefined roles, custom roles
Does a cloud computing service let you scale your resource use up and down? A. Yes B. No
A. The cloud provider has a pool of resources and lets you use more or less on demand.
True or false: App Engine Flexible Environment applications let their owners control the geographic region where they run. A. True B. False
A. You get to choose which region your applications run in.
Which statement is true about billing for solutions deployed using Cloud Marketplace? A. You pay only for the underlying GCP resources you use, with the possible addition of extra fees for commercially licensed software B. You pay only for the underlying GCP resource you use; Google pays the license fees for commercially licensed software C. Cloud Marketplace solutions are always free D. After a trial period, each Cloud Marketplace solution assesses a fixed recurring monthly fee
A. You pay only for the underlying GCP resources you use, with the possible addition of extra fees for commercially licensed software
Which database service offers transactional consistency at a global scale? A. Cloud SQL B. Cloud Spanner
B. Cloud Spanner offers transactional consistency at global scale
Your company has two GCP projects, and you want them to share policies. What is the less error-prone way to set this up? A. Duplicate all the policies on one project onto the other B. Place both projects into a folder, and define the policies on the folder
B. Place both projects into a folder, and define the policies on the folder
Which compute service lets customers run virtual machines that run on Google's infrastructure? A. Cloud Functions B. Kubernetes Engine C. Compute Engine D. App Engine
C. Compute Engine
Does Google Cloud Platform offer its own tool for building containers (other than the ordinary docker command)? A. No; all customers use the ordinary docker command B. Yes. Kubernetes Engine customers must use the GCP-provided tool C. Yes; the GCP-provided tool is an option, but customers may choose not to use it
C. Yes; the GCP-provided tool is an option, but customers may choose not to use it
Name two uses cases for Google Cloud Dataflow. A. Reserved compute instances B. Manual resource management C. Extract, Transfrom, and Load (ETL) D. Orchestration
C., D
What is a Kubernetes cluster? A. A group of machines where Kubernetes can schedule workloads B. A group of containers that provide high availability for applications
A. A Kubernetes cluster is a group of machines where Kubernetes can schedule containers in pods. The machines in the cluster are called "nodes."
In Kubernetes, what does "pod" refer to? A. A group of containers that work together B. A group of clusters that work together C. A popular logging subsystem D. A popular management subsystem
A. A group of containers that work together
What is TensorFlow? A. A managed service for building machine learning models B. A managed service for building data pipelines C. A hardware device designed to accelerate machine learning workloads D. An open-source software library that's useful for building machine learning applications
A. A managed service for building machine learning models
Which of these storage needs is best addressed by Cloud Spanner? A. A relational database with SQL queries and horizontal scalability B. Structured objects, with lookups based on a single key C. Immutable binary objects D. Structured objects, with transactions and SQL-like queries
A. A relational database with SQL queries and horizontal scalability
True or False: All Google Cloud Platform resources are associated with a project. A. True B. False
A. All Google Cloud Platform resources are associated with a project
You want to do business analytics and billing on a customer-facing API. Which GCP service should you choose? A. Apigee Edge B. Cloud Endpoints
A. Apigee Edge
You want to gradually decompose a pre-existing monolithic application, not implemented in GCP, into microservices. Which GCP service should you choose? A. Apigee Edge B. Cloud Endpoints
A. Apigee Edge
Which of these criteria would make you choose App Engine Flexible Environment, rather than Standard Environment, for your application? A. Ability to ssh in B. Wider range of choices for application language C. Daily free usage quota D. Finer-grained scaling
A. App Engine Flexible Environment lets you ssh into the virtual machines in which your application runs., B. At the time of this writing, App Engine Standard Environment supports Java, Python, PHP, and Go, but in the Flexible Environment, you upload your own runtime to run code in a language of your choice.
True or false: App Engine is a better choice for a web application than for long-running batch processing. A. True B. False
A. App Engine will scale your application automatically in response to the amount of traffic it receives. That's why App Engine is especially suited for applications where the workload is highly variable, like a web application.
Why might a GCP customer use resources in several zones within a region? A. For improved fault tolerance B. For better performance
A. As part of building a fault-tolerant application, you can spread your resources across multiple zones in a region.
You manufacture devices with sensors and need to stream huge amounts of data from these devices to a storage option in the cloud. Which Google Cloud Platform storage option is the best choice for your application? A. Cloud Bigtable B. BigQuery C. Cloud Datastore D. Cloud Spanner
A. Cloud Bigtable
You want to support developers who are building services in GCP through API logging and monitoring. Which GCP service should you choose? A. Cloud Endpoints B. Apigee Edge
A. Cloud Endpoints
Which compute service lets customers supply chunks of code, which get run on-demand in response to events, on infrastructure wholly managed by Google? A. Cloud Functions B. Compute Engine C. Kubernetes Engine D. App Engine
A. Cloud Functions
Why would a developer choose to store source code in Cloud Source Repositories? A. To reduce work B. To have total control over the hosting infrastructure C. To keep code private to a GCP project
A. Cloud Source Repositories manages the hosting infrastructure for you., C. Cloud Source Repositories integrates with Google Cloud IAM.
What kind of customer benefits most from billing by the second for cloud resources such as virtual machines? A. Customers who create and run many virtual machines B. Customers who create many virtual machines and leave them running for months C. Customers who create too few virtual machines to get discounts D. Customers who create virtual machines running commercially licenses operating systems
A. Customers who create and run many virtual machines
Why might a GCP customer choose to use Deployment Manager? A. Deployment Manager is an infrastructure management system for GCP resources B. Deployment Manager enforces maximum resource utilization and spending limits on your GCP resources C. Deployment Manager is an infrastructure management system for Kubernetes pods D. Deployment Manager is a version control system for your GCP infrastructure layout
A. Deployment Manager is an infrastructure management system for GCP resources
Which database service presents a MySQL or PostgreSQL interface to clients? A. Cloud SQL B. Cloud Spanner
A. Each Cloud SQL database is configured at creation time for either MySQL or PostgreSQL. Cloud Spanner uses ANSI SQL 2011 with extensions.
When would you choose to have an organization node? A. When you want to create folders B. When you want to organize resources into projects C. When you want to apply organization-wide policies centrally D. There is no choice: organization nodes are mandatory
A. Folders require an organization node. Organization nodes are optional, but if you want to create folders, having one is mandatory, C. Organization nodes let you apply policies centrally. Organization nodes are optional, but if you want to define policies that apply to all the projects in your organization, having one is mandatory.
How do GCP customers and Google Cloud Platform divide responsibility for security? A. Google takes care of the lower parts of the stack, and customers are responsible for the higher parts B. All aspects of security are the customer's responsibility C. All aspects of security are Google's responsibility D. Google takes care of the higher parts of the stack, and customers are responsible for the lower parts
A. Google takes care of the lower parts of the stack, and customers are responsible for the higher parts
True or false: You can create Compute Engine virtual machines from the command line. A. True B. False
A. It's advantageous to create virtual machines from a command line when you want their configurations to be scripted and repeatable. The gcloud command, provided by Google Cloud as part of the GCP SDK, can create virtual machines with parameters you specify.
Which statement is true about Google VPC networks and subnets? A. Networks are global; subnets are regional B. Networks and subnets are global C. Networks are regional; subnets are zonal D. Networks are global; subnets are zonal
A. Networks are global; subnets are regional
What type of cloud computing service lets you bind your application code to libraries that give access to the infrastructure your application needs? A. Platform as a Service B. Infrastructure as a Service C. Software as a Service D. Hybrid cloud E. Virtualized data centers
A. Platform as a Service
You want to define alerts on your GCP resources, such as when health checks fail. Which is the best GCP product to use? A. Stackdriver Monitoring B. Stackdriver Debugger C. Cloud Functions D. Stackdriver Trace E. Deployment Manager
A. Stackdriver Monitoring
Which of these storage needs it best addressed by Cloud Datastore? A. Structured objects, with transactions and SQL-like queries B. Structured objects, with lookups based on a single key C. Immutable binary objects D. A relational database with SQL queries and horizontal scalability
A. Structured objects, with transactions and SQL-like queries
True or false: Google keeps Kubernetes Engine refreshed with successive versions of Kubernetes. A. True B. False
A. The Kubernetes Engine team periodically performs automatic upgrades of your cluster master to newer stable versions of Kubernetes, and you can enable automatic node upgrades too.
What is the main reason customers choose Preemptible VMs? A. To reduce cost B. To improve performance
A. The per-hour price of preemptible VMs incorporates a substantial discount.
Why might a GCP customer choose to use Cloud Functions? A. Their application contains event-driven code that they don't want to have to provision compute resources for B. Their application has a legacy monolithic structure that they want to break apart into microservices with little developer effort C. Cloud Functions is a free service for hosting compute operations D. Cloud Functions is the primary way to run Node.js applications in GCP
A. Their application contains event-driven code that they don't want to have to provision compute resources for
Which statement is true about objects in Cloud Storage? A. They are immutable, and new versions overwrite old unless you turn on versioning B. They can be edited in place C. They are immutable, and versioned by default D. They are immutable unless you turn on versioning
A. They are immutable, and new versions overwrite old unless you turn on versioning
How do VPC routers and firewalls works? A. They are managed by Google as a built-in feature B. Customers provision virtual machines and run their routers and firewalls in them C. They are managed by Google in virtual machines, which customers may tune or turn off D. They are managed by Google in virtual machines, which customers may never modify
A. They are managed by Google as a built-in feature
Why might a GCP customer use resources in several regions around the world? A. To bring their applications closer to users around the world, and for improved fault tolerance B. To improve security
A. To bring their applications closer to users around the world, and for improved fault tolerance
True for False: Google Cloud Platform provides a secure, high-speed container image storage service for use with Kubernetes Engine A. True B. False
A. True
True or False: Kubernetes allows you to manage container clusters in multiple cloud providers A. True B. False
A. True
True or false: Cloud Datastore databases can span App Engine and Compute Engine applications. A. True B. False
A. True
True or False: Google Cloud Load Balancing allows you to balance HTTP-based traffic across multiple Compute Engine regions. A. True B. False
A. With global Cloud Load Balancing, your application presents a single front-end to the world.
Name two use cases for Google Cloud Dataproc. A. Migrate on-premises Hadoop jobs to the cloud B. Data mining and analysis in datasets of known size C. Manage data that arrives in realtime D. Manage datasets of unpredictable size
A., B.
Service accounts are used to provide which of the following? A. A way to allow users to act with service account permissions B. Authentication between Google Cloud Platform services C. A set of predefined permissions D. A way to restrict the actions a resource (such as a VM) can perform
A., B. D.
Name 3 advantages of using the App Engine Flexible Environment over App Engine Standard. A. You can install third-party binaries B. Google provides automatic in-place security patches C. You can SSH into your application D. Your application can write to local disk E. Your application can execute code in background threads
A., C., D.
Name three uses for Cloud Pub/Sub. A. Decoupling systems B. Storage of binary web content C. Analyzing streaming data D. Internet of Things applications E. Executing ad-hoc SQL queries
A., C., D.
Your Cloud Storage objects live in buckets. Which of these characteristics do you define on a per-bucket basis? A. A geographic location B. An encryption-at-rest setting (on or off) C. A default storage class D. A globally-unique name E. A default file type for the objects in the bucket
A., C., D.
Consider a single hierarchy of GCP resources. Which of these situations is possible? A. There is an organization node, and there are no folders B. There is no organization node, but there is at least one folder C. There is no organization node, and there are no folders D. There are two or more organization nodes E. There is an organization node, and there is at least one folder
A., C., E.
How are Cloud Datastore and Cloud Bigtable alike? A. They are both NoSQL databases B. They both offer SQL-like queries C. They both have a free daily quota D. They are both highly scalable
A., D.
How do the Nearline and Coldline storage classes differ from Multi-regional and Regional? A. Nearline and Coldline assess lower storage fees B. Data in Nearline and Coldline is not retrievable immediately C. Nearline and Coldline use a differently-architected API D. Nearline and Coldline assess additional retrieval fees E. Nearline and Coldline have lower durability
A., D.
Identify two reasons for deploying applications using containers. A. Simpler to migrate workloads B. Tight coupling between applications and operating systems C. No need to allocate resources in which to run containers D. Consistency across development, testing, production environments
A., D.
Which statements are true about BigQuery? A. BigQuery is a good choice for data analytics warehousing B. BigQuery is a good choice for online transaction processing C. BigQuery requires that you provision database instances ahead of use D. BigQuery lets you run fast SQL queries against large databases E. Once in BigQuery, data is not accessible from other GCP services
A., D.
Name three use cases for the Google Cloud Machine Learning Platform. A. Content personalization B. Data preparation C. Query architecture D. Fraud detection E. Sentiment analysis
A., D., E
True or false: App Engine just runs applications; it doesn't offer any services to the applications it runs. A. True B. False
B. App Engine offers NoSQL databases, in-memory caching, load balancing, health checks, logging, and user authentication to applications running in it.
Where do the resources use to build Kubernetes Engine clusters come from? A. Bare-metal servers B. Compute Engine C. App Engine
B. Because the resources used to build Kubernetes Engine clusters come from Compute Engine, Kubernetes Engine gets to take advantage of Compute Engine's and Google VPC's capabilities.
You are building a small application. If possible, you'd like this application's data storage to be at no additional charge. Which service has a free daily quota, separate from any free trials? A. Cloud SQL B. Cloud Datastore C. Cloud Spanner D. Bigtable
B. Cloud Datastore
Which database service can scale to higher database sizes? A. Cloud SQL B. Cloud Spanner
B. Cloud Spanner can scale to petabyte database sizes, while Cloud SQL is limited by the size of the database instances you choose. At the time this quiz was created, the maximum was 10,230 GB.
You are developing an application that transcodes large video files. Which storage option is the best choice for your application? A. Cloud Spanner B. Cloud Storage C. Google Drive D. Cloud Datastore
B. Cloud Storage
True or false: Cloud Storage is well suited to providing the root file system of a Linux virtual machine. A. True B. False
B. Cloud Storage is object storage rather than file storage. Compute Engine virtual machines use Persistent Disk storage to contain their file systems.
To get resources from a cloud computing provider, is working with a person at the provider required? A. Yes B. No
B. Cloud computing resources are available on-demand and self-service. (An exception: cloud computing providers typically set some limits on the amount of resources a customer can consume by default, to help customers avoid accidental runaway resource usage and charges. These limits can be raised by the cloud provider.)
True or false: each container has its own instance of an operating system A. True B. False
B. Containers start much faster than virtual machines and use fewer resources, because each container does not have its own instance of the operating system.
Why would a customer consider the Coldline storage class? A. To save money on storing frequently accessed data B. To save money on storing infrequently accessed data C. To use the Coldline Storage API D. To improve security
B. Data stored in Coldline is billed at a low monthly storage rate, although a fee is assessed on retrievals.
Some developers think of Cloud Bigtable as a persistent hashtable. What does that mean? A. Each item in the database consists of exactly the same fields, and can be looked up based on a variety of keys B. Each item in the database can be sparsely populated, and is looked up with a single key
B. Each item in the database can be sparsely populated, and is looked up with a single key
True or false: Google manages every aspect of Google Cloud Platform customers' security. A. True B. False
B. Google Cloud Platform manages the lower layers of the security stack, such as physical security, and gives customers tools for managing the higher layers.
Where do your Kubernetes Engine workloads run? A. In clusters implemented using App Engine B. In clusters built from Compute Engine virtual machines C. In clusters implemented using Cloud Functions D. In clusters that are built into GCP, not separately manageable
B. In clusters built from Compute Engine virtual machines
What type of cloud computing service provides raw compute, storage, and network, organized in ways that are familiar from physical data centers? A. Database as a Service B. Infrastructure as a Service C. Software as a Service D. Platform as a Service
B. Infrastructure as a Service
Can IAM policies that are implemented higher in the resource hierarchy take away access that is granted by lower-level policies? A. Yes B. No
B. No
True or false: Each table in NoSQL databases such as Cloud Bigtable has a schema that is enforced by the database engine itself. A. True B. False
B. NoSQL databases such as Cloud Bigtable are suitable when all items in the database needn't have their integrity checked by a database schema. Why not? Maybe you want your database items to contain variable fields, or maybe because you simply want your application to manage database integrity.
True or False: In Google Cloud IAM: if a policy applied at the project level gives you Owner permissions, your access to an individual resource in that project might be restricted to View permission if someone applies a more restrictive policy directly to that resource. A. True B. False
B. Policies are a union of those applied on resource itself and those inherited from higher levels in the hierarchy. If a parent policy is less restrictive, it overrides a more restrictive policy applied on the resource. If a parent policy is more restrictive, it does not override a less restrictive policy applied on the resource. Therefore, access granted at a higher level in the hierarchy cannot be taken away by policies applied at a lower level in the hierarchy.
Choose the correct completion: Services and APIs are enabled on a per-_____ basis A. Folder B. Project C. Billing account D. Organization
B. Project
Which of these storage needs is best addressed by Cloud Bigtable? A. Immutable binary objects B. Structured objects, with lookups based on a single key C. Structured objects, with transactions and SQL-like queries D. A relational database with SQL queries and horizontal scalability
B. Structured objects, with lookups based on a single key
Which of these values is globally unique, permanent, and unchangeable, but chosen by the customer? A. The project's billing credit-card number B. The project ID C. The project number D. The project name
B. The project ID
How do Compute Engine customers choose between big VMs and many VMs? A. Use big VMs for fault tolerance and elasticity; use many VMs for in-memory databases and CPU-intensive analytics B. Use big VMs for in-memory databases and CPU-intensive analytics; use many VMs for fault tolerance and elasticity
B. Use big VMs for in-memory databases and CPU-intensive analytics; use many VMs for fault tolerance and elasticity
What is the advantage of putting event-driven components of your application into Cloud Functions? A. Cloud Functions means that processing always happens free of charge B. Cloud Functions handles scaling these components seamlessly
B. Your code executes whenever an event triggers it, no matter whether it happens rarely or many times per second. That means you don't have to provision compute resources to handle these operations.
Which statements are true about App Engine? A. App Engine requires you to supply or code your own application load balancing and logging services B. It is possible for an App Engine application's daily billing to drop to zero C. App Engine manages the hardware and networking infrastructure requires to run your code D. Developers who write for App Engine do not need to code their applications in any particular way to use the service E. App Engine charges you based on the resources you pre-allocate rather than based on the resources you use
B., C.
Chose fundamental characteristics of cloud computing. Mark all that are correct. A. Customers are required to commit to multi-year contracts B. Customers can scale their resource use up and down C. Customers pay only for what they use or reserve D. Providers always dedicate physical resources to each customer E. All resources are open-source-based F. Computing resources available on-demand and self-service G. Resources are available from anywhere over the network
B., C., F., G.,
Which statements are true about Stackdriver Logging? A. Stackdriver Logging requires that you store your logs in BigQuery or Cloud Storage B. Stackdriver Logging lets you view logs from your applications, and filter and search on them C. Stackdriver Logging lets you define uptime checks D. Stackdriver Logging lets you define metrics based on your logs E. Stackdriver Logging requires the use of a third-party monitoring agent
B., D.
Choose an application that would be suitable for running in a Preemptible VM. A. A batch job that cannot be checkpointed and restarted B. An online relational database C. A batch job that can be checkpointed and restarted D. An interactive website
C. A batch job that can be checkpointed and restarted
Which compute service lets customers focus on their applications, leaving most infrastructure and provisioning to Google, while still offering various choices of runtime? A. Compute Engine B. Kubernetes Engine C. App Engine D. Cloud Functions
C. App Engine
Your application needs to store data with strong transactional consistency, and you want seamless scaling up. Which storage option is the best choice for your application? A. Cloud Datastore B. Cloud Storage C. Cloud Spanner D. Cloud SQL
C. Cloud Spanner
Which of these storage needs is best addressed by Cloud Storage? A. Structured objects, with transactions and SQL-like queries B. Structured objects, with lookups based on a single key C. Immutable binary objects D. A relational database with SQL queries and horizontal scalability
C. Immutable binary objects
What is a Kubernetes pod? A. A group of clusters B. A groups of nodes C. A group of containers
C. In Kubernetes, a group of one or more containers is called a pod. Containers in a pod are deployed together. They are started, stopped, and replicated as a group. The simplest workload that Kubernetes can deploy is a pod that consists only of a single container.
Which compute service lets customers deploy their applications in containers that run in clusters on Google's infrastructure? A. App Engine B. Cloud Functions C. Kubernetes Engine D. Compute Engine
C. Kubernetes Engine
An application running in a Compute Engine virtual machine needs high-performance scratch space. Which type of storage meets this need? A. Standard persistent B. SSD persistent C. Local SSD D. Local standard
C. Local SSD
What is the difference between IAM primitive roles and IAM predefined roles? A. Primitive roles can only be granted to single users. Predefined roles can be associated with a group B. Primitive roles are changeable once assigned. Predefined roles can never be changed C. Primitive roles affect all resources in a GCP project. Predefined roles apply to a particular service in a project D. Primitive roles only allow viewing, creating, and deleting resources. Predefined roles allow any modification E. Primitive roles only apply to the owner of the GCP project. Predefined roles can be associated with any user
C. Primitive roles affect all resources in a GCP project. Predefined roles apply to a particular service in a project
Which statement is true about the zones within a region? A. Each zone corresponds to a single physical data center B. The zones within a region are never closer to each other than 160 km C. The zones within a region have fast network connectivity among them D. Customers must choose exactly one zone in each region in which to run their resources
C. The zones within a region have fast network connectivity among them
Why might a GCP customer choose to use Cloud Source Repositories? A. They don't want to host their own git instance, and they don't want to integrate with IAM permissions B. They want to host and manage their own git instance, and they want to integrate with IAM permissions C. They don't want to host their own git instance, and they want to integrate with IAM permissions D. They want to host and manage their own git instance, and they don't want to integrate with IAM permissions
C. They don't want to host their own git instance, and they want to integrate with IAM permissions
For what kind of traffic would the regional load balancer be the first choice? A. TCP traffic (non-SSL) on popular well-known port numbers B. TCP/SSL traffic on popular well-known port numbers C. UDP traffic D. TCP traffic on arbitrary port numbers
C., D.
Containers are loosely coupled to their environments. What does that mean? A. Containers package your application into equally sized components B. Containers don't require any particular runtime binary C. Deploying a containerized application consumes less resources and is less error-prone than deploying an application in virtual machines D. Containers are easy to move around E. Containers abstract away unimportant details of their environments
C., D., E.
Your application needs a relational database, and it expects to talk to MySQL. Which storage option is the best choice for your application? A. Bigtable B. Cloud Spanner C. Cloud Storage D. Cloud SQL
D. Cloud SQL
Which GCP storage service is often the ingestion point for data being moved into the cloud, and is frequently the long-term storage location for data? A. Cloud Spanner B. Cloud Datastore C. Local SSD D. Cloud Storage
D. Cloud Storage
For which of these interconnect options is a Service Level Agreement available? A. Direct Peering B. VPNs with Cloud Router C. Carrier Peering D. Dedicated Interconnect
D. Dedicated Interconnect
What does the Cloud Natural Language API do? A. It translates arbitrary strings into any supported language B. It performs sentiment analysis on audio and video content C. It extracts text in various languages from images D. It analyzes text to reveal its structure and meaning
D. It analyzes text to reveal its structure and meaning
Choose a fundamental characteristic of devices in a virtualized data center. A. They are available from anywhere on the Internet B. They use less resources than devices in a physical data center C. They are more secure D. They are manageable separately from the underlying hardware
D. They are manageable separately from the underlying hardware
A GCP customer wants to load-balance traffic among the back-end VMs that form part of a multi-tier application. Which load-balancing option should this customer choose? A. The regional load balancer B. The global SSL proxy C. The global HTTP(s) load balancer D. The global TCP proxy E. The regional internal load balancer
E. the regional internal load balancer