How would you secure the container supply chain?
Use trusted build systems, dependency pinning, SBOMs, vulnerability scanning, image signing and verification, protected registries, and deployment policy enforcement.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 1501–1512 of 3610 questions
Use trusted build systems, dependency pinning, SBOMs, vulnerability scanning, image signing and verification, protected registries, and deployment policy enforcement.
Spread replicas across zones using topology spread constraints or pod anti-affinity, use multi-zone-capable storage and load balancing, and validate dependency resilience.
Taints repel Pods unless they tolerate the taint. Affinity attracts or constrains placement based on labels. Use them to isolate specialized workloads or express topology requireme
Handle termination signals, stop accepting new work, drain in-flight requests, configure a suitable termination grace period, and ensure readiness becomes false during shutdown.
Set bounded timeouts, retry only transient failures, use exponential backoff with jitter, cap attempts, and make non-idempotent operations safe through idempotency keys or deduplic
A service mesh can centralize service-to-service traffic policy, mutual TLS, retries, telemetry, and traffic splitting through data-plane proxies and a control plane.
Ingress provides a comparatively simple HTTP routing model. Gateway API offers more expressive, role-oriented resources for listeners, routes, and policy, depending on controller s
Use an operator or managed database where appropriate; plan persistent storage, backups, restore tests, replication, upgrades, fencing, monitoring, and failure recovery. StatefulSe
Define RPO and RTO, back up cluster configuration and persistent data, store backups outside the failure domain, test restores, and document regional recovery steps.
Measure representative load, estimate per-request CPU and memory, test bursts and concurrency, set requests to support scheduling, and apply limits after evaluating throttling and
Use readiness probes, rolling updates with appropriate surge/unavailable settings, backward-compatible database changes, graceful shutdown, and progressive delivery with metrics-ba
GitOps uses Git as the declarative source of truth and a controller reconciles cluster state toward the reviewed configuration stored in Git.