Friday, August 26, 2022

Logging and Monitoring in the Cloud (GCP Coursera)

 Question 1

There are “Four Golden Signals” that measure a system’s performance and reliability. What are they?

Answer:

Latency, traffic, saturation, errors

Question 2

Which definition best describes a service level indicator (SLI)? 

Answer: A time-bound measurable attribute of a service

Question 3

Which option describes a commitment made to your customers that your systems and applications will have only a certain amount of “downtime”?

Answer: Service level agreement

Question 4

You want to create alerts on your Google Cloud resources, such as when health checks fail. Which is the best Google Cloud product to use?

Answer: Cloud Monitoring

Question 5

Select the two correct statements about Cloud Logging.

Answer:

Cloud Logging lets you view logs from your applications and filter and search on them.

Cloud Logging lets you define metrics based on your logs.


Developing and Deploying in the Cloud

 Question 1

Why would a developer choose to store source code in Cloud Source Repositories? (Select 2)

Answers:

To reduce work  (correct)

To keep code private to a Google Cloud project   (correct)

Question 2

Why might a Google Cloud customer choose to use Cloud Functions?

Answers:

Their application contains event-driven code that they don't want to provision compute resources for.

Question 3

Select the advantage of putting the event-driven components of your application into Cloud Functions.

Answers:

Cloud Functions handles scaling these components seamlessly.

Question 4

Why might a Google Cloud customer choose to use Terraform?

Answers:

Terraform can be used as an infrastructure management system for Google Cloud resources.

Applications in the Cloud (GCP Coursera )

 Question 1

App Engine is best suited to the development and hosting of which type of application?

A web application 

Question 2

Which statements are true about App Engine? (Select 2).

The daily billing for an App Engine application can drop to zero. (Correct)

App Engine manages the hardware and networking infrastructure required to run your code. (Correct)


Question 3

What are the advantages of using App Engine’s flexible environment instead of its standard environment? (Select 3).


Your application can write to the local disk. (Correct)

you can use SSH to connect to the virtual machines on which your application runs. (Correct)

You can install third-party binaries.  (Correct)

Question 4

Which Google Cloud service should you choose to perform business analytics and billing on a customer-facing API?

Answer: Apigee Edge


Question 5

Select the managed compute platform that lets you run stateless containers through web requests or Pub/Sub events.

Answer: Cloud Run  (Correct)

Question 6

Cloud Run can only pull images from: 

Correct Answer: Artifact Registry

Thursday, August 25, 2022

Containers in the Cloud (GCP Coursera )

 

Question 1

Select two reasons for using containers to deploy applications. (Choose 2 responses.)

Correct Ansers: 

It creates consistency across development, testing, and production environments.

Migrating workloads is simpler.


2 Question 2

How do containers access an operating system?

correct Anser : 

Containers use a shared base operating system stored in a shared kernel layer.


Question 3

What is a Kubernetes pod?

Correct Answer: 

A group of containers


Question 4

What is a Kubernetes cluster?

Correct Answer:

A group of machines where Kubernetes can schedule workloads.


Question 5

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


Correct Answer: Compute Engine 


Question 6

How do you keep your Kubernetes version updated in Google Kubernetes Engine? 


Correct Answer

The Google Kubernetes Engine team periodically performs automatic upgrades of your cluster to newer stable versions.

Question 7

Anthos provides a rich set of tools for monitoring and maintaining the consistency of your applications across which of the following locations?

Correct answer

Applications hosted on-premises, in the cloud, or in multiple clouds.


Storage in the Cloud (GCP)


Question 1
Which statement describes the correct Cloud Storage use case?

Correct Answer> Cloud Storage provides durable and highly available object storage.


Question 2
Why would a customer consider the Coldline Storage class?

Correct Answer> To save money on storing infrequently accessed data

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

Correct Answer>  Cloud Spanner

Question 4
How are Firestore and Bigtable alike? (Select two answers.)
Correct Answer >
They are both NoSQL databases.
They are both highly scalable.

Question 5
You manufacture devices with sensors and need to stream huge amounts of data from these devices to a storage option in the cloud. Which storage option is the best choice for your application?

Correct Answer > Bigtable

Question 6
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?

Correct Answer > Cloud Spanner

Wednesday, August 24, 2022

Virtual Machines and Networks in the Cloud (GCP)

Virtual Machines and Networks in the Cloud (GCP)

Question 1

Which term describes a secure, individual, private cloud-computing model hosted within a public cloud?

Answer : Virtual private cloud (VPC)

 

Question 2

Select the true statement about Google’s VPC networks and subnets

Answer : Networks are global, and subnets are regional

 

Question 3

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


Answer: Local SSD

Question 4

Preemptible VMs can offer advantages over a standard Compute Engine VM. What is a reason customers choose preemptible VMs?

Answer : To Reduce cost

 


Question 5

Which statement best describes how VPC routers and firewalls work?

Answer:  They are managed by Google as a built-in feature

Question 6

A Google Cloud customer wants to load-balance traffic among the backend VMs that form part of a multi-tier application. Which load-balancing option should this customer choose?

Answer: The regional internal load balancer

Question 7

Which interconnect option is a service level agreement (SLA) available for?

Answer: Dedicated Interconnect

 

 

 

 

 


Resources and Access in Google Cloud

Question 1

When would you choose to have an organization node? (Select two)

1 / 1 point
Correct

Correct! Folders require an organization node

Correct

Correct! Organization nodes let you apply policies centrally.

Question 2

Which statement best describes how Google Cloud resources are associated within the resource hierarchy?

1 / 1 point
Correct

Correct! All Google Cloud resources are associated with a project.

Question 3

Consider a single hierarchy of Google Cloud resources. Which of these situations is possible? (Choose 3 responses.)

1 / 1 point
Correct

Correct!

Correct

Correct!

Correct

Correct!

Question 4

Your company has two Google Cloud projects and you want them to share policies. What is the least error-prone way to set this up?

1 / 1 point
Correct

That's correct!

Question 5

What is the difference between Identity and Access Management (IAM) basic roles and IAM predefined roles?

1 / 1 point
Correct

Correct!

Question 6

Select the option that displays IAM roles from general to specific.

1 / 1 point
Correct

Correct!

Question 7

How does the resource hierarchy control how IAM policies are inherited?

1 / 1 point
Correct

Correct!

Question 8

Which way of accessing Google Cloud lets you control services through the code you write?

1 / 1 point
Correct

Correct!

Kubernetes Commands for Beginners

 This document provides a list of basic Kubernetes commands useful for beginners. These commands help in interacting with the cluster and ma...