Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CKAD Exam - Topic 10 Question 9 Discussion

Posted by Ma on Jul 24, 2022 at 12:17 PM

Refer to Exhibit.

Context

Developers occasionally need to submit pods that run periodically.

Task

Follow the steps below to create a pod that will start at a predetermined time and]which runs to completion only once each time it is started:

* Create a YAML formatted Kubernetes manifest /opt/KDPD00301/periodic.yaml that runs the following shell command: date in a single busybox container. The command should run every minute and must complete within 22 seconds or be terminated oy Kubernetes. The Cronjob namp and container name should both be hello

* Create the resource in the above manifest and verify that the job executes successfully at least once

Suggested Answer: A

Get Premium CKAD Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
38 comments · newest first
IS
Isadora 12 months ago
This is a classic use case for Kubernetes, love it!
BE
Beckie 1 year ago
The container name and job name both being "hello" is a bit confusing.
ED
Edgar 1 year ago
Wait, it has to complete in 22 seconds? That seems tight!
EL
Elli 1 year ago
Totally agree, that's super useful for periodic tasks.
WH
Whitley 1 year ago
Just a reminder, the cron job runs every minute!
HY
Hyman 1 year ago
I feel like I need to double-check how to set the completion time limit in the YAML file. I hope I can remember the correct format!
JO
Joanna 1 year ago
This question seems similar to the one we did on scheduling jobs. I hope I can recall the right parameters for the manifest.
AR
Armando 1 year ago
I think the command should be straightforward, just running `date` in a busybox container, but I’m a bit confused about the termination part.
MA
Marg 1 year ago
I remember we practiced creating CronJobs, but I’m not entirely sure about the exact YAML syntax for the schedule.
NO
Nohemi 1 year ago
I'm feeling a bit uncertain on this one. I know the Falcon platform has a lot of reporting options, but I'm not familiar with the specific ones related to sensor status. I think I'll go with C, since that seems the most likely based on the question, but I'm not 100% sure.
DI
Dick 1 year ago
Hmm, I'm a bit unsure about this one. I'll need to think through the different search syntax options to determine which one would return the events with both "error" and "fail".
KR
Kris 1 year ago
I feel like I might have mixed this up with a different service that doesn't handle compliance checks.
JA
Jacklyn 1 year ago
I hope the answer choices aren't as confusing as the exhibit image. That thing looks like a maze!
DE
Deandrea 1 year ago
↳ replying to Jacklyn
Let's try to break down the question step by step.
TE
Tequila 1 year ago
↳ replying to Jacklyn
I'm not sure, option C also seems like a valid answer.
SI
Sina 1 year ago
↳ replying to Jacklyn
I think option B looks like the correct choice.
JO
Joanna 1 year ago
↳ replying to Jacklyn
I agree, the exhibit image is quite confusing.
SH
Sherron 1 year ago
Alright, time to put my Kubernetes skills to the test. Let's do this!
FR
Franklyn 1 year ago
Hmm, I wonder if I can sneak in a joke about 'running on time' or 'timing is everything' in my response. Gotta keep things light, you know?
AR
Arthur 1 year ago
↳ replying to Franklyn
Nikita: Haha, yeah, timing is everything in this case!
NI
Nikita 1 year ago
↳ replying to Franklyn
User 2: Nice! Did you manage to make it run on time?
LO
Lorita 1 year ago
↳ replying to Franklyn
User 1: I think I nailed the Kubernetes manifest for the periodic pod.
MA
Matthew 2 years ago
I like how the task is clearly defined, with specific requirements to follow. This should be a good way to test my Kubernetes knowledge.
DE
Devora 1 year ago
↳ replying to Matthew
Malika: I'm excited to test my Kubernetes skills with this task.
MA
Malika 1 year ago
↳ replying to Matthew
User 2: I agree, having specific requirements makes it easier to focus on what needs to be done.
MA
Marsha 1 year ago
↳ replying to Matthew
User 1: The task seems challenging but well-defined.
CL
Clay 2 years ago
The question seems straightforward, but I want to double-check the specifics on the timing and container name.
GE
Gertude 1 year ago
↳ replying to Clay
If you follow the steps correctly, the job should execute successfully.
TE
Temeka 1 year ago
↳ replying to Clay
Make sure the command runs every minute and completes within 22 seconds.
LU
Luis 1 year ago
↳ replying to Clay
The container name should be 'hello' as specified in the task.
IE
Iesha 1 year ago
↳ replying to Clay
You can set the timing in the manifest file using the cron syntax.
RO
Ronna 1 year ago
↳ replying to Clay
Verify that the job executes successfully after creating the resource.
MA
Malcom 1 year ago
↳ replying to Clay
Make sure the command runs every minute and completes within 22 seconds.
TH
Thurman 1 year ago
↳ replying to Clay
The container name should be 'hello' as specified in the task.
CA
Carlton 1 year ago
↳ replying to Clay
You can set the timing in the YAML manifest file for the Cronjob.
JA
Janessa 2 years ago
I believe the key is to ensure the command completes within 22 seconds or Kubernetes will terminate it.
CO
Cortney 2 years ago
Yes, we need to create a YAML manifest for a CronJob that runs a shell command every minute.
JA
Janessa 2 years ago
I think the question is about creating a pod that runs periodically.
0/2000 characters

Save Cancel