Interview › Security & DevSecOps
What is Zero Trust, and how does it differ from perimeter-based security? [Intermediate]
Answer
Zero Trust assumes no network location is automatically trusted. Every request should be authenticated, authorized, encrypted, and continuously evaluated based on identity, device/workload posture, context, and least privilege. This differs from perimeter security, which trusts traffic once it is inside the network.
Technical explanation
Perimeter models fail when attackers compromise internal credentials, VPNs, workloads, or lateral movement paths.
Zero Trust emphasizes identity-aware access, mTLS, strong authorization, segmentation, continuous monitoring, and explicit policy.
It is a security architecture direction, not a single product.
Hands-on example
Hands-on: for services, enable mTLS through a service mesh, authorize service-to-service calls with identities, restrict Kubernetes NetworkPolicies, use short-lived workload credentials, and log every privileged action for audit and anomaly detection.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Security & DevSecOps interview questions
- How do you apply least privilege to service-to-service communication (e.g., with Istio mTLS)? [Intermediate]
- What is secrets management, and how does HashiCorp Vault work at a high level? [Intermediate]
- What is OPA, and what is the Rego language used for? [Intermediate]
- What is encryption at rest versus in transit, and how do you ensure both? [Advanced]
- What is workload identity, and how does it remove static credentials? [Intermediate]
- What is the difference between symmetric and asymmetric encryption? [Advanced]
- What is certificate management, and how do tools like cert-manager help? [Advanced]
- What is the difference between authentication and authorization? [Advanced]