Operations Suite Flashcards

1
Q

What are the 5 primary services that Google Cloud Operations Suite provides?

A
  1. Cloud Logging
  2. Cloud Monitoring
  3. Cloud Trace
  4. Cloud Error Reporting
  5. Cloud Profiler
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 2 main features of Cloud Logging?

A
  1. Log collection and storage
  2. Alerts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When might you need to use a client library or Ops Agent so that Cloud Logging, Cloud Monitoring, and Cloud Trace can collect telemetry data?

A

Generally speaking, applications that do not run on GCP can use client libraries and applications that run on Compute Engine instances can use Ops Agent. Keep in mind, other compute services might already integrate this for you automatically. Make sure to check the docs.

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

What is Ops Agent?

A

Ops Agent is software that collects telemetry from Compute Engine instances. Telemetry meaning: logging, metrics, and trace data.

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

What are the 3 primary components that make up telemetry data?

A
  1. Logs
  2. Metrics
  3. Traces

Logs are records generated by systems at a specific point in time.

Metrics are quantifiable units of data regarding a system’s health and performance that can be measure over time.

Traces are the paths requests take across a distributed system, including latency.

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

By default, where does Cloud Logging store logs?

A

In a Cloud Logging bucket (different than Cloud Storage bucket)

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

What are the 4 main features of Cloud Monitoring?

A
  1. Metric collection and storage
  2. Alerts
  3. Dashboards
  4. Synthetic monitors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of a synthetic monitor?

A

The purpose of a synthetic monitor is to test the availability and performance of an application. Essentially, it issues a simulated request to an application over HTTP/HTTPS/TCP and reports whether the request was successful, along with performance metrics.

Cloud Monitoring provides support for synthetic monitors.

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

What are the 2 main features of Cloud Trace?

A
  1. Trace latency collection
  2. Trace storage for 30 days
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Cloud Profiler?

A

Cloud Profiler is software that analyzes CPU and memory usage for applications in production. It can identify the code of an application that is consuming the most resources, giving you insights for further optimization.

Cloud Profiler is different than Cloud Monitoring.

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

How does Cloud Profiler work?

A

The Cloud Profiler agent must be installed on the VM instance where your application is scheduled to run. Upon startup, the agent must be attached to the application. Once the application starts running, the agent will begin collecting data.

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

Does Google recommend using text logs or structured logs? Why?

A

Structured logs. This is because structured logs can be queried by fields for analysis.

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

What is a trace composed of?

A

A trace is composed of 1 or more spans. A span represents the time that it takes to complete a sub operation.

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

In addition to the metrics collected automatically, Cloud Monitoring provides an agent that can be installed to collect more detailed information from Compute Engine VMs, including from third-party apps running on those machines.

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

We also recommend using OpenTelemetry to capture your app-level metrics

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

Health checking is a key responsibility of load balancers.

A
17
Q

What are the 4 golden signals for monitoring a system?

A
  1. Latency
  2. Traffic
  3. Errors
  4. Saturation