Docsity

[CDSP] Certified DevOps Security Professional Certification Exam Guide, Exams of Cybersecurity

Toggle sidebar
bg1
[CDSP] Certified DevOps Security Professional
Certification Exam Guide
**Question 1.** Which of the following best describes the “C” in the CAMS DevOps model?
A) Continuous Integration
B) Culture
C) Compliance
D) Containerization
Answer: B
Explanation: The “C” in CAMS stands for Culture, emphasizing collaboration, shared
responsibility, and a mindset shift toward security‑first practices.
**Question 2.** In a DevSecOps transformation, the “Security Silo” problem primarily refers to:
A) Security tools being isolated from CI/CD pipelines
B) Lack of version control for security policies
C) Over‑automation of security testing
D) Inadequate network segmentation
Answer: A
Explanation: The security silo occurs when security activities are performed in isolation,
disconnected from development and operations workflows, hindering early detection of issues.
**Question 3.** Which DevSecOps maturity level typically includes automated policy‑as‑code
enforcement across all environments?
A) Initial
B) Managed
C) Defined
D) Optimized
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60

Partial preview of the text

Download [CDSP] Certified DevOps Security Professional Certification Exam Guide and more Exams Cybersecurity in PDF only on Docsity!

Certification Exam Guide

Question 1. Which of the following best describes the “C” in the CAMS DevOps model? A) Continuous Integration B) Culture C) Compliance D) Containerization Answer: B Explanation: The “C” in CAMS stands for Culture, emphasizing collaboration, shared responsibility, and a mindset shift toward security‑first practices. Question 2. In a DevSecOps transformation, the “Security Silo” problem primarily refers to: A) Security tools being isolated from CI/CD pipelines B) Lack of version control for security policies C) Over‑automation of security testing D) Inadequate network segmentation Answer: A Explanation: The security silo occurs when security activities are performed in isolation, disconnected from development and operations workflows, hindering early detection of issues. Question 3. Which DevSecOps maturity level typically includes automated policy‑as‑code enforcement across all environments? A) Initial B) Managed C) Defined D) Optimized

Certification Exam Guide

Answer: D Explanation: At the Optimized maturity level, organizations enforce policies as code automatically throughout the pipeline, ensuring consistent compliance. Question 4. A pre‑commit hook that scans for secret strings before code is committed is an example of: A) Shift‑Right testing B) Shift‑Left security C) Runtime protection D) Post‑deployment validation Answer: B Explanation: Pre‑commit scanning enforces security early in the development lifecycle, embodying the Shift‑Left approach. Question 5. Which tool is specifically designed to detect hard‑coded secrets such as API keys in a Git repository? A) SonarQube B) TruffleHog C) JUnit D) Terraform Answer: B Explanation: TruffleHog scans Git history for high‑entropy strings that likely represent secrets.

Certification Exam Guide

D) Auditing infrastructure as code Answer: C Explanation: Dependency‑Check inspects project dependencies to find known vulnerabilities. Question 9. Dynamic Application Security Testing (DAST) differs from SAST because DAST: A) Requires source code access B) Operates on a running application C) Scans container images only D) Generates compliance reports Answer: B Explanation: DAST interacts with the live application to find runtime vulnerabilities like XSS or SQL injection. Question 10. Which technology combines runtime protection with real‑time vulnerability detection inside the application process? A) IAST B) SCA C) IaC D) CI Answer: A Explanation: Interactive Application Security Testing (IAST) instruments the application at runtime to detect issues as they occur.

Certification Exam Guide

Question 11. When scanning Terraform scripts for insecure S3 bucket configurations, which rule would you look for? A) bucket_versioning = true B) acl = "private" C) public_read_acl = true D) lifecycle_rule = {} Answer: C Explanation: Setting public_read_acl = true makes the bucket publicly readable, a common misconfiguration. Question 12. In the context of IaC, “Compliance as Code” means: A) Writing compliance policies in natural language B. Storing audit logs in a database C) Encoding regulatory requirements into automated checks D) Manual review of infrastructure scripts Answer: C Explanation: Compliance as Code automates policy enforcement by codifying rules and integrating them into CI/CD pipelines. Question 13. Which open‑source framework is commonly used to write compliance checks for Terraform? A) Checkov B) Ansible C) Jenkins

