Eccouncil 312-97 Exam Questions & Answers (November 2026)
EC-Council Certified DevSecOps Engineer exam questions with 21 free practice questions and explained answers. Updated November 25, 2026. · See all Eccouncil exams
Answer 21 scenario questions on this page and see your score as you go. No sign-up needed.
Exam Details
- Exam Code
- 312-97
- Vendor
- Eccouncil
- Questions
- 100
- Duration (minutes)
- 4 hours
- Passing Score
- 70%
- Delivery
- Online via the EC-Council exam portal
- Question Types
- Single Choice
- Official Page
- View Exam Page
Understanding DevOps Culture
10% of the examThis topic covers how DevOps changes software delivery by encouraging shared responsibility, collaboration, and feedback across development and operations. Candidates must be able to recognize organizational silos, assess maturity, and choose practical ways to improve DevOps culture in different environments.
A software company releases a customer billing application every four months. Development completes a large set of changes before handing them to a separate operations department, which often finds configuration problems late. Executives want smaller, more frequent releases, but they cannot replace the application or eliminate operations staff. They ask managers to change how teams work together.
Which organizational change best addresses the problem while moving the company toward a DevOps culture?
Show Answer
Correct Answer
B
Option B is correct because shared service outcomes and regular operational feedback reduce the handoffs described in the scenario. Option A preserves the sequential separation that caused late issue discovery. Option C shifts the ownership boundary rather than removing it. Option D formalizes departmental approvals and does not create shared responsibility or faster learning.
A financial services company runs a critical claims application in its own data center because regulations and existing contracts limit near-term cloud use. Developers are measured on feature completion, while operations staff are measured on avoiding change. When incidents occur, each group attributes them to the other. Leaders can change team objectives and meeting practices, but cannot reorganize the entire company this quarter.
Which approach is the best first organizational change for this on-premises environment?
Show Answer
Correct Answer
C
Option C is correct because it establishes shared responsibility and outcome-based collaboration without requiring the company to replace its on-premises environment. Option A retains the handoff that contributes to slow recovery. Option B makes a cloud migration a prerequisite, although the stated constraint rules that out. Option D rewards local output rather than service results.
A multinational company wants to compare DevOps practices across product groups in three regions. One group supports a stable internal service, while another delivers customer-facing features under frequent policy changes. Leaders currently compare teams by tool counts and release frequency, and the results have encouraged teams to hide operational problems. They want a maturity review that leads to realistic improvement plans rather than a single ranking.
Which assessment method would give the company the most useful basis for improving its DevOps maturity?
Show Answer
Correct Answer
B
Option B is correct because it evaluates the collaboration and learning gaps described and allows product groups to improve in practical steps. Option A treats tool adoption as the main measure and demands an immediate uniform target. Option C mistakes release frequency for evidence that silos are gone. Option D ignores differences in product constraints and current maturity.
Introduction to DevSecOps
15% of the examThis topic covers the purpose and strategy of DevSecOps, including continuous security, common security bottlenecks, and the use of security tools and artificial intelligence. Candidates must choose ways to reduce delays while maintaining risk-based controls and responsible security oversight.
A software company has six product teams and one security group. The security group manually reviews every change, and reviews now take several days. Company policy requires specialist attention for high-risk issues, but most submissions involve routine, repeatable checks. Teams need faster feedback, and leaders will not accept removing security requirements or adding more reviewers.
Which change best addresses the security review bottleneck while preserving appropriate specialist oversight?
Show Answer
Correct Answer
B
Option B is correct because automated checks and risk-based escalation reduce the queue while preserving specialist review for the high-risk findings the company requires. Option A is not correct because every manual approval keeps the existing bottleneck. Option C delays feedback until after changes may cause harm. Option D removes consistent security requirements.
A company has acquired three software businesses, each with different security practices. Product risks are usually reviewed during external penetration tests after major releases, and remediation ownership is often unclear. The board wants security to be considered throughout product work, but the company cannot increase its security staff this year. Leaders are comparing strategic changes rather than selecting a tool for one specific development activity.
Which strategy best supports continuous security across the products?
Show Answer
Correct Answer
C
Option C is correct because shared requirements, ongoing assessment, and assigned ownership address the delay between discovering a risk and acting on it. Option A leaves long gaps between assessments. Option B relies on one tool and mistakes its limited findings for proof of security. Option D does not provide continuous visibility into product-level risks.
A regulated software company is evaluating an AI assistant that summarizes security reports and suggests risk priorities. A pilot produced useful summaries, but some recommendations lacked supporting evidence. Company policy prohibits sending source code or sensitive incident records to unapproved services, and the security director requires existing controls to remain in place. The team must decide how the assistant can be used.
How should the company use the AI-generated findings?
Show Answer
Correct Answer
B
Option B is correct because the company can use AI to help organize findings while validating results and retaining established controls. Option A gives unverified outputs authority to waive risks. Option C assumes AI can replace conventional security measures. Option D ignores the company’s restriction on transferring sensitive material to unapproved services.
DevSecOps Pipeline-Plan Stage
15% of the examThe Plan stage connects business needs and system design to security requirements, threat analysis, and remediation work. Candidates must identify how to keep threat models current and make security risks and technical debt actionable before implementation begins.
A subscription service is planning a sprint that adds a partner API for account updates. The existing threat model covers the customer website and internal services, but it does not show the partner connection or its trust boundary. The team wants security risks identified while requirements and design decisions can still change, and it needs mitigation work assigned to the teams that will deliver it.
Which planning action best keeps threat modeling current as the product changes?
Show Answer
Correct Answer
B
Option B is correct because the new partner API changes the design, so the team should revisit affected threats and plan their mitigations. Option A is not correct because a one-time model becomes stale as the system changes. Option C delays analysis until after implementation. Option D confuses code scanning with threat modeling.
A retail team is planning a mobile checkout update that will store customer payment tokens and allow one-click refunds. Product owners want the refund process to remain fast, while support staff need an audit trail for disputed transactions. The service will operate in several regions, and the team has not yet agreed on data retention, authorization rules, or which business roles may approve a refund.
Which approach best turns the new business functionality into security requirements?
Show Answer
Correct Answer
C
Option C is correct because it connects the actual payment and refund workflows to data risks and requirements that can be tracked and tested. Option A is not correct because generic controls may miss risks in these functions. Option B delays requirements until implementation. Option D rejects the business function without assessing safeguards.
A team is taking ownership of an internal reporting service before planning its next release. A recent review found outdated dependencies and an access-control weakness in an older reporting endpoint. The service is still used by several departments, the team has limited capacity, and the product manager wants to add new reporting features. No owner or remediation date has been recorded for either finding.
What should the team do with the known security debt during planning?
Show Answer
Correct Answer
A
Option A is correct because it makes the inherited weaknesses visible, assigns accountability, and lets the team prioritize remediation against risk before adding more work. Option B leaves debt unmanaged because of its history. Option C commits to a rewrite without assessing scope or risk. Option D waits for exploitation instead of making a planned decision.
DevSecOps Pipeline-Code Stage
15% of the examThis topic covers security controls used while developers write and store application code. Candidates must be able to configure repository scanning, identify vulnerable dependencies, and keep secrets out of source control.
A development team keeps a Java service and a JavaScript frontend in a GitHub repository. The organization has GitHub Advanced Security enabled, and GitHub Actions is available. Developers want automated findings for source-code vulnerabilities on pull requests, but the team has limited time to maintain custom workflow files. The default branch must also receive ongoing code analysis.
Which action best meets the repository’s code-scanning requirements?
Show Answer
Correct Answer
A
Option A is correct because CodeQL default setup analyzes supported source code and reports code-scanning alerts for the repository and pull requests. Option B is not correct because Dependabot alerts identify vulnerable dependencies, not insecure source-code patterns. Option C is not correct because secret scanning detects exposed credentials, not general code flaws. Option D is not correct because manual review does not provide the requested automated findings.
A team maintains a Node.js application in a private GitHub repository. Its package manifest and lock file are committed, and the application includes several transitive packages. The security lead needs repository-level alerts when a dependency matches a published vulnerability advisory. The team does not want to treat source-code analysis or individual workstation checks as a substitute for dependency monitoring.
Which repository configuration best identifies known vulnerable dependencies in this project?
Show Answer
Correct Answer
B
Option B is correct because the dependency graph and Dependabot alerts use supported manifest and lock files to identify dependencies with known advisories, including transitive dependencies. Option A is not correct because CodeQL analyzes source code and does not replace dependency alerts. Option C is not correct because secret scanning looks for exposed credentials. Option D is not correct because workstation findings do not provide the requested repository-level dependency alerts.
A team is preparing a payment service for a new repository. Developers currently place a database password in a local configuration file, and one developer has proposed committing a shared version for easier setup. The service must retrieve credentials when it runs, and the organization already operates HashiCorp Vault with authenticated access available to the service. The password must not be recoverable from repository history.
Which change best prevents application credentials from being exposed through the source repository?
Show Answer
Correct Answer
C
Option C is correct because the application can retrieve its secret from Vault through an authenticated integration without placing the value in source control. Option A is not correct because repository access controls do not prevent authorized users or repository copies from exposing committed credentials. Option B is not correct because committing the decryption key alongside the encrypted value defeats the protection. Option D is not correct because review cannot reliably prevent every accidental exposure.
DevSecOps Pipeline-Build and Test Stage
15% of the examThe build and test stage applies security analysis to source code and running applications before a release proceeds. Candidates must select and configure static, dynamic, and interactive testing methods that fit the pipeline, test environment, and required failure behavior.
A team runs an Azure Pipelines build for a Java service and uses SonarQube for static analysis. The scanner reports that analysis was uploaded, but the pipeline finishes successfully even when the quality gate later reports a new critical security issue. The team requires the build stage to wait for the gate result and fail when that result does not pass.
Which change best ensures that a failed SonarQube quality gate stops this build pipeline run?
Show Answer
Correct Answer
A
Option A is correct because the scanner waits for the SonarQube quality gate result and can fail the analysis step when the gate fails. Option B runs analysis too late to stop this build. Option C changes the timeout, not the gate behavior. Option D preserves the result but does not make the pipeline act on it.
A service is deployed to a disposable QA environment in AWS for each test run. Important pages require login, and the security team wants dynamic testing to cover those pages without affecting production data or neighboring test services. The pipeline has a dedicated test account, and its scan policy can restrict requests to the QA hostname.
Which DAST configuration best meets the team's test-stage requirement?
Show Answer
Correct Answer
A
Option A is correct because an authenticated active scan can exercise the QA application with its intended access level while limiting the target to a disposable environment. Option B risks service impact in production. Option C analyzes source rather than a running application. Option D avoids active testing and cannot establish exploitability through active probes.
A Java service passes its build but security testing needs to examine how user input moves through application code into database operations. The test team already runs integration tests with authenticated requests in a controlled environment. It wants findings associated with executed code paths and cannot replace those tests with a broad scan of a public endpoint.
Which approach best provides the requested runtime security findings during this test stage?
Show Answer
Correct Answer
A
Option A is correct because Contrast Assess instruments the running application and can report issues encountered while the integration tests exercise its code paths. Option B analyzes source without observing execution. Option C may miss authenticated flows and does not provide in-process instrumentation. Option D identifies dependency risks, not runtime data flow.
DevSecOps PipelineRelease and Deploy Stage
15% of the examThis topic covers security activities used to prepare and deploy a release, including runtime protection, infrastructure provisioning, and penetration testing. Candidates must select deployment actions that satisfy release requirements and preserve security controls.
A retailer deploys a Java service to existing Linux virtual machines in staging and production. Operations staff currently configure the service account, systemd unit, and application settings with manual shell commands, and the environments have begun to differ. The release pipeline runs from a controlled host that can connect over SSH. Permanent agents on application servers are not permitted, and repeated deployments must not create duplicate configuration.
Which release pipeline change best satisfies the retailer's deployment requirements?
Show Answer
Correct Answer
A
Option A is correct because Ansible can run from the approved SSH-enabled runner and use state-based modules to apply consistent configuration across both inventories without a permanent server agent. Option B conflicts with the prohibition on permanent agents. Option C can duplicate settings on repeated runs. Option D misuses CloudFormation, which manages AWS resources rather than directly configuring services on existing servers.
A payment company is preparing a release for an application that will run in containers on its production cluster. The security team selected a RASP product, but the current release pipeline only deploys the application image and external network controls. The team needs runtime attack detection within the application and wants to validate its policy before automatic blocking affects legitimate payment requests.
Which release action best meets the requirement to protect the application from attacks detected during runtime?
Show Answer
Correct Answer
A
Option A is correct because the release includes the RASP agent and policy in the deployed application, allowing runtime detections to be validated before blocking is enabled. Option B is not correct because package scanning does not provide runtime application protection. Option C is not correct because a network firewall does not inspect behavior inside the application process. Option D is not correct because the production deployment would not have RASP protection.
The release team is deploying an AWS application environment using Terraform. A change adds a private subnet and updates a task role. CI creates the plan, but developers have previously applied changes from local laptops. Production policy requires peer approval, prohibits console changes, and requires CI to apply the reviewed changes. The remote state backend supports locking. The current plan unexpectedly proposes replacing the production RDS database.
What should the release team do before deploying the change?
Show Answer
Correct Answer
A
Option A is correct because resolving the unexpected database replacement and reviewing a fresh plan lets CI apply the approved changes. Option B is not correct because a local apply does not meet the requirement for CI deployment. Option C is not correct because a console change can cause drift and make the plan stale. Option D is not correct because state locking does not prevent actions specified in a plan.
DevSecOps Pipeline-Operate and Monitor Stage
15% of the examThis stage focuses on monitoring deployed systems, detecting security and reliability problems, and coordinating operational response. Candidates must select suitable logging, alerting, vulnerability monitoring, and cloud platform controls for live environments.
A company runs production workloads in AWS and grants several platform teams permission to manage IAM roles. The security team must receive prompt notification when an IAM policy is changed, including changes that are not classified as suspicious activity. Analysts also need searchable event records for follow-up, and the company already uses CloudWatch for operational alerts.
Which monitoring configuration best meets the operations team's requirement?
Show Answer
Correct Answer
A
Option A is correct because the CloudTrail trail can deliver management events to CloudWatch Logs, where a metric filter and alarm can notify the team about IAM policy changes. Option B depends on manual review and cannot provide the requested prompt alert. Option C is not correct because GuardDuty reports suspected threats, not every policy change. Option D monitors CPU, not IAM activity.
A service runs containers from Amazon ECR images on Amazon ECS. The release process already scans each image when it is pushed, but security staff recently found that a new vulnerability was announced months after several images entered production. The operations team wants updated findings without rebuilding every service and needs those findings sent to its existing incident queue.
Which approach best detects the newly disclosed vulnerabilities and routes findings for operational response?
Show Answer
Correct Answer
A
Option A is correct because Inspector continuous scanning can reevaluate ECR images as vulnerability information changes, and EventBridge can route findings into the response workflow. Option B is not correct because scan on push does not provide continuous rescanning. Option C cannot identify vulnerabilities disclosed after its earlier build scan. Option D provides performance metrics, not image vulnerability findings.
A company hosts its production application in an Azure subscription with several network security groups managed by separate operations teams. A recent unauthorized rule change exposed a management port, but the current dashboards show only virtual machine health and traffic volume. The security team requires an alert for administrative changes to any network security group, with notification sent to the on-call group.
Which Azure monitoring configuration most directly meets the requirement?
Show Answer
Correct Answer
A
Option A is correct because an Activity Log alert can target administrative write operations on network security groups and invoke an action group. Option B reports network flow behavior, not control-plane changes. Option C alerts on compute performance and would miss the required event. Option D evaluates resource compliance, but it does not provide the direct event alert requested for each write operation.
Continue Your 312-97 Preparation
You have seen 21 questions from a full set of 100. Prepare with the 312-97 dumps PDF and the Web-Based Practice Test.
- Compatible with All Devices
- Printable Format
- No Download Limits
Practice Test
- Check your timing and weak areas
- No Practice Limits
- Regularly Updated
- 100% Money-Back Guarantee
- 90 Days Free Updates
- Instant Access
Frequently Asked Questions
Which part of the 312-97 exam tends to challenge candidates most?
A common challenge is choosing the right security method for a particular pipeline stage. Candidates need to distinguish repository scanning and dependency checks in Code from static, dynamic, and interactive testing in Build and Test, then judge what should block a release. The scenarios also require attention to the environment and risk. Practise by mapping each control to its stage and writing down what decision it informs.
How demanding is the four-hour exam format?
The exam has 100 questions in four hours, so candidates have time to reason through scenarios, but should avoid spending too long on one decision. Questions about culture, risk-based controls, and operational response may require comparing several plausible actions. Use a timed Practice Test to observe where you slow down, then review those topics in the Exam4Success PDF. Aim to reserve time to revisit questions you flagged.
Why can DevSecOps theory feel different from the pipeline scenarios on this exam?
Knowing terms such as threat modeling, secrets scanning, and runtime protection is not enough on its own. The exam asks candidates to apply controls at the right point and account for delivery delays, risk, and release requirements. This gap often appears when study is limited to definitions. Use the Exam4Success Practice Test to identify decisions that are difficult, then review the relevant pipeline stage in the PDF and explain why the control fits there.
What commonly goes wrong when preparing across all seven topic areas?
Candidates can spend too much time on familiar tool concepts and leave less attention for less familiar areas such as DevOps maturity, technical debt, or live-environment monitoring. The exam distributes its topics across culture, introduction, and five pipeline stages, each with specific decisions to make. The Exam4Success PDF can support focused review away from a lab. Keep a topic checklist and mark areas where you cannot yet explain the decision, not just the terminology.
What practical capabilities does the EC-Council Certified DevSecOps Engineer exam assess?
The exam assesses how candidates connect security work to software delivery, from planning and threat analysis through code, testing, deployment, and operations. It also addresses collaboration between development and operations, security bottlenecks, and responsible use of tools and artificial intelligence. These subjects are relevant to people working with DevSecOps processes or supporting secure software delivery. To make the value concrete, identify which pipeline decisions you handle now and which ones you want to strengthen.
Will preparing for 312-97 help me understand security across a full delivery pipeline?
The exam topics follow security work across the pipeline, including repository and dependency controls, application testing, infrastructure provisioning, runtime protection, logging, and operational response. That structure can help candidates see how an early design decision relates to release and monitoring requirements. It does not replace hands-on experience with a particular platform. As you study, draw a simple pipeline and place each control where it applies, noting what risk it is meant to reduce.
How can I tell if I am ready to schedule the online exam?
The exam is delivered online through the EC-Council exam portal and has a 70 percent passing score. Readiness is better judged by consistent reasoning across the topics than by familiarity with isolated terms. Check whether you can select controls for a stated stage, explain the trade-off, and handle questions under timed conditions. Take a timed Practice Test, review each weak area, and repeat the check after targeted study before deciding.
Where should I begin if I have not studied DevSecOps formally?
Start with the relationship between DevOps culture and security, then follow the pipeline from Plan through Operate and Monitor. This gives the later controls a context, including why threat analysis precedes implementation and why monitoring continues after deployment. Give particular attention to the Code and Build and Test distinctions, since their controls serve different points in delivery. Use the Exam4Success PDF to organise review, then test your understanding with practice questions.
Exam4Success is an independent exam preparation provider and is not affiliated with or endorsed by Eccouncil.