Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free EC-Council EC-Council Certified DevSecOps Engineer 312-97 Exam Questions

Last updated: · 10 practice questions with answers and explanations

Page: 1 / 10 Total 100 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Module 01: Understanding DevOps Culture

Skill tested: Selects continuous-delivery feedback loops that detect security regressions early.

A financial-services team deploys a customer portal several times each week. Security reviews currently occur only before quarterly releases, so vulnerabilities discovered late cause large batches of rework. Leadership wants to preserve small, frequent releases while shortening the time between introducing a defect and detecting it. The team can add automated checks to its existing CI pipeline, but it cannot require a manual security approval for every change. Which practice best addresses the underlying feedback-loop problem?

Correct Answer: C. Run automated security checks on each change and return actionable findings to developers before changes are merged or promoted.
Explanation:

Automated checks integrated into the normal change flow create rapid feedback while preserving frequent delivery. Developers can address issues close to the change that introduced them, reducing rework and the duration of exposure. A quarterly penetration test may find serious defects, but it leaves a long feedback delay and does not address every change promptly. Post-deployment documentation does not detect vulnerabilities, while freezing changes for universal manual review undermines the requested delivery cadence and does not scale.

Question 2

New Single answer

Topic: Module 02: Introduction to DevSecOps

Skill tested: Embeds security ownership and controls throughout the DevOps lifecycle without isolating security work.

A product group has separate development, operations, and security teams. Developers hand off finished features to operations, while security reviews them near release and frequently identifies issues that require architectural changes. The organization wants to adopt DevSecOps without removing specialist security expertise or turning every release into a security-team approval queue. Which operating change is most appropriate?

Correct Answer: A. Have security specialists define reusable controls and coach product teams, while teams automate those controls across planning, coding, testing, deployment, and operations.
Explanation:

DevSecOps distributes security responsibility across the lifecycle while retaining specialist expertise for guidance, standards, and difficult risks. Reusable automated controls let product teams receive timely feedback instead of waiting for a late approval queue. Removing specialists loses valuable expertise, and adding reviewers to the same late handoff preserves the bottleneck. Assigning risk acceptance to operations alone confuses operational ownership with organization-wide security governance and leaves earlier lifecycle stages unchanged.

Question 3

New Multiple answers

Topic: Module 03: DevSecOps Pipeline - Plan Stage

Skill tested: Translates threat-model findings into prioritized backlog work and enforceable pipeline gates.

A team is designing a public API that processes account recovery requests. Its threat model identifies account enumeration and abuse of recovery tokens as high-impact risks. A release is scheduled in six weeks, and the team wants security work to be traceable and testable rather than recorded only in a design document. Select TWO actions that best connect these risks to delivery controls. (Select TWO.)

Correct Answer: B. Define automated security tests or pipeline gates that verify the required recovery behavior before release promotion.; D. Create prioritized backlog items with acceptance criteria for uniform recovery responses, token protections, and abuse-resistant request handling.
Explanation:

The backlog items turn identified threats into owned, actionable work with verifiable acceptance criteria. Pipeline tests or gates then provide repeatable evidence that the controls are present before promotion. Keeping risks only in a document does not ensure remediation, and an intuitive user flow is not evidence that enumeration or token abuse is mitigated. Awareness training can support secure practice, but it cannot replace technical controls for a specific API threat.

Question 4

New Single answer

Topic: Module 04: DevSecOps Pipeline - Code Stage

Skill tested: Configures developer-facing static analysis to provide actionable feedback during coding.

A team uses an IDE-integrated static analysis plugin and a CI SAST scanner. Developers report that the IDE produces so many low-value findings that they ignore all of them, while CI catches serious defects only after a pull request is opened. The security lead wants earlier, useful feedback without allowing developers to silently suppress high-confidence findings. What is the best configuration and workflow change?

Correct Answer: A. Tune IDE rules and severity presentation for actionable, relevant findings, retain CI enforcement for agreed policies, and manage documented suppressions through review.
Explanation:

Tuning rules and presenting useful, context-relevant findings makes IDE feedback practical during coding, while CI remains the consistent enforcement point for agreed policy. Reviewed, documented suppressions allow legitimate exceptions without turning suppression into an untracked bypass. Disabling the plugin pushes feedback later, and suppressing issues until production harm occurs is an unsafe threshold. Blocking every edit for every finding is excessively disruptive and treats low-risk and high-confidence issues identically.

Question 5

New Multiple answers

Topic: Module 05: DevSecOps Pipeline - Build and Test Stage

Skill tested: Combines SCA and dynamic testing with release gates based on severity and remediation policy.

A CI pipeline builds a web service and deploys it to an isolated test environment. The organization must detect known vulnerable third-party libraries and verify the running application for exploitable web weaknesses. Policy blocks promotion for confirmed critical findings, but allows a documented remediation plan for certain lower-severity findings. The pipeline must not interpret a scanner outage as a clean result. Select THREE suitable pipeline behaviors. (Select THREE.)

Correct Answer: A. Run dynamic application security testing against the deployed test instance and retain the scan results as build evidence.; B. Block promotion for confirmed critical findings and apply the approved exception process for eligible lower-severity findings.; D. Run software composition analysis against the resolved dependencies and evaluate findings against the defined severity policy.
Explanation:

SCA examines third-party components and their known vulnerability information, while DAST probes a running application, so both are needed to cover the stated risks. A policy gate should block confirmed critical findings and use the organization's controlled exception process where policy permits lower-severity remediation plans. A scanner outage is not evidence of a clean result and should fail or otherwise safely stop promotion. DAST requires an accessible running target; source-only scanning is not a substitute for it.

