Google Practice Exam Flashcards

1
Q

Situation: Creating a Kubernetes Engine cluster to deploy multiple pods inside the cluster. All container logs must be stored in BigQuery for later analysis. Following Google-recommended practices, what to do.

A
  • Turn on Stackdriver Logging during the Kubernetes Engine cluster creation to enable all the container logs to be stored in Stackdriver Logging
  • Use the Stackdriver Logging export feature to create a sink to BigQuert. specify a filter expression to export log records related to your Kubernetes cluster only.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to create a new Kubernetes Cluster on GCP that can autoscale the number of worker nodes?

A

Create a cluster on GKE and enable autoscaling.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

GKE cluster autoscaler

A

Resizes clusters based on the demands of the workloads you want to run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

PaaS

A

App Engine: fastest way to getup and running on the Google Cloud. Offers a global infrastructure that will scale load as well as scale up and down on demand as needed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

kubectl port-forward

A

Forward one or more local ports to a pod.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

kubectl create secret

A
  1. docker-registry: create secret for use with a Docker registry
  2. generic: create secret from a local file, directory or literal value
  3. tls: create a TLS secret
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Kubernetes cluster

A

A managed group of VM instances for running containerized applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Kubernetes workloads

A

deployable units of computing that can be created and managed in a cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

SLIs

A

service level indicators

quantitative measure of some aspect of the level of service that is provided
ex: request latency, error rate, system throughput, availability, durability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

SLOs

A

service level objectives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SLAs

A

service level agreements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly