Check: logs

Knowledge check · 5 min · Module 2, lesson 5 of 55 min left in this module

Module 2 · LogsLesson 5 of 5

Goal: Confirm you can pick the right log for a failure, and search and follow logs to the cause.

Four questions: three on Module 2, one on Path 5, Module 8. Every answer explains itself, right or wrong.

A new version's deploy log says Out of memory. What do you check next?
Your app prints plain sentences. A teammate suggests JSON lines instead. What do you gain?
You want to watch the runtime log while you reproduce a bug. Which command?
From Path 5: you deploy my-app:latest on Monday and again on Friday, after someone pushed a new image. Friday's version is broken, so you roll back to Monday's. What runs?

Retry as often as you like.