Google Cloud Platform Fundamentals: Core Infrastructure Quiz Answers

Here you will find Google Cloud Platform Fundamentals: Core Infrastructure Coursera course all quiz answers for free. Google Cloud Platform (GCP) is a product offered by Google. It is a suite of cloud computing services that runs on the same infrastructure that Google uses internally for its own products like Google Search, YouTube, Gmail, and Google Drive. Google Cloud works by providing client libraries that enable users to easily create and manage resources.

Google Cloud Platform provides serverless computing environments, infrastructure as a service, and platform as a service.

Google Cloud Platform Fundamentals: Core Infrastructure

Google Cloud Fundamentals: Core Infrastructure is a 9-week long comprehensive course on working with Google Cloud. This course is offered by Google itself through the Google Cloud Training platform on Coursera.

Week. 1: Introducing Google Cloud Platform Coursera

Q1. Does a cloud computing service let you scale your resource use up and down?

  • Yes
  • No

Q2. To get resources from a cloud computing provider, is working with a person at the provider required?

  • Yes
  • No

Topic: GCP Regions and Zones

Q1. Why might a GCP customer use resources in several zones within a region?

  • For improved fault tolerance
  • For better performance

Q2. Why might a GCP customer use resources in several regions around the world?

  • To bring their applications closer to users around the world, and for improved fault tolerance
  • To improve security

Topic: Introducing Google Cloud Platform

Q1. Choose fundamental characteristics of cloud computing. Mark all that are correct (4 correct responses).

  • Providers always dedicate physical resources to each customer
  • Customers are required to commit to multi-year contracts
  • All resources are open-source-based
  • Customers pay only for what they use or reserve
  • Computing resources available on-demand and self-service
  • Resources are available from anywhere over the network
  • Customers can scale their resource use up and down

Q2. Choose a fundamental characteristic of devices in a virtualized data center.

  • They are more secure.
  • They are available from anywhere on the Internet.
  • They are manageable separately from the underlying hardware.
  • They use less resources than devices in a physical data center.

Q3. What type of cloud computing service lets you bind your application code to libraries that give access to the infrastructure your application needs?

  • Platform as a Service
  • Infrastructure as a Service
  • Software as a Service
  • Hybrid cloud
  • Virtualized data centers

Q4. What type of cloud computing service provides raw compute, storage, and network, organized in ways that are familiar from physical data centers?

  • Software as a Service
  • Database as a Service
  • Platform as a Service
  • Infrastructure as a Service

Q5. Which statement is true about the zones within a region?

  • The zones within a region are never closer to each other than 160 km.
  • Each zone corresponds to a single physical data center.
  • Customers must choose exactly one zone in each region in which to run their resources.
  • The zones within a region have fast network connectivity among them.

Q6. What kind of customer benefits most from billing by the second for cloud resources such as virtual machines?

  • Customers who create and run many virtual machines
  • Customers who create many virtual machines and leave them running for months
  • Customers who create too few virtual machines to get discounts
  • Customers who create virtual machines running commercially licensed operating systems

Week. 2: Getting Started with Google Cloud Platform

Topic: The Google Cloud Platform resource hierarchy

Q1. Choose the correct completion: Services and APIs are enabled on a per__________ basis.

  • Billing account
  • Organization
  • Folder
  • Project

Q2. True or false: Google manages every aspect of Google Cloud Platform customers’ security.

  • True
  • False

Q3. Your company has two GCP projects, and you want them to share policies. What is the less error-prone way to set this up?

  • Duplicate all the policies on one project onto the other.
  • Place both projects into a folder, and define the policies on the folder.

Topic: Resources and IAM

Q1. When would you choose to have an organization node? (Choose all that are correct. Choose 2 responses.)

  • When you want to create folders.
  • When you want to organize resources into projects.
  • When you want to apply organization-wide policies centrally.
  • There is no choice; organization nodes are mandatory.

