Exam Details

  • Exam Code
    :CKAD
  • Exam Name
    :Certified Kubernetes Application Developer (CKAD) Program
  • Certification
    :Kubernetes Application Developer
  • Vendor
    :Linux Foundation
  • Total Questions
    :33 Q&As
  • Last Updated
    :May 13, 2024

Linux Foundation Kubernetes Application Developer CKAD Questions & Answers

  • Question 21:

    CORRECT TEXT

    Context

    You sometimes need to observe a pod's logs, and write those logs to a file for further analysis.

    Task

    Please complete the following;

    1.

    Deploy the counter pod to the cluster using the provided YAMLspec file at /opt/KDOB00201/counter.yaml

    2.

    Retrieve all currently available application logs from the running pod and store them in the file /opt/KDOB0020l/log_Output.txt, which has already been created

    A. Please check explanations

    B. Place Holder

  • Question 22:

    CORRECT TEXT

    Context You are tasked to create a secret and consume the secret in a pod using environment variables as follow: Task

    1.

    Create a secret named another-secret with a key/value pair; key1/value4

    2.

    Start an nginx pod named nginx-secret using container image nginx, and add an environment variable exposing the value of the secret key key1, using COOL_VARIABLE as the name for the environment variable inside the pod

    A. Please check explanations

    B. Place Holder

  • Question 23:

    CORRECT TEXT

    Task:

    Create a Pod named nginx resources in the existing pod resources namespace.

    Specify a single container using nginx:stable image.

    Specify a resource request of 300m cpus and 1Gi of memory for the Pod's container.

    A. Please check explanations

    B. Place Holder

  • Question 24:

    CORRECT TEXT

    Context

    A user has reported an application is unreachable due to a failing livenessProbe .

    Task

    Perform the following tasks:

    Find the broken pod and store its name and namespace to /opt/KDOB00401/broken.txt in the format:

    The output file has already been created

    1.

    Store the associated error events to a file /opt/KDOB00401/error.txt, The output file has already been created. You will need to use the -o wide output specifier with your command

    2.

    Fix the issue.

    A. Please check explanations

    B. Place Holder

  • Question 25:

    CORRECT TEXT

    Context

    You are tasked to create a ConfigMap and consume the ConfigMap in a pod using a volume mount.

    Task

    Please complete the following:

    1.

    Create a ConfigMap named another-config containing the key/value pair: key4/value3

    2.

    start a pod named nginx-configmap containing a single container using the nginx image, and mount the key you just created into the pod under directory /also/a/path

    A. Please check explanations

    B. Place Holder

  • Question 26:

    CORRECT TEXT

    Task:

    To run 2 replicas of the pod

    Add the following label on the pod:

    Role userUI

    A. Please check explanations

    B. Place Holder

  • Question 27:

    CORRECT TEXT

    Task:

    1.

    Update the Propertunel scaling configuration of the Deployment web1 in the ckad00015 namespace setting maxSurge to 2 and maxUnavailable to 59

    2.

    Update the web1 Deployment to use version tag 1.13.7 for the Ifconf/nginx container image.

    3.

    Perform a rollback of the web1 Deployment to its previous version

    A. Please check explanations

    B. Place Holder

  • Question 28:

    CORRECT TEXT Context Anytime a team needs to run a container on Kubernetes they will need to define a pod within which to run the container. Task Please complete the following:

    1.

    Create a YAML formatted pod manifest

    2.

    /opt/KDPD00101/podl.yml to create a pod named app1 that runs a container named app1cont using image Ifccncf/arg-output with these command line arguments: -lines 56 -F

    3.

    Create the pod with the kubect1 command using the YAML file created in the previous step

    4.

    When the pod is running display summary data about the pod in JSON format using the kubect1 command and redirect the output to a file named /opt/KDPD00101/out1.json

    5.

    All of the files you need to work with have been created, empty, for your convenience

    A. Please check explanations

    B. Place Holder

  • Question 29:

    CORRECT TEXT

    Context

    A pod is running on the cluster but it is not responding.

    Task

    The desired behavior is to have Kubemetes restart the pod when an endpoint returns an HTTP 500 on the /healthz endpoint. The service, probe-pod, should never send traffic to the pod while it is failing. Please complete the following:

    1.

    The application has an endpoint, /started, that will indicate if it can accept traffic by returning an HTTP 200. If the endpoint returns an HTTP 500, the application has not yet finished initialization.

    2.

    The application has another endpoint /healthz that will indicate if the application is still working as expected by returning an HTTP 200. If the endpoint returns an HTTP 500 the application is no longer responsive.

    3.

    Configure the probe-pod pod provided to use these endpoints

    4.

    The probes should use port 8080

    A. Please check explanations

    B. Place Holder

  • Question 30:

    CORRECT TEXT

    Context

    A project that you are working on has a requirement for persistent data to be available.

    Task

    To facilitate this, perform the following tasks:

    1.

    Create a file on node sk8s-node-0 at /opt/KDSP00101/data/index.html with the content Acct=Finance

    2.

    Create a PersistentVolume named task-pv-volume using hostPath and allocate 1Gi to it, specifying that the volume is at /opt/KDSP00101/data on the cluster's node.

    The configuration should specify the access mode of ReadWriteOnce. It should define the StorageClass name exam for the PersistentVolume, which will be used to bind PersistentVolumeClaim requests to this PersistenetVolume.

    1.

    Create a PefsissentVolumeClaim named task-pv-claim that requests a volume of at least 100Mi and specifies an access mode of ReadWriteOnce

    2.

    Create a pod that uses the PersistentVolmeClaim as a volume with a label app: my- storage-app mounting the resulting volume to a mountPath /usr/share/nginx/html inside the pod

    A. Please check explanations

    B. Place Holder

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Linux Foundation exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CKAD exam preparations and Linux Foundation certification application, do not hesitate to visit our Vcedump.com to find your solutions here.