DevOps Quiz 76

Last Updated :
Discuss
Comments

Question 1

 In Helm, what does the values.yaml file primarily store?

  • Template files for rendering resources

  • Default configuration values for the chart 

  • Kubernetes manifests after rendering

  • Helm CLI settings

Question 2

When you run helm install with no release name, what happens by default?

  • The chart install fails

  • Helm generates a random release name 

  • Helm installs with the chart name as release name

  • Helm uses the namespace name as release name

Question 3

Which directory in a Helm chart stores Kubernetes manifest templates?

  • /charts

  •  /templates

  • /values

  • /manifests

Question 4

 What is the correct order of precedence for Helm values?

  • Chart defaults < CLI --set < values file

  • CLI --set < Chart defaults < values file

  •  Values file < CLI --set < Chart defaults

  • Chart defaults < values file < CLI --set

Question 5

Which Kubernetes probe checks if a container is still running and should be restarted if it fails?

  • Startup Probe

  • Liveness Probe

  • Readiness Probe

  • TCP Probe

Question 6

 What is the purpose of the _helpers.tpl file in a Helm chart?

  • Store default values

  • Define reusable template snippets 

  •  Define chart dependencies

  • Store pre-install hooks

Question 7

Which probe is specifically designed for slow-starting applications?

  • Liveness Probe

  • Readiness Probe

  • Startup Probe

  • Startup Probe

Question 8

An HTTP probe is considered successful if it returns which status code range?

  • 100-199

  • 200-399

  • 400-499

  • 500-599

Question 9

 You run helm upgrade --install myrelease ./mychart. What happens if myrelease does not exist?

  • The command fails

  •  Helm installs the chart as a new release 

  •  Helm updates another release with the same chart

  • Helm creates an empty release

Question 10

What is the main benefit of using Startup probes along with Liveness probes?

  • They reduce the number of pods in a cluster

  • They let readiness probes run faster

  •  They prevent premature restarts of slow-starting containers 

  • They automatically scale deployments

Tags:

There are 10 questions to complete.

Take a part in the ongoing discussion