Eccouncil 312-97 Practice Exam Questions & Answers
Eccouncil 312-97 Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- 312-97
- Full Name
- EC-Council Certified DevSecOps Engineer (ECDE)
- Issuing Body
- EC-Council
- Question Format (Our Bank)
- Multiple Choice
- Delivery
- Online via EC-Council Exam Portal
- Eligibility
- Either completion of an EC-Council official course, Academia Partner approved institution, or Accredited Training Center, or at least 2 years of work experience in Information Security domain
- Full Question Set
- 100 questions Get All Questions
Free 312-97 Practice Questions
Answer each question, then see the correct answer and why it is right
Question 1 Domain 5 DevSecOps Pipeline-Build and Test Stage
(Teresa Wheeler, a DevSecOps engineer at Altschutz Solution Pvt. Ltd., wants to assess web applications and API's from an external standpoint without viewing the source code, using the BDD security framework. This framework bundles Cucumber-JVM features preconfigured with OWASP ZAP, Nessus scanner, SSLyze, and Selenium. Accordingly, she downloaded and launched the jar application and then cloned the BDD security framework repository. After that, she ran a command to execute the authentication feature. Which of the following commands would let Teresa run every feature of the BDD security framework, including OWASP ZAP?.)
The Gradle wrapper script used to run all features of the BDD Security framework on Unix-like systems is ./gradlew. The leading dot-slash indicates execution from the current directory, which is needed when running scripts locally. The /gardlew and /gardlev options point to incorrect paths or misspelled wrapper names. Running ./gradlew with no extra parameters triggers the default task, which covers all configured features such as OWASP ZAP, Nessus, SSLyze, and Selenium tests. Executing every feature during the Build and Test stage delivers thorough external security testing coverage, helping detect vulnerabilities without requiring access to source code.
Question 2 Domain 4 DevSecOps Pipeline-Code Stage
(Cindy Williams recently started work as a DevSecOps engineer at an IT firm. She set up Bundle-Audit within Travis CI. Cindy found a vulnerability in the Gemfile dependencies and fixed it by inserting a few lines of code. In what way does Bundler check Gemfile.lock for insecure gem versions?)
Bundler-Audit is a Software Composition Analysis (SCA) tool built for Ruby applications. It reads the Gemfile and Gemfile.lock to catalog every declared dependency along with its resolved version. The Gemfile lists the gems the application requires, whereas the Gemfile.lock keeps dependency versions consistent across different environments. Bundler-Audit then checks this dependency data against a database of known vulnerabilities to flag insecure or outdated gems. It does not depend on the Travis CI configuration file to detect vulnerabilities, and it does not check against unknown vulnerabilities. Adding Bundler-Audit to the Build and Test stage helps catch vulnerable third-party libraries early, so developers can fix problems before the application moves further along the pipeline. This approach supports shift-left security and lowers the chance of shipping known vulnerabilities into production systems.
Question 3 Domain 5 DevSecOps Pipeline-Build and Test Stage
(William Edwards serves as a DevSecOps engineer at SVR Software Solution Pvt. Ltd., a company that builds software products and applications for digital marketing. William has connected Prisma Cloud with Jenkins to perform threat-intelligence based threat detection. The integration lets him scan container images and serverless functions for security weaknesses within the CI/CD pipeline. Which of the following does Prisma Cloud use to learn the normal network behavior of each customer's cloud environment so it can detect network anomalies and zero-day attacks with minimal false positives?.)
Prisma Cloud relies on advanced unsupervised machine learning to build baselines of typical behavior inside each customer's cloud environment. By examining patterns in network traffic, resource interactions, and workload activity without depending on labeled training data, it can identify anomalies and possible zero-day attacks while keeping false positives low. Supervised approaches need predefined labels and known attack signatures, which restricts their usefulness against new or unfamiliar threats. Unsupervised data mining on its own lacks the adaptive capability that machine learning models offer. Applying unsupervised machine learning in the Build and Test stage supports continuous, intelligent security analysis across dynamic cloud-native workloads and helps teams detect threats proactively in DevSecOps pipelines.
Get the complete 312-97 question set
$20$40
Question 4 Domain 4 DevSecOps Pipeline-Code Stage
(Cheryl Hines has worked as a senior DevSecOps engineer for 5 years at an IT company. Because Keywhiz secret management tool offers strong features, including compatibility with all software, untraceable secrets, and continued operation during power cuts or server outages, Cheryl's organization relies on it to store and distribute secrets. Which command sequence should Cheryl run with the Keywhiz CLI to add a secret?)
Keywhiz CLI requires the user to authenticate before any secret can be added. The proper procedure is to log in with the --devTrustStore option and authenticate as an administrator by means of the --admin flag. After that, the add secret command runs with input redirection so the secret is stored securely. Choices that contain wrong flag names, inconsistent capitalization, or invalid trust store identifiers do not match Keywhiz CLI syntax. Storing secrets in Keywhiz rather than hardcoding them in source code supports secure secret distribution and management, a core element of DevSecOps culture. This practice keeps secrets protected, auditable, and accessible even when outages occur.
Question 5 Domain 4 DevSecOps Pipeline-Code Stage
(Allen Smith has spent the last 4 years as a senior DevSecOps engineer at an IT firm that builds software products and applications for retailers. He wants to pair the Bandit SAST tool with Jenkins so that common security flaws in source code get flagged. Allen installed Bandit and set up a Jenkins job. Under Source Code Management, he entered the repository URL, the credentials, and the branch he wants scanned. Because Bandit resides on the Jenkins server, he chose Execute shell as the Build step and configured the Bandit script there. Once the Bandit SAST tool is successfully integrated with Jenkins, which of the following code types can Allen check for security issues?.)
Bandit is a Static Application Security Testing (SAST) tool built specifically to analyze Python source code. It inspects Python scripts and applications to flag frequent security problems such as weak cryptographic use, hard-coded passwords, risky calls to functions like eval, and unsafe imports. Bandit operates by parsing Python Abstract Syntax Trees (ASTs) and running a collection of security-oriented checks. It has no support for Java, Ruby, or C++ code, since those languages need separate static analysis tools designed for them. When Allen connects Bandit to Jenkins during the Build and Test stage, he gets automatic detection of Python-specific security weaknesses as soon as code changes arrive. This shift-left method lowers remediation costs, stops vulnerable code from moving further down the pipeline, and strengthens the application's overall security posture.
Question 6 Domain 6 DevSecOps PipelineRelease and Deploy Stage
(For the last 5 years, David Paymer has worked as a senior DevSecOps engineer at an IT firm. The company relies on the Azure DevOps service to build software products in a secure and rapid manner. David's team lead has asked him to upload a NuGet package through a command line tool. Put yourself in David's position: which command should he run to send the NuGet package to the feed?)
Uploading a NuGet package to a feed is accomplished with the nuget.exe push command. The -Source parameter identifies the destination feed name or URL, while the -ApiKey parameter must be supplied even when the feed does not check its value. The publish verb does not apply to NuGet uploads, and -Destination is not a recognized parameter for push operations. Hence, nuget.exe push -Source '<YOUR_FEED_NAME>' -ApiKey <ANY_STRING> <PACKAGE_PATH> is the correct command. Command line publishing supports automation and consistency within DevSecOps workflows, allowing artifacts to be distributed securely and repeatably as part of continuous delivery pipelines.
Question 7 Domain 2 Introduction to DevSecOps
George Lennon works as a DevSecOps engineer at InfoWorld Pvt. Solution. His coworker, Sarah Mitchell, is a senior software developer. George recommended that she join a bug bounty initiative run by AWS for developers who write Python and Java code. He explained that the challenge is an enjoyable, game-style way to squash bugs, build team spirit, and create healthy competition that raises code quality and application performance. Following George's suggestion, Sarah took part in the bug bounty initiative, achieved the top score in the challenge, and earned a $10,000 prize. Based on the information provided, which of the following bug bounty programs did Sarah take part in?.)
The description matches AWS BugBust, which AWS presents as a gamified, team-based bug fixing challenge rather than a traditional external ''bug bounty'' aimed at finding vulnerabilities in AWS itself. The main clues are ''fun-based solution for bashing bugs,'' ''encouraging team building,'' and ''friendly competition,'' together with awarding points and prizes. BugBust concentrates on raising code quality by motivating developers to locate and correct issues (frequently through static analysis findings) in languages such as Java and Python. Participants collect points for fixes and compete on leaderboards, which corresponds directly to Sarah ''scored the highest points'' and receiving a cash reward. The remaining names (BugFixer, BugFinder, BugHunt) sound believable but do not correspond to the commonly cited gamified AWS program described. Within a DevSecOps setting, this kind of program reinforces culture by rewarding secure coding habits, promoting shared responsibility for quality, and making remediation visible and recognized across the engineering team.
Question 8 Domain 4 DevSecOps Pipeline-Code Stage
(Helena Luke is a DevSecOps engineer at an IT firm based in Denver, Colorado. She wants to protect source code during the build stage and add runtime protection to that code by connecting Jscrambler with GitLab. Accordingly, she picked a predefined template and downloaded the Jscrambler configuration file. She saved the file in the root directory of the project and named it .jscramblerrc. To avoid exposing confidential data, she edited the Jscrambler configuration file and deleted the access and secret keys from it. Which of the following formats is the Jscrambler configuration file written in?.)
The Jscrambler configuration file, .jscramblerrc, is built in JSON format. Because it is lightweight, easy for people to read, and simple for CI/CD pipeline tools to parse, JSON is commonly chosen for configuration. Deleting the access and secret keys from this file is a recommended safeguard against credential exposure when the repository is shared or kept in version control. Credentials are usually supplied through environment variables or protected CI/CD secrets instead. XML, YAML, and HTML are not the formats Jscrambler uses for its main configuration file. Working with JSON-based configuration during the Code stage lets the tool integrate smoothly with GitLab pipelines while keeping sensitive data handled securely.
Question 9 Domain 7 DevSecOps Pipeline-Operate and Monitor Stage
(Peter McCarthy serves as a DevSecOps engineer at TetraVerse Soft Solution Pvt. Ltd. The company builds custom software products and web applications and relies on AWS cloud services, including AWS DevOps offerings, to build software rapidly and with strong security. Peter intends to use CloudMapper to inspect the AWS cloud environment and carry out security auditing. Which of the following permissions should Peter hold to gather information about the AWS account?.)
CloudMapper needs read-only access to AWS resources to gather metadata, map architectures, and run security analysis without changing the infrastructure. The AWS managed SecurityAudit policy grants rights to view security-related settings across services, whereas ViewOnlyAccess provides read-only access to AWS resources in a broader sense. Combined, these policies let CloudMapper collect thorough details about the AWS environment without giving write permissions. The remaining options either cite nonexistent policy names, use improper formatting, or grant excessive rights such as AWSLambdaFullAccess, which is unneeded and goes against least-privilege principles. Assigning SecurityAudit and ViewOnlyAccess supports secure auditing practices during the Operate and Monitor stage.
Practice every 312-97 question in the full set, each one with its verified answer and a detailed explanation
Get Full AccessWhat the Eccouncil 312-97 Exam Covers
Exam domains verified against the Official Eccouncil 312-97 exam guide, last checked November 2026.
Domain 1 Understanding DevOps Culture
10%This module covers the cultural and technical foundations of DevOps, emphasizing collaboration between development and operations teams. Key topics include automation, continuous integration and deployment (CI/CD), DevOps values and benefits, and how collaboration and feedback loops drive faster, more reliable software delivery.
Domain 2 Introduction to DevSecOps
15%This module introduces foundational DevSecOps concepts, focusing on integrating security into the DevOps lifecycle. It covers the shift from traditional security approaches to collaborative, automated, and continuously integrated security, with emphasis on culture, automation, monitoring, feedback loops, and tools for establishing a DevSecOps culture in organizations.
Above Practice Question from this Domain: Q7
Domain 3 DevSecOps Pipeline-Plan Stage
15%This module covers the planning phase of the DevSecOps pipeline, including identifying security requirements, conducting threat modeling, and establishing security-focused plans. It emphasizes collaboration between development, security, and operations teams to align with security goals from the start.
Domain 4 DevSecOps Pipeline-Code Stage
15%This module focuses on integrating security into the development process through secure coding practices. Topics include static code analysis, secure coding guidelines, and implementation of security controls within the IDE, enabling developers to write secure code using industry best practices.
Domain 5 DevSecOps Pipeline-Build and Test Stage
15%This module explores integration of security into build and testing processes, covering automated security testing including SAST and DAST. It emphasizes the use of continuous integration pipelines to detect and address security issues early in the development cycle.
Domain 6 DevSecOps PipelineRelease and Deploy Stage
15%This module explains maintaining security during release and deployment phases, including secure deployment techniques, Infrastructure as Code security, and container security tools. It covers release management and secure configuration practices to ensure production safety.
Above Practice Question from this Domain: Q6
Domain 7 DevSecOps Pipeline-Operate and Monitor Stage
15%This final module focuses on securing the operational environment and monitoring applications for security incidents. Topics include logging, monitoring, incident detection and response, and continuous security monitoring using SIEM tools to maintain runtime security.
Above Practice Question from this Domain: Q9
312-97 Exam FAQ
Common questions about the exam itself
What background do I need to sit the 312-97 ECDE exam without an EC-Council training course?
How difficult is the ECDE 312-97 compared to other EC-Council DevSecOps or security certifications?
What is the most challenging objective area in the 312-97 ECDE exam?
How long does it typically take to prepare for the 312-97 ECDE exam?
What happens on exam day for the 312-97 ECDE certification?
Can I retake the 312-97 ECDE exam if I fail, and what are the rules?
How long does the ECDE 312-97 certification stay valid once I pass?
What job roles does the ECDE 312-97 certification prepare me for?
Is there a prerequisite or related exam I should take before the 312-97 ECDE?
Are there multiple exam voucher options or bundles available for the 312-97 ECDE?
Other Eccouncil Exams
Free practice questions for more Eccouncil certification exams