Q2. Order these IAM role types from broadest to finest-grained.

  • Primitive roles, predefined roles, custom roles
  • Custom roles, predefined roles, primitive roles
  • Predefined roles, custom roles, primitive roles

Q3. Can IAM policies that are implemented higher in the resource hierarchy take away access that is granted by lower-level policies?

  • Yes
  • No

Topic: Getting Started with Google Cloud Platform

Q1. 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.

  • True
  • False

Q2. True or False: All Google Cloud Platform resources are associated with a project.

  • True
  • False

Q3. Service accounts are used to provide which of the following? (Choose all that are correct. Choose 3 responses.)

  • A way to allow users to act with service account permissions
  • Authentication between Google Cloud Platform services
  • A way to restrict the actions a resource (such as a VM) can perform
  • A set of predefined permissions

Q4. How do GCP customers and Google Cloud Platform divide responsibility for security?

  • All aspects of security are the customer’s responsibility.
  • Google takes care of the higher parts of the stack, and customers are responsible for the lower parts.
  • All aspects of security are Google’s responsibility.
  • Google takes care of the lower parts of the stack, and customers are responsible for the higher parts.

Q5. Which of these values is globally unique, permanent, and unchangeable, but chosen by the customer?

  • The project’s billing credit-card number
  • The project ID
  • The project number
  • The project name

Q6. Consider a single hierarchy of GCP resources. Which of these situations is possible? (Choose all that are correct. Choose 3 responses.)

  • There are two or more organization nodes
  • There is no organization node, and there are no folders.
  • There is an organization node, and there are no folders.
  • There is an organization node, and there is at least one folder.
  • There is no organization node, but there is at least one folder.

Q7. What is the difference between IAM primitive roles and IAM predefined roles?

  • Primitive roles can only be granted to single users. Predefined roles can be associated with a group.
  • Primitive roles are changeable once assigned. Predefined roles can never be changed.
  • Primitive roles only apply to the owner of the GCP project. Predefined roles can be associated with any user.
  • Primitive roles affect all resources in a GCP project. Predefined roles apply to a particular service in a project.
  • Primitive roles only allow viewing, creating, and deleting resources. Predefined roles allow any modification.

Q8. Which statement is true about billing for solutions deployed using Cloud Marketplace (formerly known as Cloud Launcher)?

  • You pay only for the underlying GCP resources you use, with the possible addition of extra fees for commercially licensed software.
  • You pay only for the underlying GCP resources you use; Google pays the license fees for commercially licensed software.
  • Cloud Marketplace solutions are always free.
  • After a trial period, each Cloud Marketplace solution assesses a fixed recurring monthly fee.

Week. 3: Virtual Machines in the Cloud

Topic: Virtual Private Cloud (VPC) Network

Q1. True or false? In Google Cloud VPCs, subnets have regional scope.

  • True
  • False

Q2. True or false: If you increase the size of a subnet in a custom VPC network, the IP addresses of virtual machines already on that subnet might be affected.

  • True
  • False

Topic: Compute Engine

Q1. True or false: You can create Compute Engine virtual machines from the command line.

  • True
  • False

Q2. What is the main reason customers choose Preemptible VMs?

  • To reduce cost.
  • To improve performance.

Topic: Google Compute Engine and Networking

Q1. True or False: Google Cloud Load Balancing allows you to balance HTTP-based traffic across multiple Compute Engine regions.

  • True
  • False

Q2. Which statement is true about Google VPC networks and subnets?

  • Networks are regional; subnets are zonal
  • Networks are global; subnets are regional
  • Networks and subnets are global
  • Networks are global; subnets are zonal

Q3. An application running in a Compute Engine virtual machine needs high-performance scratch space. Which type of storage meets this need?

  • Standard persistent
  • Local SSD
  • Local standard
  • SSD persistent

Q4. Choose an application that would be suitable for running in a Preemptible VM.

  • An interactive website
  • An online relational database
  • A batch job that cannot be checkpointed and restarted
  • A batch job that can be checkpointed and restarted.

