200-901 • Practice Test 13
Free 200-901 practice test — 15 questions with explanations. Set 13. No signup required.
Refer to the exhibit. A security audit requires that the container cannot run as root. Which part of the pod spec ensures this?
apiVersion: v1
kind: Pod
metadata:
name: webapp
spec:
containers:
- name: webapp
image: myapp:latest
securityContext:
runAsUser: 1000
runAsGroup: 3000
allowPrivilegeEscalation: false
volumeMounts:
- name: config
mountPath: /etc/config
volumes:
- name: config
configMap:
name: app-config