0% found this document useful (0 votes)
103 views

GCP

This document contains questions and answers about Google Cloud Platform concepts. Some key points: - Primitive IAM roles apply to all resources in a project, while predefined roles apply to a specific service. The project ID is globally unique, permanent, and chosen by the customer. - With Cloud Marketplace, customers pay only for the underlying GCP resources used, plus possible fees for licensed software. Possible resource hierarchies include an organization with folders, an organization without folders, or no organization with at least one folder. - In IAM, a more restrictive policy on an individual resource can override a less restrictive project-level policy. Service accounts are used for resource authentication, restricting actions, and allowing users to act

Uploaded by

Rohan pawar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views

GCP

This document contains questions and answers about Google Cloud Platform concepts. Some key points: - Primitive IAM roles apply to all resources in a project, while predefined roles apply to a specific service. The project ID is globally unique, permanent, and chosen by the customer. - With Cloud Marketplace, customers pay only for the underlying GCP resources used, plus possible fees for licensed software. Possible resource hierarchies include an organization with folders, an organization without folders, or no organization with at least one folder. - In IAM, a more restrictive policy on an individual resource can override a less restrictive project-level policy. Service accounts are used for resource authentication, restricting actions, and allowing users to act

Uploaded by

Rohan pawar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

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

Primitive roles affect all resources in a GCP project. Predefined roles apply to a particular
service in a project.

2.All Google Cloud Platform resources are associated with a project.

true

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

The project ID

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

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

a.There is an organization node, and there are no folders.

b.There is no organization node, and there are no folders.

c.There is an organization node, and there is at least one folder.

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

-FAlse

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

a. A way to restrict the actions a resource (such as a VM) can perform

b. A way to allow users to act with service account permissions

c. Authentication between Google Cloud Platform service


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

Google takes care of the lower parts of the stack, and customers are responsible for the higher
parts.

VPC

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

- True

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

- False

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

-To reduce cost.

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

-True

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

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

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

-TRue
7.How do VPC routers and firewalls work?

-They are managed by Google as a built-in feature.

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

-Dedicated Interconnect

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

-A batch job that can be checkpointed and restarted

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

-Networks are global; subnets are regional

11.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 internal load balancer

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

-Local SSD

*Storage Cloud Answers*


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

-False

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

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

-Cloud Spanner.

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

-Cloud SQL.

5. Which database service offers transactional consistency at global scale?

- Cloud Spanner.

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

-True

7. ow are Cloud Datastore and Cloud Bigtable alike? Choose all that are correct (2 correct answers)
-They are both highly scalable.

-They are both NoSQL databases

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

2. How do the Nearline and Coldline storage classes differ from Multi-regional and
Regional? Choose all that are correct (2 responses).
----Nearline and Coldline assess lower storage fees
-Nearline and Coldline assess additional retrieval fees
3. You are developing an application that transcodes large video files. Which storage
option is the best choice for your application?
- -----Cloud Storage

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


---------They are immutable, and new versions overwrite old unless you turn on
versioning.

5. 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 Storage

6. 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 Datastore

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

8. 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 Bigtable

CONTAINER & kubernet


1 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 abstract away unimportant details of their environments.


2. True or false: each container has its own instance of an operating system.
-False.

3. What is a Kubernetes cluster?


-A group of machines where Kubernetes can schedule workloads

4. What is a Kubernetes pod?


--A group of containers

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

6, Where do the resources used to build Kubernetes Engine clusters come from?

-Compute Engine

FINAL QUIZZ

1.Identify two reasons for deploying applications using containers. (Choose 2 responses.)
---Consistency across development, testing, production environments
----Simpler to migrate workloads
2. 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.

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

4. In Kubernetes, what does "pod" refer to?


---A group of containers that work together

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

6. Where do your Kubernetes Engine workloads run?


--In clusters built from Compute Engine virtual machines

APPLICATION IN THE CLOUD


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

--True

2. 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).

--Wider range of choices for application language

--Ability to ssh in

FINAL QUIZZ

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

-You can SSH in to your application

-You can install third-party binaries


-Your application can write to local disk
2. You want to gradually decompose a pre-existing monolithic application, not implemented
in GCP, into microservices. Which GCP service should you choose?
-Apigee Edge

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

4. Name 3 advantages of using the App Engine Standard Environment over App Engine
Flexible. Choose all that are true (3 correct answers).
-Google provides and maintains runtime binaries

-Billing can drop to zero if your application is idle


-Scaling is finer-grained

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

6. Which statements are true about App Engine? Choose all that are true (2 correct
answers).
-App Engine manages the hardware and networking infrastructure required to run
your code.

-It is possible for an App Engine application's daily billing to drop to zero.

DEPLOYING AND MONITORING IN THE CLOUD

1.
Why would a developer choose to store source code in Cloud Source Repositories? Choose
all the answers that are correct (2 correct answers).
-To keep code private to a GCP project
-To reduce work