Q5. How do Compute Engine customers choose between big VMs and many VMs?

  • Use big VMs for fault tolerance and elasticity; use many VMs for in-memory databases and CPU-intensive analytics
  • Use big VMs for in-memory databases and CPU-intensive analytics; use many VMs for fault tolerance and elasticity

Q6. How do VPC routers and firewalls work?

  • They are managed by Google as a built-in feature.
  • Customers provision virtual machines and run their routers and firewalls in them.
  • They are managed by Google in virtual machines, which customers may tune or turn off.
  • They are managed by Google in virtual machines, which customers may never modify.

Q7. 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?

  • The regional load balancer
  • The regional internal load balancer
  • The global TCP proxy
  • The global SSL proxy
  • The global HTTP(S) load balancer

Q8. For which of these interconnect options is a Service Level Agreement available

  • VPNs with Cloud Router
  • Carrier Peering
  • Direct Peering
  • Dedicated Interconnect

Week. 4: Storage in the Cloud

Topic: Cloud Storage

Q1. Your Cloud Storage objects live in buckets. Which of these characteristics do you define on a per-bucket basis? Choose all that are correct (3 correct answers).

  • An encryption-at-rest setting (on or off)
  • A geographic location
  • A default file type for the objects in the bucket
  • A globally unique name
  • A default storage class

Q2. True or false: Cloud Storage is well suited to providing the root file system of a Linux virtual machine.

  • True
  • False

Q3. Why would a customer consider the Coldline storage class?

  • To save money on storing frequently accessed data.
  • To use the Coldline Storage API.
  • To save money on storing infrequently accessed data.
  • To improve security.

Topic: Cloud Bigtable

Q1. True or false: Each table in NoSQL databases such as Cloud Bigtable has a single schema that is enforced by the database engine itself.

  • True
  • False

Q2. Some developers think of Cloud Bigtable as a persistent hashtable. What does that mean?

  • Each item in the database can be sparsely populated and is looked up with a single key.
  • Each item in the database consists of exactly the same fields and can be looked up based on a variety of keys.

Topic: Cloud SQL and Cloud Spanner

Q1. Which database service can scale to higher database sizes?

  • Cloud SQL.
  • Cloud Spanner.

Q2. Which database service presents a MySQL or PostgreSQL interface to clients?

  • Cloud SQL.
  • Cloud Spanner.

Q3. Which database service offers transactional consistency at a global scale?

  • Cloud SQL.
  • Cloud Spanner.

Topic: Cloud Datastore

Q1. How are Cloud Datastore and Cloud Bigtable alike? Choose all that are correct (2 correct answers)

  • They both offer SQL-like queries.
  • They are both NoSQL databases.
  • They both have a free daily quota.
  • They are both highly scalable.

Q2. True or false: Cloud Datastore databases can span App Engine and Compute Engine applications.

  • True
  • False

Topic: Google Cloud Platform Storage Options

Q1. You are developing an application that transcodes large video files. Which storage option is the best choice for your application?

  • Cloud Datastore
  • Cloud Spanner
  • Cloud Storage
  • Google Drive

Q2. 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?

  • Cloud Datastore
  • BigQuery
  • Cloud Bigtable
  • Cloud Spanner

Q3. Which statement is true about objects in Cloud Storage?

  • They are immutable, and new versions overwrite old unless you turn on versioning.
  • They can be edited in place.
  • They are immutable and versioned by default.
  • They are immutable unless you turn on versioning.

Q4. 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?

  • Cloud Spanner
  • Bigtable
  • Cloud SQL
  • Cloud Datastore

Q5. How do the Nearline and Coldline storage classes differ from Multi-regional and Regional? Choose all that are correct (2 responses).

  • Nearline and Coldline have lower durability.
  • Nearline and Coldline assess lower storage fees.
  • Nearline and Coldline assess additional retrieval fees.
  • Nearline and Coldline use a differently-architected API.
  • Data in Nearline and Coldline is not retrievable immediately.

