CKAD Mock Exam - Validation issue [liveness probe]

For this question, it’s validating failed eventhough the solution is correct

image
image
image


Hi @shanmugam.saravanan

Just tested in my side and it’s work fine


apiVersion: v1
kind: Pod
metadata:
  name: probe-ckad-aom
spec:
  containers:
  - name: red-probe-cn-ckad12-trb
    image: busybox:latest
    args:
    - /bin/sh
    - -c
    - sleep 3 ; touch /healthcheck; sleep 30;sleep 30000
    livenessProbe:
      exec:
          command:
          - cat
          - /healthcheck
      initialDelaySeconds: 5
      periodSeconds: 1
      failureThreshold: 1

Did you remove and recreate the pod ??

I encountered the same issue as you described on my first attempt of the question. When the mock exam ended, I went back to re-attempt it and it passed even though I did not change anything from my first attempt. I’m not sure what caused it to be marked as incorrect on my first run.