Can you please help me on this question

I have attempted this question and i find my answer is correct but still it shows incorrect. Kindly help.

Question: For this question, please set the context to cluster1 by running:

kubectl config use-context cluster1

In the ckad-job namespace, schedule a job called learning-every-minute that prints this message in the shell every minute: I am practicing for CKAD certification.

In case the container in pod failed for any reason, it should be restarted automatically.

Use busybox:1.28 image for the cronjob!

below is my answer:

apiVersion: batch/v1
kind: CronJob
metadata:
  creationTimestamp: null
  name: learning-every-minute
  namespace: ckad-job
spec:
  jobTemplate:
    metadata:
      creationTimestamp: null
      name: learning-every-minute
    spec:
      template:
        metadata:
          creationTimestamp: null
        spec:
          containers:
          - image: busybox:1.28
            name: learning-every-minute
            resources: {}
            command: ["sh","-c","echo 'I am practicing for CKAD certification'"]
          restartPolicy: OnFailure
  schedule: '*/1 * * * *'
status: {}

Normally I’d ask for a link to the lab, although this sounds like it’s a problem from the Ultimate CKAD Mock Exams, which I’m aware is difficult to give a link to (since the questions vary each time you take an exam).

I don’t see anything obviously wrong with the YAML; it’s got the right restart policy, it uses the correct image, and the schedule key looks correct. But the grader can be persnickety, and might look for you to use args instead of command, or some other difference like that. Without testing this myself, I can’t say. You can look at the solution in the page after you choose “End the Exam”, which will tell you what it thinks the solution is.

Hi rob,

I looked at the solution and it has all star “*****” in schedule which I don’t think is correct. Also, it says my command is not correct.

But i tested and validated job ran and successfully completed in logs.