Q6. Your application needs a relational database, and it expects to talk to MySQL. Which storage option is the best choice for your application?

  • Cloud SQL
  • Bigtable
  • Cloud Spanner
  • Cloud Storage

Q7. 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?

  • Cloud Datastore
  • Cloud Storage
  • Cloud SQL
  • Cloud Spanner

Q8. 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?

  • Cloud Datastore
  • Cloud Storage
  • Cloud Spanner
  • Local SSD

Week. 5: Containers in the Cloud

Topic: Containers

Q1. True or false: each container has its own instance of an operating system.

  • True
  • False

Q2. Containers are loosely coupled to their environments. What does that mean? Choose all the statements that are true. (3 correct answers)

  • Deploying a containerized application consumes less resources and is less error-prone than deploying an application in virtual machines.
  • Containers are easy to move around.
  • Containers package your application into equally sized components.
  • Containers don’t require any particular runtime binary.
  • Containers abstract away unimportant details of their environments.

Topic: Kubernetes

Q1. What is a Kubernetes Pod?

  • A group of nodes
  • A group of clusters
  • A group of containers

Q2. What is a Kubernetes cluster?

  • A group of machines where Kubernetes can schedule workloads
  • A group of containers that provide high availability for applications

Topic: Kubernetes Engine

Q1. Where do the resources used to build Kubernetes Engine clusters come from?

  • Bare-metal servers
  • Compute Engine
  • App Engine

Q2. True or false: Google keeps Kubernetes Engine refreshed with successive versions of Kubernetes

  • True
  • False

Topic: Containers, Kubernetes, and Kubernetes Engine

Q1. Identify two reasons for deploying applications using containers. (Choose 2 responses.)

  • Consistency across development, testing, production environments
  • No need to allocate resources in which to run containers
  • Tight coupling between applications and operating systems
  • Simpler to migrate workloads

Q2. True or False: Kubernetes allows you to manage container clusters in multiple cloud providers.

  • True
  • False

Q3. True or False: Google Cloud Platform provides a secure, high-speed container image storage service for use with Kubernetes Engine.

  • True
  • False

Q4) In Kubernetes, what does “pod” refer to?

  • A group of containers that work together
  • A popular management subsystem
  • A group of clusters that work together
  • A popular logging subsystem

Q5) Does Google Cloud Platform offer its own tool for building containers (other than the ordinary docker command)?

  • Yes; the GCP-provided tool is an option, but customers may choose not use it.
  • No; all customers use the ordinary docker command.
  • Yes. Kubernetes Engine customers must use the GCP-provided tool.

Q6) Where do your Kubernetes Engine workloads run?

  • In clusters implemented using App Engine
  • In clusters built from Compute Engine virtual machines
  • In clusters that are built into GCP, not separately manageable
  • In clusters implemented using Cloud Functions

Week. 6: Applications in the Cloud

Topic: App Engine

Q1. True or false: App Engine is a better choice for a web application than for long-running batch processing.

  • True
  • False

Q2. True or false: App Engine just runs applications; it doesn’t offer any services to the applications it runs.

  • True
  • False

Topic: App Engine Flexible and Standard Environments

Q1. Which of these criteria would make you choose App Engine Flexible Environment, rather than Standard Environment, for your application? Choose all that are correct (2 correct responses)

  • A wider range of choices for application language
  • Finer-grained scaling
  • Ability to ssh in
  • Daily free usage quota

Q2. True or false: App Engine Flexible Environment applications let their owners control the geographic region where they run.

  • True
  • False

Topic: Applications in the Cloud

Q1. Which statements are true about App Engine? Choose all that are true (2 correct answers).

  • App Engine charges you based on the resources you pre-allocate rather than based on the resources you use.
  • App Engine manages the hardware and networking infrastructure required to run your code.
  • App Engine requires you to supply or code your own application load balancing and logging services.
  • It is possible for an App Engine application’s daily billing to drop to zero.
  • Developers who write for App Engine do not need to code their applications in any particular way to use the service.

