Knowledge Check

Congratulations on completing Chapter 5 - APIs and Access. Take this quiz to check your understanding of the concepts you've learned about so far.

Question 5.1

Kubernetes uses a RESTful API-driven architecture, accepting standard HTTP verbs. True or False?

A. True

B. False

Question 5.2

_____________ allow for metadata to be included with an object that may be helpful outside the Kubernetes object interaction.

A. Annotations

B. Labels

C. kubectl

D. Controllers

Question 5.3

Which of the following must be included in a pod template?

A. kind

B. metadata

C. spec

D. apiVersion

E. All of the above

Question 5.4

What should be appended to the command in order to affect every namespace with kubectl?

A. This cannot be done

B. --every-object

C. --all-namespaces

D. --all

Question 5.5

All objects are restricted to a single namespace. True or False?

A. True

B. False

Answer: A A E C B

Last updated