Labs Flashcards

1
Q

Are taints part of the metadata like labels?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to add worker nodes to a cluster that has a master node if they are on different servers

A

Use the join command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does YAML stand for?

A

Yaml ain’t markup language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Are tabs allowed in YAML?

A

No, you must use white spaces for indentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What separator is used to define multiple structures in a single file?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How many types of structures are there in YAML

A

2, Maps and Lists

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does YAML apply to Kubernetes?

A

Kubernetes objects are created using CLI with kubectl and manifest files. Guess what, manifest file is a yaml file that includes all the parameters needed to create a specific object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Advantages of defining an object in a manifest file

A

Convenience: No need to add parameters to CL.
Maintenance: Much easier to manage and troubleshoot.
Flexibility: Allows to create much more complicated objects than you can on CLI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How many fields a Kubernetes object include? Specify them

A
5.
apiVersion
kind
metadata
spec
status
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

During the scaling process, should my application be interrupted?

A

No unless 0 replicas are specified. Users can continue to refresh and make internal requests to your webpage and it will still work.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly