Docsity

PrepIQ GSDC Certified DevSecOps PractitionerCDSOP Ultimate Exam, Exams of Technology

Toggle sidebar
bg1
PrepIQ GSDC Certified DevSecOps
PractitionerCDSOP Ultimate Exam
**Question 1.** Which principle of the Three Ways specifically emphasizes the need
to get feedback from production systems back to development?
A) The First Way – Flow
B) The Second Way – Feedback
C) The Third Way – Continual Learning
D) The Fourth Way – Automation
Answer: B
Explanation: The Second Way focuses on creating fast feedback loops from
production to development, enabling teams to detect and correct issues quickly.
**Question 2.** In the “Shift Left” philosophy, which activity is moved earliest in the
software lifecycle?
A) Incident response
B) Penetration testing
C) Security testing
D) Disaster recovery planning
Answer: C
Explanation: “Shift Left” means performing security testing (e.g., SAST, secret
scanning) early, during coding and build phases, rather than waiting for later
stages.
**Question 3.** The Rugged Manifesto primarily advocates for which cultural
change?
A) Centralizing security in a dedicated team
B) Treating security as a shared responsibility across all roles
C) Eliminating all manual security checks
D) Outsourcing security to third-party vendors
Answer: B
Explanation: The Rugged Manifesto promotes a culture where every team member
—dev, ops, security—owns security outcomes.
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

Partial preview of the text

Download PrepIQ GSDC Certified DevSecOps PractitionerCDSOP Ultimate Exam and more Exams Technology in PDF only on Docsity!

PractitionerCDSOP Ultimate Exam

Question 1. Which principle of the Three Ways specifically emphasizes the need to get feedback from production systems back to development? A) The First Way – Flow B) The Second Way – Feedback C) The Third Way – Continual Learning D) The Fourth Way – Automation Answer: B Explanation: The Second Way focuses on creating fast feedback loops from production to development, enabling teams to detect and correct issues quickly. Question 2. In the “Shift Left” philosophy, which activity is moved earliest in the software lifecycle? A) Incident response B) Penetration testing C) Security testing D) Disaster recovery planning Answer: C Explanation: “Shift Left” means performing security testing (e.g., SAST, secret scanning) early, during coding and build phases, rather than waiting for later stages. Question 3. The Rugged Manifesto primarily advocates for which cultural change? A) Centralizing security in a dedicated team B) Treating security as a shared responsibility across all roles C) Eliminating all manual security checks D) Outsourcing security to third-party vendors Answer: B Explanation: The Rugged Manifesto promotes a culture where every team member —dev, ops, security—owns security outcomes.

PractitionerCDSOP Ultimate Exam

Question 4. Which of the following best describes “Security as Code” (SaC)? A) Writing security policies in natural language documents B) Embedding security controls directly into IaC templates and pipelines C) Performing manual security audits after deployment D) Using only proprietary security tools Answer: B Explanation: SaC means codifying security controls (e.g., OPA policies, Terraform checks) so they can be version-controlled and automated. Question 5. Which tool is commonly used for Policy as Code enforcement in Kubernetes environments? A) SonarQube B) Open Policy Agent (OPA) C) Trivy D) Jenkins Answer: B Explanation: OPA evaluates policies written in Rego against Kubernetes resources, enabling automated policy enforcement. Question 6. When scanning Terraform scripts for misconfigurations, which open-source tool provides a “plan-time” check? A) Checkov B) Snyk Code C) Burp Suite D) Fortify Answer: A Explanation: Checkov parses Terraform plans and flags insecure configurations before resources are provisioned. Question 7. Which of the following is a primary benefit of integrating GRC into automated CI/CD workflows?

PractitionerCDSOP Ultimate Exam

B) OWASP ZAP

C) Terraform Validate D) Ansible Lint Answer: B Explanation: OWASP ZAP is a DAST tool that actively probes a live application for common web vulnerabilities. Question 11. The primary purpose of a “container image scan” before pushing to a registry is to: A) Reduce image size for faster download B) Detect known CVEs in OS packages and libraries C) Verify Dockerfile syntax compliance D) Ensure the container runs on Windows hosts Answer: B Explanation: Image scanning tools (e.g., Trivy, Clair) compare layers against vulnerability databases to flag known CVEs. Question 12. Which Kubernetes feature controls network traffic between pods at the IP-level? A) RBAC B) NetworkPolicy C) PodSecurityPolicy D) ConfigMap Answer: B Explanation: NetworkPolicy objects define allowed inbound/outbound traffic for selected pods, enforcing micro-segmentation. Question 13. In serverless security, the “least privilege” principle is most often enforced through: A) IAM role permissions attached to the function execution role B) Container runtime security contexts

PractitionerCDSOP Ultimate Exam

C) Host-based firewalls on the underlying VM D) Manual code reviews only Answer: A Explanation: Serverless functions run with an IAM role; granting only the permissions needed reduces attack surface. Question 14. Which of the following tools provides real-time detection of anomalous system calls inside a container? A) Falco B) Snyk Container C) Terraform Plan D) ZAP Answer: A Explanation: Falco monitors Linux kernel events (syscalls) to detect suspicious container behavior at runtime. Question 15. Interactive Application Security Testing (IAST) differs from SAST and DAST because it: A) Requires no instrumentation of the application B) Runs only after the application is retired C) Instruments the application at runtime to provide contextual vulnerability data D) Scans only the operating system kernel Answer: C Explanation: IAST inserts agents into the running app, combining static analysis insights with dynamic runtime context. Question 16. Which of the following is a core component of the “Third Way” in DevSecOps? A) Automating the entire pipeline B) Creating fast feedback loops C) Encouraging a culture of experimentation and learning

PractitionerCDSOP Ultimate Exam

D) Outsourcing compliance to a third-party auditor only after release Answer: B Explanation: Continuous compliance means automated, ongoing validation of controls with each code change. Question 20. Which of the following is NOT a typical output of a Static Application Security Testing (SAST) tool? A) CWE-identified vulnerable code snippets B) Runtime memory usage statistics C) False-positive confidence scores D) Recommendations for code remediation Answer: B Explanation: SAST analyzes source code statically; it does not provide runtime metrics such as memory usage. Question 21. What is the main advantage of using Open Policy Agent (OPA) with the Rego language for policy enforcement? A) Policies are written in a compiled binary format only B) Rego allows declarative, context-aware policies that can be version-controlled and tested C) OPA only works with Docker containers, limiting scope D) Rego policies cannot be unit-tested Answer: B Explanation: Rego policies are declarative, can reference request context, and are stored in source control, enabling CI testing. Question 22. Which of the following describes a “security user story” in Agile development? A) A narrative describing how a developer will refactor code B) A requirement that defines a security need, e.g., “As a user, I want my data encrypted at rest” C) A performance benchmark for the CI pipeline

PractitionerCDSOP Ultimate Exam

D) A risk assessment matrix for the organization Answer: B Explanation: Security user stories capture security requirements from an end-user perspective, guiding development. Question 23. Which of the following is a recommended practice for managing vulnerable open-source dependencies? A) Ignoring low-severity CVEs to reduce noise B) Using a Software Composition Analysis (SCA) tool to generate a bill-of-materials (BOM) and auto-update patches C) Manually checking each dependency on NVD after every commit D) Removing all open-source libraries from the project Answer: B Explanation: SCA tools automate BOM generation, vulnerability detection, and can trigger automated pull-requests for fixes. Question 24. In Kubernetes, which resource defines the permissions a service account can grant within the cluster? A) ConfigMap B) RoleBinding (or ClusterRoleBinding) C) PersistentVolumeClaim D) Ingress Answer: B Explanation: RoleBinding (or ClusterRoleBinding) ties a Role/ClusterRole to a user, group, or service account, granting permissions. Question 25. Which of the following best explains “runtime security” for containers? A) Scanning Dockerfiles before image build B) Enforcing least-privilege capabilities and monitoring system calls while containers run

PractitionerCDSOP Ultimate Exam

D) During daily backup jobs Answer: B Explanation: Policy checks during the plan stage prevent insecure resources from ever being created. Question 29. Which of the following is a key metric for measuring the effectiveness of a DevSecOps implementation? A) Number of lines of code written per developer B) Mean Time to Detect (MTTD) security vulnerabilities C. Total number of Docker images stored D. Amount of storage used by logs Answer: B Explanation: MTTD reflects how quickly the pipeline surfaces security issues, a core DevSecOps performance indicator. Question 30. Which of the following is an example of an “abuse case” that should be captured during security requirements gathering? A) “User can view their own profile” B) “An attacker attempts to perform a CSRF attack on the payment endpoint” C) “System must process 1,000 requests per second” D) “Database schema must be normalized to 3NF” Answer: B Explanation: Abuse cases model malicious behavior (e.g., CSRF) to guide security controls. Question 31. Which of the following best describes the purpose of a “defect dojo” platform in a DevSecOps environment? A) To host Docker images for public consumption B) To centralize vulnerability findings from multiple scanners and track remediation C) To replace source-code version control D) To automate cloud cost optimization

PractitionerCDSOP Ultimate Exam

Answer: B Explanation: DefectDojo aggregates findings, normalizes data, and provides workflow for fixing vulnerabilities. Question 32. In a CI pipeline, which of the following actions qualifies as “auto-fix” for a known vulnerability? A) Sending an email to the security team B) Opening a JIRA ticket manually C) Running a script that updates a vulnerable npm package to a patched version and commits the change D) Blocking the pipeline indefinitely until a human approves Answer: C Explanation: Auto-fix automates remediation, such as updating dependencies and committing the fix without manual steps. Question 33. Which of the following describes the “Principle of Least Privilege” when applied to container runtimes? A) Granting containers root access to simplify debugging B) Running containers with the minimal Linux capabilities and non-root user IDs required for the workload C) Allowing any container to communicate with any other container on the network D) Disabling all security controls to improve performance Answer: B Explanation: Least privilege limits container capabilities and runs them as non-root to reduce attack surface. Question 34. Which of the following is NOT a typical benefit of integrating security testing into pull-request workflows? A) Early detection of vulnerabilities before merge B) Reducing the number of security tickets after release C. Eliminating the need for any security testing in production D. Enforcing compliance gates automatically before code is merged

PractitionerCDSOP Ultimate Exam

D. It eliminates the need for RBAC Answer: B Explanation: Gatekeeper integrates OPA as a Kubernetes admission webhook, enforcing policies before resources are persisted. Question 38. In the context of DevSecOps, “continuous learning” is best supported by which practice? A) Ignoring post-mortem analysis of security incidents B) Conducting regular retrospectives and sharing findings across teams C. Running a single security scan at the start of the project and never again D. Keeping security knowledge confined to a single specialist Answer: B Explanation: Continuous learning involves retrospectives, knowledge sharing, and iterative improvement of security processes. Question 39. Which of the following is a typical output of a Software Composition Analysis (SCA) tool? A) List of open ports on a container B) Bill-of-Materials (BOM) with identified vulnerable CVEs and license information C. Real-time CPU usage metrics of the application D. Network latency statistics between micro-services Answer: B Explanation: SCA tools generate a BOM, highlight vulnerable dependencies, and report license compliance. Question 40. Which of the following is a recommended approach for handling discovered high-severity vulnerabilities in a running production environment? A) Ignoring them until the next major release B) Immediately rolling back the entire deployment without analysis C. Initiating an emergency remediation pipeline that patches the vulnerability and redeploys affected services

PractitionerCDSOP Ultimate Exam

D. Deleting all logs to conceal the issue Answer: C Explanation: High-severity issues require rapid, controlled remediation—often via an automated pipeline—to minimize exposure. Question 41. Which of the following Kubernetes objects enforces the “Pod Security Standards” at the namespace level? A) PodSecurityPolicy (deprecated) B) NetworkPolicy C. ServiceAccount D. ConfigMap Answer: A Explanation: Although deprecated, PodSecurityPolicy (or its replacement via OPA Gatekeeper) applies pod-level security standards to namespaces. Question 42. What is the primary purpose of a “runtime vulnerability scanner” like Aqua Trivy when used in CI/CD? A) To check Dockerfile syntax only B) To scan the built container image for known CVEs before it is pushed to a registry C. To analyze source code for logical errors D. To monitor network traffic after deployment only Answer: B Explanation: Trivy scans container images for vulnerable packages and OS libraries during the build stage. Question 43. Which of the following best describes a “secret management” workflow for CI pipelines? A) Storing secrets in plain text files within the repository B) Using environment variables defined in the pipeline UI without encryption C. Pulling secrets from a vault (e.g., HashiCorp Vault) at runtime, with short-lived tokens, and never writing them to disk

PractitionerCDSOP Ultimate Exam

