Exam drill

Nine real assignments. Type the command into each terminal and press Enter (or Run); one of them is a YAML edit. The drill checks your command the way an examiner would, tells you what's off, and shows the output when you get it right. After two tries you can peek at the answer.

{{progress}} Start over
{{t.n}}

{{t.title}}

{{t.status}}
$
{{t.out}}

{{t.answer}}

7

The Service api has no endpoints. Its Pods are labelled app: api and listen on port 8080. Fix the YAML below, then press Apply.

{{yStatus}}
{{yOut}}

selector → app: api (it said apl) · targetPort → 8080

{{t.n}}

{{t.title}}

{{t.status}}
$
{{t.out}}

{{t.answer}}

Shipshape
In the real exam you type into a real terminal and nothing checks you as you go. Here the checker accepts the usual variations (deploy or deployment, k for kubectl, flags in any order), so practise the shortest form you trust.