Question 6

New Single answer

Topic: Module 05: DevSecOps Pipeline - Build and Test Stage

Skill tested: Interprets IAST findings in relation to instrumented application test execution.

During CI testing, a team runs an instrumented build of a service and exercises its authentication and input-validation paths with functional tests. An interactive security testing agent reports a data-flow issue only when a test reaches the relevant code path. Developers argue that the report must be invalid because the separate DAST scan did not reproduce it. What is the best next action?

Correct Answer: A. Review the IAST trace and affected code path, reproduce it with the relevant test input, and remediate or document a justified false positive.
Explanation:

IAST observes application behavior during instrumented execution and can report issues reached by particular test inputs. DAST and IAST use different methods and coverage, so the absence of a matching DAST result does not invalidate an IAST finding. Reviewing the trace and reproducing the path establishes whether the report reflects a real flaw or a false positive. SCA evaluates dependencies rather than runtime data flow, and IAST is not limited to production use.

Question 7

New Multiple answers

Topic: Module 06: DevSecOps Pipeline - Release and Deploy Stage

Skill tested: Applies IaC policy checks and container image scanning before deployment promotion.

A release pipeline provisions a cloud workload from infrastructure-as-code templates and deploys a container image. A recent review found publicly reachable administrative access in one environment and an image containing a vulnerable operating-system package. The team wants to catch both classes of issue before deployment, and a release must not proceed when either required scanner fails to produce a result. Select TWO controls that meet these requirements. (Select TWO.)

Correct Answer: C. Scan the built container image for known vulnerabilities and enforce the organization's image severity policy before promotion.; E. Run IaC security and policy checks on the proposed configuration, rejecting prohibited network exposure before provisioning.
Explanation:

IaC checks evaluate declared infrastructure settings before they are applied, making them suitable for rejecting unsafe exposure at the release gate. Image scanning evaluates the actual built image, including operating-system packages that source-code analysis may not inspect. Runtime monitoring is useful for operational detection but finds the access issue too late to meet the predeployment requirement. Scanner failure is not a clean result, and permitting promotion in that case would bypass a required control.

Question 8

New Single answer

Topic: Module 06: DevSecOps Pipeline - Release and Deploy Stage

Skill tested: Chooses deployment hardening controls that prevent unsafe configuration from reaching production.

A containerized service is deployed to staging and production from the same release process. A staging review discovers that the deployment manifest requests privileged container execution and exposes an unnecessary service port. The platform team cannot change the underlying cluster this quarter, but it can modify the release pipeline and deployment manifests. Which action best prevents recurrence without depending on post-deployment detection?

Correct Answer: B. Add predeployment policy checks for prohibited privilege and port settings, correct the manifest, and block promotion when the policy fails.
Explanation:

Predeployment validation applies the desired hardening policy to the deployment configuration before it reaches production, and a blocking gate prevents recurrence through the release path. Correcting the manifest addresses both unnecessary privilege and exposed ports. Longer log retention improves investigation but does not prevent unsafe deployment. Manual inspection after deployment is too late and prone to inconsistency, while a scheduler should not be assumed to rewrite an unsafe manifest automatically.

Question 9

New Multiple answers

Topic: Module 07: DevSecOps Pipeline - Operate and Monitor Stage

Skill tested: Integrates security telemetry with SIEM alerting and validates end-to-end alert delivery.

An online retailer forwards application and infrastructure security events to a centralized SIEM. A new detection rule is intended to alert on repeated failed administrative logins, but operators have not seen an alert during a controlled test. The team must determine whether the issue is event collection, field normalization, rule logic, or notification delivery. Select TWO actions that provide the strongest end-to-end validation. (Select TWO.)

Correct Answer: A. Generate a controlled test event, then verify that the event reaches the SIEM with the expected source and normalized fields.; E. Confirm the rule conditions match the ingested event fields and time window, then verify that a triggered alert reaches its configured notification destination.
Explanation:

A controlled event followed through ingestion verifies collection and the fields on which detections depend. Checking the rule's field mappings and time window then separates detection logic problems from ingestion problems; verifying the notification destination confirms delivery after an alert is generated. An event count alone does not prove that the right event was normalized, matched, or notified. Disabling components or raising thresholds can mask the fault rather than diagnose it.

Question 10

New Single answer

Topic: Module 07: DevSecOps Pipeline - Operate and Monitor Stage

Skill tested: Uses correlated operational telemetry to distinguish a security incident from expected deployment activity.

A monitoring team receives a Datadog alert for a sudden increase in denied requests to an internal service. The increase began minutes after a deployment, and the service's application logs and infrastructure metrics are available, but no single signal establishes whether the traffic is malicious or caused by a configuration change. The on-call engineer needs to investigate promptly while preserving useful incident evidence. What should the engineer do first?

Correct Answer: D. Correlate the alert's time range with relevant application and infrastructure telemetry, identify the affected sources and change context, and preserve the findings for investigation.
Explanation:

Correlating logs, metrics, alert context, and deployment timing helps distinguish expected behavior from an actual attack or a harmful configuration change. Preserving evidence supports incident response and follow-up remediation. Temporal proximity to a deployment is a useful clue, not proof of benign activity. Immediate shutdown without assessing scope can create avoidable availability impact, while suppressing the alert or changing its threshold removes visibility rather than resolving the cause.