Certification Exam Guide

Question 16. In Kubernetes, which component enforces namespace‑level isolation and access control? A) kube‑proxy B) etcd C) RBAC D) CoreDNS Answer: C Explanation: Role‑Based Access Control (RBAC) defines permissions for users and service accounts within namespaces. Question 17. Network Policies in Kubernetes are used to: A) Scale deployments automatically B) Define allowed traffic between pods C) Store secret data D) Manage persistent volumes Answer: B Explanation: Network Policies specify how pods are allowed to communicate, limiting lateral movement. Question 18. Which registry scanning tool can automatically detect malware in container images before they are pulled? A) Clair B) Helm C) Istio

Certification Exam Guide

D) Terraform Answer: A Explanation: Clair scans container images for known vulnerabilities and malicious code. Question 19. A common misconfiguration in Kubernetes Service Accounts is: A) Using a ServiceAccount with no token B) Granting cluster‑admin role to default ServiceAccount C) Enabling read‑only access to ConfigMaps D) Disabling pod security policies Answer: B Explanation: Assigning cluster-admin to the default ServiceAccount gives excessive privileges, violating the principle of least privilege. Question 20. Which of the following best describes “Shift‑Right” testing? A) Performing security checks after production release B) Embedding security checks in the pre‑commit phase C) Automating compliance as code during build D) Using IaC to provision secure networks Answer: A Explanation: Shift‑Right focuses on monitoring and testing in production, complementing Shift‑Left.

Certification Exam Guide

D) Network intrusion detection Answer: B Explanation: Vault securely stores secrets and can generate short‑lived credentials on demand. Question 24. Which of the following is NOT a recommended practice for secret management in CI/CD pipelines? A) Storing secrets in plain‑text environment variables in the repo B) Using a centralized secret manager with fine‑grained access control C) Rotating secrets automatically after each deployment D) Auditing secret access logs Answer: A Explanation: Hard‑coding secrets in the repository is insecure and defeats secret management goals. Question 25. Robot Framework is primarily used for: A) Container image building B) Writing automated acceptance tests, including security tests C) Managing infrastructure as code D) Secret rotation Answer: B Explanation: Robot Framework supports keyword‑driven testing and can be extended for security validation.

Certification Exam Guide

Question 26. In a Behavior‑Driven Development (BDD) security test, the “Given‑When‑Then” syntax helps to: A) Deploy containers faster B) Define clear, human‑readable security scenarios C) Configure network firewalls automatically D) Encrypt data at rest Answer: B Explanation: BDD promotes collaboration by expressing test cases in natural language, including security expectations. Question 27. Continuous monitoring of production systems typically involves: A) Running unit tests on every commit B) Collecting logs, metrics, and alerts in real time C) Scanning Dockerfiles for syntax errors D) Manually reviewing code changes Answer: B Explanation: Continuous monitoring gathers operational data to detect anomalies and security incidents promptly. Question 28. Which component of the ELK stack is responsible for ingesting and transforming logs? A) Elasticsearch B) Logstash C) Kibana

Certification Exam Guide

Question 31. Which of the following is a key benefit of embedding security gates in the pull‑request (PR) workflow? A) Reducing the need for compliance audits B) Preventing insecure code from merging into main branches C) Eliminating the need for runtime monitoring D) Automatically scaling infrastructure Answer: B Explanation: PR‑level security checks stop vulnerable code early, maintaining a clean main branch. Question 32. A “high‑entropy string” detected by a secret‑scanning tool most likely indicates: A) An encrypted password B) A random API key or token C) A compressed file name D) A base64‑encoded image Answer: B Explanation: High entropy suggests randomness typical of secrets such as API keys. Question 33. Which of the following is a false statement about SCA tools? A) They can generate a Software Bill of Materials (SBOM) B) They only analyze compiled binaries C) They map dependencies to known CVEs D) They help enforce license compliance

