Topic Practice Mode
Modern DevSecOps & Cloud Security Practice Test Practice Questions (12)
Practice test for freshers and junior cloud security engineers covering CI/CD automated pipeline scanning (SAST/DAST/SCA), Kubernetes RBAC, secrets management, Infrastructure-as-Code (Terraform) security, and container image signing.
Q1
Easy
• DevSecOps, SCA
In a DevSecOps CI/CD pipeline, what is the primary role of Software Composition Analysis (SCA)?
Q2
Easy
• Git Security, Secrets Management
What is the critical security hazard of storing plaintext database credentials or API secrets directly in Git repository commits?
Q3
Medium
• Kubernetes, Container Security
Which Kubernetes security control ensures that containers cannot gain elevated root privileges on the underlying host node?
Q4
Medium
• AppSec, SAST
What is the fundamental difference between SAST (Static Application Security Testing) and DAST (Dynamic Application Security Testing)?
Q5
Medium
• Terraform, Cloud Security
In Infrastructure-as-Code (IaC) security, what does a static linter (like tfsec, Checkov, or Trivy) inspect in Terraform configuration files?
Q6
Hard
• Supply Chain Security, Docker
What mechanism is used in container security to mathematically prove that a Docker container image deployed into production was built by an authorized CI/CD pipeline and has not been tampered with?
Q7
Easy
• Shift-Left, DevSecOps
What is the principle of 'Shift-Left' security in modern software development life cycles?
Q8
Easy
• AWS, Cloud IAM
In AWS IAM, what is the best practice for granting an Amazon EC2 instance or ECS container permission to access an S3 bucket?
Q9
Hard
• SSRF, Cloud Security
Which of the following is a primary defense against Server-Side Request Forgery (SSRF) vulnerabilities in cloud environments hosting microservices?
Q10
Medium
• Kubernetes, Network Security
In Kubernetes networking, what is the default behavior regarding pod-to-pod communication if no NetworkPolicy resource is defined in a namespace?
Q11
Medium
• CSPM, Cloud Compliance
What type of security tool continuously monitors deployed cloud environments against security benchmarks (CIS Benchmarks, NIST) and flags misconfigurations in real time?
Q12
Hard
• HashiCorp Vault, Secrets Management
In secrets management, what is a 'Dynamic Secret' (such as generated by HashiCorp Vault)?
Report Question Issue
Help us maintain verified assessment standards.