Q2. Name 3 advantages of using the App Engine Flexible Environment over the App Engine Standard. Choose all that are true (3 correct answers).

  • Google provides automatic in-place security patches
  • You can SSH into your application
  • Your application can write to a local disk
  • Your application can execute code in background threads
  • You can install third-party binaries

Q3. Name 3 advantages of using the App Engine Standard Environment over App Engine Flexible. Choose all that are true (3 correct answers).

  • Billing can drop to zero if your application is idle
  • Scaling is finer-grained
  • You can choose any programming language
  • Google provides and maintains runtime binaries
  • You can install third-party binaries

Q4. You want to do business analytics and billing on a customer-facing API. Which GCP service should you choose?

  • Apigee Edge
  • Cloud Endpoints

Q5. You want to support developers who are building services in GCP through API logging and monitoring. Which GCP service should you choose?

  • Cloud Endpoints

Q6) You want to gradually decompose a pre-existing monolithic application, not implemented in GCP, into microservices. Which GCP service should you choose?

  • Apigee Edge
  • Cloud Endpoints

Week. 7: Developing and Monitoring in the Cloud

Topic: Development in the cloud

Q1. Why would a developer choose to store source code in Cloud Source Repositories? Choose all the answers that are correct (2 correct answers).

  • To reduce work
  • To have total control over the hosting infrastructure
  • To keep code private to a GCP project

Topic: Cloud Functions

Q1. What is the advantage of putting event-driven components of your application into Cloud Functions?

  • Cloud Functions means that processing always happens free of charge.
  • Cloud Functions handles scaling these components seamlessly.

Topic: Developing, Deploying, and Monitoring in the Cloud

Q1. Why might a GCP customer choose to use Cloud Source Repositories?

  • They want to host and manage their own git instance, and they want to integrate with IAM permissions.
  • They want to host and manage their own git instance, and they don’t want to integrate with IAM permissions.
  • They don’t want to host their own git instance, and they want to integrate with IAM permissions.
  • They don’t want to host their own git instance, and they don’t want to integrate with IAM permissions.

Q2. Why might a GCP customer choose to use Cloud Functions?

  • Their application has a legacy monolithic structure that they want to break apart into microservices with little developer effort.
  • Their application contains event-driven code that they don’t want to have to provision compute resources for.
  • Cloud Functions is the primary way to run Node.js applications in GCP.
  • Cloud Functions is a free service for hosting compute operations.

Q3. Why might a GCP customer choose to use Deployment Manager?

  • Deployment Manager is an infrastructure management system for Kubernetes pods.
  • Deployment Manager is an infrastructure management system for GCP resources.
  • Deployment Manager is a version control system for your GCP infrastructure layout.
  • Deployment Manager enforces maximum resource utilization and spending limits on your GCP resources.

Q4. You want to define alerts on your GCP resources, such as when health checks fail. Which is the best GCP product to use?

  • Stackdriver Trace
  • Stackdriver Monitoring
  • Stackdriver Debugger
  • Deployment Manager
  • Cloud Functions

Q5. Which statements are true about Stackdriver Logging? Choose all that are true (2 statements)

  • Stackdriver Logging requires that you store your logs in BigQuery or Cloud Storage.
  • Stackdriver Logging lets you view logs from your applications, and filter and search on them.
  • Stackdriver Logging requires the use of a third-party monitoring agent.
  • Stackdriver Logging lets you define metrics based on your logs.
  • Stackdriver Logging lets you define uptime checks.

Week. 8: Big Data and Machine Learning

Q1. Name two use cases for Google Cloud Dataproc (Select 2 answers).

  • Data mining and analysis in datasets of known size
  • Migrate on-premises Hadoop jobs to the cloud
  • Manage data that arrives in realtime
  • Manage datasets of unpredictable size

