Knowledge Check - Production Operations

Test your understanding of the key concepts from Module 5. Select the best answer for each question, then submit to see your results. You need to score at least 60% to pass.

1.

TaskBoard's Logging Service pipeline has a kubernetes log stream with protocol = "tcp" and the tag k8s. A developer deploys Fluent Bit on MKS, but no logs arrive in Grafana. Which [OUTPUT] section is correct?

2.

During an incident review, a developer runs the Activity Log script from Unit 5.1 with dateStart set 60 days in the past. The response contains entries from the last few weeks only. What explains this, and what should the team do?

3.

A scheduled job rotates TaskBoard's CI token. Which order of operations avoids an outage of every pipeline?

4.

A developer wants TaskBoard's API pods on Managed Kubernetes to accept traffic only from the ingress controller's namespace. They write this Terraform:

resource "ionoscloud_nsg_firewallrule" "api_from_ingress" {
  datacenter_id    = ionoscloud_datacenter.taskboard.id
  nsg_id           = ionoscloud_nsg.k8s_nodes.id
  type             = "INGRESS"
  protocol         = "TCP"
  port_range_start = 8000
  port_range_end   = 8000
}

Why does this not achieve the goal, and what does?

5.

TaskBoard is managed by an ArgoCD Application with automated: { prune: true, selfHeal: true }. The application CI still ends with:

kubectl set image deploy/taskboard-api api="$CR_HOST/taskboard/api:$SHA"

After every release, the new image runs for a short time and then the previous image is back. What is the fix?