KCNA Cloud Native Application Delivery • Complete Question Bank
Complete KCNA Cloud Native Application Delivery question bank — all 0 questions with answers and detailed explanations.
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
spec:
replicas: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: myapp
image: myapp:1.0
resources:
requests:
cpu: 500m
memory: 256Mi
limits:
cpu: 1
memory: 512Mi
---
apiVersion: v1
kind: Service
metadata:
name: myapp-svc
spec:
type: ClusterIP
selector:
app: myapp
ports:
- port: 80
targetPort: 8080
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: myapp-hpa
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: myapp
minReplicas: 3
maxReplicas: 10
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 70Refer to the exhibit.
```
apiVersion: apps/v1
kind: Deployment
metadata:
name: web-app
spec:
replicas: 3
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- name: app
image: nginx:1.21
ports:
- containerPort: 80
readinessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 5
periodSeconds: 10
```Drag a concept onto its matching description — or click a concept then click the description.
Smallest deployable unit containing one or more containers
Stable network endpoint to access a set of Pods
Stores non-sensitive configuration data as key-value pairs
Cluster-wide storage resource provisioned by an administrator
Manages external access to services, typically HTTP
Drag a concept onto its matching description — or click a concept then click the description.
Monitoring and alerting toolkit
High-performance proxy for service mesh
Package manager for Kubernetes
Distributed key-value store for cluster state
DNS server for service discovery in Kubernetes
Drag a concept onto its matching description — or click a concept then click the description.
Default service type; exposes service on a cluster-internal IP
Exposes service on each node's IP at a static port
Exposes service externally using a cloud provider's load balancer
Service without a cluster IP; used for direct pod-to-pod communication
Implements traffic routing rules defined by Ingress resources
Drag or tap steps into the slots.
Drag or tap steps into the slots.
Drag or tap steps into the slots.
Drag or tap steps into the slots.
Drag a concept onto its matching description — or click a concept then click the description.
Request for storage by a user, referencing a PersistentVolume
Describes classes of storage with different QoS, backup policies, etc.
Ephemeral volume that shares a pod's lifecycle
Mounts a file or directory from the host node's filesystem
Container Storage Interface standard for pluggable storage drivers