Certification Exam Guide

Answer: B Explanation: SCA works on source‑level dependency manifests, not just compiled binaries. Question 34. In Kubernetes, a “PodSecurityPolicy” that disallows privileged containers helps to: A) Increase pod startup speed B) Reduce the attack surface by limiting escalated privileges C) Enable automatic scaling of pods D) Store secrets in etcd Answer: B Explanation: Disallowing privileged containers prevents containers from gaining host‑level access. Question 35. Which of the following is an example of a “runtime application self‑protection” (RASP) capability? A) Blocking SQL injection attempts inside the application process B) Scanning Docker images before push C) Enforcing IAM policies on cloud resources D) Running static code analysis during build Answer: A Explanation: RASP instruments the application at runtime to detect and block attacks such as SQL injection.

Certification Exam Guide

Answer: B Explanation: Immutable infrastructure replaces entire resources instead of patching, ensuring consistency and easy rollback. Question 39. Which of the following is a common misconfiguration in AWS S3 that leads to data exposure? A) Enabling server‑side encryption B) Setting bucket policy to Principal: "*" with s3:GetObject C) Using versioning D) Applying MFA delete Answer: B Explanation: A bucket policy that grants s3:GetObject to everyone makes the bucket publicly readable. Question 40. In the context of CI/CD, “artifact signing” primarily provides: A) Faster build times B) Assurance that binaries have not been tampered with C) Automatic dependency updates D) Secret management Answer: B Explanation: Signing artifacts cryptographically verifies their integrity and origin. Question 41. Which of the following is NOT a typical output of a DAST scan? A) HTTP response codes for malicious payloads

Certification Exam Guide

B) List of insecure API endpoints C) Source code line numbers of vulnerabilities D) Evidence of cross‑site scripting Answer: C Explanation: DAST works on running applications and cannot pinpoint source code lines. Question 42. Which Kubernetes object is used to enforce pod‑level security contexts such as dropping capabilities? A) ConfigMap B) Service C) SecurityContext (within PodSpec) D) PersistentVolume Answer: C Explanation: securityContext defines Linux capabilities, user IDs, and other security settings for pods/containers. Question 43. A “pipeline as code” definition stored in a version‑controlled file enables: A) Manual approval of every deployment step B) Reproducible, auditable CI/CD workflows C) Dynamic scaling of compute resources only D) Automatic secret rotation without a vault Answer: B Explanation: Storing pipeline definitions as code ensures traceability and repeatability.

Certification Exam Guide

C) Allowing developers to bypass CI pipelines D) Disabling network policies Answer: B Explanation: GitOps treats Git as the single source of truth, automatically applying changes to match the declared state. Question 47. Which of the following is a typical indicator of a compromised container image in a registry? A) High image pull count B) Presence of unknown or malicious layers detected by scanning tools C) Use of official base images D) Tags following semantic versioning Answer: B Explanation: Scanners that detect unexpected binaries or malware in image layers reveal compromises. Question 48. Which security principle is directly supported by using “short‑lived credentials” generated by a secret manager? A) Defense in depth B) Least privilege C) Confidentiality D) Availability Answer: B

Certification Exam Guide

Explanation: Short‑lived credentials limit the window of exposure, enforcing least privilege. Question 49. In the context of incident response, “auto‑scaling down compromised pods” helps to: A) Increase overall system throughput B) Contain the impact of a breach by reducing attack surface C) Deploy new features faster D) Generate compliance reports Answer: B Explanation: Reducing the number of vulnerable pods limits the attacker’s foothold. Question 50. Which of the following is NOT a recommended practice when writing Terraform modules for security? A) Hard‑coding IAM credentials in the module B) Using variables for sensitive data and referencing secret managers C) Enforcing least‑privilege policies in resource definitions D) Validating configurations with terraform validate Answer: A Explanation: Hard‑coding credentials is insecure; secrets should be externalized. Question 51. A “policy engine” integrated into a CI pipeline that evaluates IaC code against security standards is an example of: A) Runtime protection B) Shift‑Left compliance enforcement