701-100 Exam QuestionsBrowse all questions from this exam

701-100 Exam - Question 25


FILL BLANK -

Which elements exist on the highest level of the definition of every Kubernetes Objects? (Specify the name of one of the elements, without any values.)

Show Answer
Correct Answer:

The elements that exist on the highest level of the definition of every Kubernetes object are 'apiVersion', 'kind', 'metadata', and 'spec'. These are the essential fields that define a Kubernetes object. Since the question asks for one of the elements without any values, 'apiVersion' is one example that fits this criteria. 'apiVersion' specifies the version of the Kubernetes API you are using to create the object.

Discussion

7 comments
Sign in to comment
hector1978
Feb 17, 2020

Wrong answer. It's apiVersion

DALII
Feb 21, 2021

Pod is a top-level resource in the Kubernetes REST API. The Pod object definition describes the object in detail. ---- https://kubernetes.io/docs/concepts/workloads/pods/ it's correct answer i think

Blob21
Jun 23, 2021

I think its apiVersion. look at the exaxt wording of the question

Auditore
Nov 24, 2020

deployment

Julioz
Jan 17, 2021

Agree its "apiVersion" https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/ ``` apiVersion: apps/v1 kind: Deployment metadata: ```

MJ06
Sep 7, 2021

"Required Fields In the .yaml file for the Kubernetes object you want to create, you'll need to set values for the following fields: apiVersion - Which version of the Kubernetes API you're using to create this object kind - What kind of object you want to create metadata - Data that helps uniquely identify the object, including a name string, UID, and optional namespace spec - What state you desire for the object" Looks like it could be any of the four fields listed above based on the question referencing "elements" and requesting that you name one of the elements. https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/

Peixinho
Apr 25, 2023

"apiVersion", "kind", "metadata"