AI SREClickHouse Workshops

Room quiz

Two quick questions per module to run with the room; click an option to see whether it is right.

Your computer
macOS terminal: Run workshop commands in Terminal using zsh or bash.

Twenty multiple-choice questions, two per learner module. Ask both when the room finishes a module. Every answer comes from the learner pages, so anyone who did the step has an edge.

This page is for facilitators. It is not linked from the Learner track; do not share its link with the room before the session ends.

How to run it

  • Project the page and read the question and options aloud.
  • Give the room about 20 seconds, then click the option the room picks. The page marks it right or wrong and shows a one-line explanation; reload the page to reset it.
  • Score 10 points for a correct answer, plus 5 for the first three correct.
  • Post a top-five leaderboard after modules 03, 06, and 09.
  • Q3 and Q10 work well as shout-it-out warm-ups before you show the options.

00 Setup

Q1

Module 00 installs a clickhouse client from the same major/minor release as your Cloud service, rather than the latest stable. Why?

local use installs only a client binary; it never starts a server. Every workshop query targets ClickHouse Cloud.

Q2

Your ClickHouse password is in .env.workshop, and you also export a different value in your shell. Which one wins?

Exported values override the env file, which is why the setup page says not to export these names.

01 ClickHouse Cloud

Q3

Guess: roughly how many yellow-cab trips did you load for July 2022?

About 3.2 million trips. Bonus: the zone lookup has 265 taxi zones.

Q4

taxi_trips is ORDER BY (car_type, pickup_datetime). Which query benefits most?

Filters on the leading columns of the sorting key let ClickHouse skip most of the data.

02 Base app

Q5

Why is the Ops (Live) dashboard empty at this point?

The Use sample window button shows the layout populated with the seeded July 2022 data.

Q6

True or false: the React frontend queries ClickHouse directly.

The path is React, then the FastAPI back end, then ClickHouse Cloud.

03 Managed Postgres CDC

Q7

What does the materialized view realtime_trips_to_taxi_trips_mv do?

An incremental materialized view runs on each insert, which is why FINAL is not needed on this append-only path.

Q8

The view filters on WHERE _peerdb_is_deleted = 0. What is _peerdb_is_deleted?

ClickPipes adds this column, so a delete in Postgres is visible on the ClickHouse side.

04 ClickHouse Agents

Q9

A learner's new agent cannot answer anything. What did they most likely forget?

Without a connected ClickHouse tool, the agent has nothing to query.

Q10

The agent says the average fare is $18.40, but the MCP query returns $21.10. What do you check first?

Read the generated SQL before accepting a natural-language answer.

05 ClickStack

Q11

In module 05, which of these runs on your laptop?

HyperDX, storage, and query compute stay managed in ClickHouse Cloud.

Q12

Where does ClickStack store the app's traces and logs?

ClickStack keeps OpenTelemetry data in ClickHouse itself, in its own database (otel) apart from the app's data (nyc_tlc_data). HyperDX is the UI that queries it.

06 AI SRE

Q13

Your coding agent can save an alert through the ClickStack MCP. What is the one thing it cannot create?

No MCP tool creates channels, so you set up the webhook in the HyperDX UI first.

Q14

You ask Generate with AI for a dashboard tile your telemetry has no data for. What does it do?

The generator inspects your telemetry first and builds tiles only from what it finds.

07 Test, fail, and fix

Q15

In Fault 01 the map is empty, but backend traces look healthy. Why is that useful evidence?

Healthy backend traces plus a frontend error in Client Sessions point at the frontend.

Q16

After the fix, ClickStack still shows the old errors. Did the fix fail?

Old incident events stay in the selected time range. History does not disappear.

08 Chat and Langfuse

Q17

The chat works, but no trace shows up in Langfuse. What is the most common cause?

Check the backend logs first; the region URL is the usual cause.

Q18

You ask a follow-up question in the same chat. What should Langfuse show?

Both turns share the same conversation or session ID.

09 Wrap-up

Q19

You close your laptop and go home. Which of these stops?

The ClickPipe keeps running, but no new rows arrive because the trip writer runs locally.

Q20

What is the single change that points CDC at your own data?

Then adjust the schema and the back end's queries to your tables.

Trên trang này

VI