Final Quizz

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

-Stackdriver Monitoring

2. Which statements are true about Stackdriver Logging? Choose all that are true (2
statements)
-Stackdriver Logging lets you view logs from your applications, and filter and
search on them.
-Stackdriver Logging lets you define metrics based on your logs.

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


-Deployment Manager is an infrastructure management system for GCP resources.

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


-They don't want to host their own git instance, and they want to integrate
with IAM permissions.

BIG DATA AND MACHINE LEARNING

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

-Migrate on-premises Hadoop jobs to the cloud


-Data mining and analysis in datasets of known size

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


-Analyzing streaming data

-Decoupling systems

-Internet of Things applications

3.Name two use cases for Google Cloud Dataflow (Select 2 answers).
-Extract, Transform, and Load (ETL)
-Orchestration
4. What does the Cloud Natural Language API do?
-It analyzes text to reveal its structure and meaning.

5. What is TensorFlow?

-An open-source software library that’s useful for building machine learning
applications

FINAL QUIZZ OF COURSE

1.Which compute service lets customers focus on their applications, leaving most
infrastructure and provisioning to Google, while still offering various choices of runtime?
-App Engine
2. 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

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

-Structured objects, with transactions and SQL-like queries

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

-Kubernetes Engine

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

-UDP traffic

-TCP traffic on arbitrary port numbers

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


-A relational database with SQL queries and horizontal scalability
7. Which of these storage needs is best addressed by Cloud Bigtable?
-Structured objects, with lookups based on a single key

9.Which compute service lets customers run virtual machines that run on Google's
infrastructure?

-Compute Engine

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


-Immutable binary objects

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

VPC NETWORK
1.What are the three types of networks offered in Google Cloud?

-Default network, auto network, and custom network.

2. In Google Cloud, what is the minimum number of IP addresses that a VM instance


needs?

-One: Only an internal IP address

3. What is one benefit of applying firewall rules by tag rather than by address?

-When a VM is created with a matching tag, the firewall rules apply irrespective of
the IP address it is assigned.s

VIRTUAL MACHINE
1. Which statement is true of Virtual Machine Instances in Compute Engine?
-In Compute Engine, a VM is a networked service that simulates the
features of a computer.
2. Which statement is true of persistent disks?

-Persistent disks are encrypted by default.

3. What are sustained use discounts?


-Automatic discounts that you get for running specific Compute Engine
resources for a significant portion of the billing month

CLOUD IAM

1.Which of the following is not a type of IAM role?

-Advanced

2.What abstraction is primarily used to administer user access in Cloud IAM ?

-Roles, an abstraction of job roles.

3.Which of the following is not a type of IAM member?

-Organization Account

1.Which Google Cloud data storage service offers ACID transactions and can scale
globally?

-Cloud Spanner

2.Which data storage service provides data warehouse services for storing data but also
offers an interactive SQL interface for querying the data?

-BigQuery
3.What data storage service might you select if you just needed to migrate a standard
relational database running on a single machine in a datacenter to the cloud?

-Cloud SQL

Resource Management

1.A budget is set at $500 and an alert is set at 100%. What happens when the full amount
is used?

-A notification email is sent to the Billing Administrator.

2.No resources in Google Cloud can be used without being associated with...

-A project.

3. How do quotas protect Google Cloud customers?


-By preventing uncontrolled consumption of resources.

4. What is the purpose of the Cloud Trace service?


-Reporting on latency as part of managing performance.

5. Google Cloud’s operations suite integrates several technologies, including monitoring,


logging, error reporting, and debugging that are commonly implemented in other
environments as separate solutions using separate products. What are key benefits of
integration of these services?
-Reduces overhead, reduces noise, streamlines use, and fixes problems faster

6. What is the foundational process at the base of Google's Site Reliability Engineering
(SRE) ?

-Monitoring.
INTERCONNECTING NETWORK

1.Which of the following approaches to multi-project networking, uses a centralized


network administration model?

-Shared VPC

2.If you cannot meet Google’s peering requirements, which network connection service
should you choose to connect to G Suite and YouTube?

-Carrier Peering
3.What is the purpose of Virtual Private Networking (VPN)?

-To enable a secure communication method (a tunnel) to connect two trusted


environments through an untrusted environment, such as the Internet.

4. Which GCP Interconnect service requires a connection in a GCP colocation facility and
provides 10 Gbps per link?

-Dedicated Interconnect

LOAD BALANCING AND AUTO SCALING

1.Which of the following are applicable autoscaling policies for managed instance groups?
-Load balancing capacity

2.Which of the following is not a GCP load balancing service?

-Hardware-defined load balancing


3.Which three GCP load balancing services support IPv6 clients?

-SSL proxy load balancing

-TCP proxy load balancing

-HTTP(S) load balancing

You might also like