Q2. Name two use cases for Google Cloud Dataflow (Select 2 answers).

  • Extract, Transform, and Load (ETL)
  • Orchestration
  • Manual resource management
  • Reserved compute instances

Q3. Name three use cases for the Google Cloud Machine Learning Platform (Select 3 answers).

  • Fraud detection
  • Data preparation
  • Sentiment analysis
  • Content personalization
  • Query architecture

Q4. Which statements are true about BigQuery? Choose all that are true (2 statements).

  • BigQuery is a good choice for data analytics warehousing.
  • BigQuery requires that you provision database instances ahead of use.
  • Once in BigQuery, data is not accessible from other GCP services.
  • BigQuery is a good choice for online transaction processing.
  • BigQuery lets you run fast SQL queries against large databases.

Q5. Name three use cases for Cloud Pub/Sub (Select 3 answers).

  • Analyzing streaming data
  • Storage of binary web content
  • Decoupling systems
  • Internet of Things applications
  • Executing ad-hoc SQL queries

Q6. What is TensorFlow?

  • A managed service for building machine learning models
  • An open-source software library that’s useful for building machine learning applications
  • A hardware device designed to accelerate machine learning workloads
  • A managed service for building data pipelines

Q7. What does the Cloud Natural Language API do?

  • It analyzes text to reveal its structure and meaning.
  • It translates arbitrary strings into any supported language.
  • It extracts text in various languages from images.
  • It performs sentiment analysis on audio and video content.

Week. 9: Summary and Review

Q1. Which compute service lets customers run virtual machines that run on Google’s infrastructure?

  • Cloud Functions
  • Compute Engine
  • App Engine
  • Kubernetes Engine

Q2. Which compute service lets customers deploy their applications in containers that run in clusters on Google’s infrastructure?

  • Cloud Functions
  • Compute Engine
  • Kubernetes Engine
  • App Engine

Q3. Which compute service lets customers focus on their applications, leaving most infrastructure and provisioning to Google, while still offering various choices of runtime?

  • Kubernetes Engine
  • Cloud Functions
  • Compute Engine
  • App Engine

Q4. Which compute service lets customers supply chunks of code, which get run on-demand in response to events, on infrastructure wholly managed by Google?

  • Cloud Functions
  • Compute Engine
  • Kubernetes Engine
  • App Engine

Q5. For what kind of traffic would the regional load balancer be the first choice? Choose all that are correct (2 answers).

  • TCP traffic (non-SSL) on popular well-known port numbers
  • TCP/SSL traffic on popular well-known port numbers
  • UDP traffic
  • TCP traffic on arbitrary port numbers

Q6. Choose a simple way to let a VPN into your Google VPC continue to work in spite of routing changes,

  • Dedicated Interconnect
  • Carrier Peering
  • Cloud Router
  • Direct Peering

Q7. Which of these storage needs is best addressed by Cloud Datastore?

  • Structured objects, with transactions and SQL-like queries
  • Structured objects, with lookups based on a single key
  • Immutable binary objects
  • A relational database with SQL queries and horizontal scalability

Q8. Which of these storage needs is best addressed by Cloud Spanner?

  • Immutable binary objects
  • Structured objects, with transactions and SQL-like queries
  • A relational database with SQL queries and horizontal scalability
  • Structured objects, with lookups based on a single key

Q9. Which of these storage needs is best addressed by Cloud Bigtable?

  • Immutable binary objects
  • Structured objects, with transactions and SQL-like queries
  • A relational database with SQL queries and horizontal scalability
  • Structured objects, with lookups based on a single key

Q10. Which of these storage needs is best addressed by Cloud Storage?

  • Structured objects, with transactions and SQL-like queries
  • Structured objects, with lookups based on a single key
  • A relational database with SQL queries and horizontal scalability
  • Immutable binary objects

Leave a Comment