D. Nmap Answer: A Explanation: AWS Config can detect non-compliant IAM policies and trigger Lambda functions to remediate them automatically. Question 47. In the context of the “First Way” (Flow), which practice helps maintain a smooth, fast flow of changes while preserving security? A. Manual security gate at the end of the pipeline only B. Embedding automated security scans early and ensuring they run quickly enough not to become bottlenecks C. Requiring a full security audit before any code is written D. Disabling all tests to speed up delivery Answer: B Explanation: Fast, automated security checks keep the flow moving without sacrificing security. Question 48. Which of the following is an example of a “continuous compliance” control for container images? A. Running a manual audit of images once a quarter B. Using a CI job that scans every built image against CIS Docker Benchmarks and fails the build if violations exist C. Relying on the cloud provider’s default settings without verification D. Ignoring compliance findings that are not critical Answer: B Explanation: Automated scans against benchmark standards on each image build enforce compliance continuously. Question 49. Which of the following statements about “Infrastructure as Code” testing is correct? A. IaC cannot be tested; it must be manually reviewed B. Unit tests can be written for Terraform modules using tools like Terratest to validate expected outcomes

PractitionerCDSOP Ultimate Exam

C. Testing IaC is unnecessary if the cloud provider offers a secure console D. Only runtime testing is relevant for IaC Answer: B Explanation: Terratest and similar frameworks allow automated testing of IaC modules, ensuring they behave as intended. Question 50. Which of the following is a typical indicator that a container is compromised at runtime? A. The container image size is larger than 500 MB B. Unexpected outbound network connections detected by a host-based IDS C. The container uses a non-root user D. The Dockerfile contains a FROM statement Answer: B Explanation: Unexpected outbound connections suggest malicious activity, a common runtime compromise sign. Question 51. Which of the following best describes the function of “Falco” in a DevSecOps pipeline? A. Static code analysis for Java applications B. Real-time detection of anomalous system calls in containers C. License compliance scanning for open-source components D. Automated Terraform plan generation Answer: B Explanation: Falco monitors kernel events to detect suspicious behavior in containers. Question 52. Which of the following is a recommended practice when using Open Policy Agent (OPA) with GitHub Actions? A. Store policy files in the same repository as the application code for version control and CI testing B. Keep policies in a separate, inaccessible server

PractitionerCDSOP Ultimate Exam

C. To automatically patch vulnerabilities inside the image D. To hide the image from public registries Answer: B Explanation: Image signing provides cryptographic proof that an image has not been altered since it was signed. Question 56. Which of the following statements about “Dynamic Application Security Testing” (DAST) is true? A. DAST analyzes source code without executing the application B. DAST requires the application to be running and can find runtime issues like XSS and SQLi C. DAST can only be performed on compiled binaries, not web apps D. DAST replaces the need for SAST entirely Answer: B Explanation: DAST interacts with a live application to discover vulnerabilities that manifest at runtime. Question 57. Which of the following is a best practice for handling “false positives” generated by security scanners in CI pipelines? A. Ignoring them permanently B. Tuning scanner rules, adding suppressions with justifications, and periodically reviewing to reduce noise while preserving coverage C. Disabling the scanner altogether D. Treating every false positive as a real vulnerability Answer: B Explanation: Proper tuning and documentation reduce alert fatigue while maintaining security posture. Question 58. Which of the following Kubernetes features helps enforce “least privilege” for workloads? A. Service LoadBalancer B. Role-Based Access Control (RBAC) combined with ServiceAccounts

PractitionerCDSOP Ultimate Exam

C. Horizontal Pod Autoscaler D. ConfigMap Answer: B Explanation: RBAC with ServiceAccounts limits what API actions a pod can perform, enforcing least privilege. Question 59. Which of the following is a primary advantage of using “IaC policy testing” in a pull-request workflow? A. It eliminates the need for any runtime monitoring B. It catches insecure configurations before resources are provisioned, reducing drift and remediation cost C. It automatically generates documentation for the infrastructure D. It speeds up the network latency of the application Answer: B Explanation: Early detection of insecure IaC prevents provisioning of vulnerable resources. Question 60. Which of the following tools is commonly used for scanning IaC templates written in CloudFormation for security issues? A. Checkov B. SonarQube C. Trivy D. Burp Suite Answer: A Explanation: Checkov supports CloudFormation, Terraform, and other IaC formats for security misconfiguration detection. Question 61. Which of the following is an example of a “runtime” security control for serverless functions? A. Embedding credentials in the function code B. Enabling VPC isolation and IAM execution role with minimal permissions for the function