CKAD Application Deployment • Complete Question Bank
Complete CKAD Application Deployment question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit.
apiVersion: apps/v1
kind: Deployment
metadata:
name: web
spec:
replicas: 3
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- name: nginx
image: nginx:1.19
ports:
- containerPort: 80
livenessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /ready
port: 80
initialDelaySeconds: 5
periodSeconds: 5Refer to the exhibit.
```
apiVersion: apps/v1
kind: Deployment
metadata:
name: web
spec:
replicas: 3
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- name: nginx
image: nginx:1.21
ports:
- containerPort: 80
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
```Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Create or update resources from a file
Rollback a deployment to a previous revision
Execute a command inside a container
Forward local port to a pod port
Show detailed state of a resource
Drag a concept onto its matching description — or click a concept then click the description.
Temporary storage that shares a pod's lifecycle
Mounts a file or directory from the host node
Requests durable storage from a PersistentVolume
Inject configuration data as files or env vars
Inject sensitive data as files or env vars