Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

EC-Council 312-97 Exam - Topic 2 Question 4 Discussion

Posted by Ahmed on Jan 22, 2026 at 06:27 AM

(Andrew Gerrard has recently joined an IT company that develops software products and applications as a DevSecOps engineer. His team leader asked him to download a jar application from the organization GitHub repository and run the BDD security framework. Andrew successfully downloaded the jar application from the repository and executed the jar application; then, he cloned the BDD security framework. Which of the following commands should Andrew use to execute the authentication feature?.)

Suggested Answer: D

The BDD Security framework is executed through Gradle wrapper commands, and the correct wrapper script on Unix-like systems is ./gradlew (dot-slash indicates ''run the wrapper from the current directory''). Options using /gradlew or /gradlev imply an absolute path at filesystem root and are typically incorrect for a cloned project. Also, the wrapper name is gradlew, not gradlev. For executing only the authentication feature (or scenarios tagged for authentication), Cucumber tag expressions are used through the -Dcucumber.options system property. The command must include --tags @authentication to select authentication-tagged scenarios. To skip scenarios tagged ''skip,'' the exclusion operator is used as --tags ~@skip (meaning ''exclude @skip''). Options A and B incorrectly include --tags @skip which would include skipped tests rather than exclude them. Therefore, ./gradlew -Dcucumber.options='--tags @authentication --tags ~@skip' is the correct choice to run authentication scenarios while excluding anything marked to skip.


Get Premium 312-97 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
AL
Aleshia 4 months ago
I feel like A is too off. The command should start with ./ not /.
DA
Davida 4 months ago
I’m leaning towards B. It has the right command structure.
SH
Shelia 4 months ago
I agree, D seems right. The syntax is on point.
LA
Lauran 4 months ago
I think the answer is D. It looks correct to me.
RO
Rosamond 6 months ago
Not sure about this, seems a bit confusing.
SH
Shay 6 months ago
Wait, why are there two different commands for the same thing?
CA
Catalina 6 months ago
Definitely going with D!
JE
Jessenia 6 months ago
I think it's B, not D.
WA
Wava 6 months ago
Option D looks correct to me.
VI
Vincent 6 months ago
I bet Andrew is wishing he had a better team leader right about now. Downloading a random JAR file and running a security framework? What could possibly go wrong?
LA
Lavera 7 months ago
Haha, "gradlev"? Is that a new type of gradle command? I think I'll stick with the good old "gradlew".
TA
Tammi 7 months ago
Hmm, I'm not sure about the "~@skip" part. Shouldn't we just use "--tags @authentication" to run only the authentication tests?
AN
Anastacia 7 months ago
D) looks good to me. The command uses the correct "gradlew" and the "~@skip" tag to exclude the skipped tests.
MA
Man 7 months ago
B) is the correct answer. The command should use "gradlew" instead of "gradlev".
CH
Chu 7 months ago
I’m a bit confused about the difference between “-Dcucumber.options” and the tags. I hope I remember the right command when it comes to executing the tests.
CO
Coleen 7 months ago
I feel like I might have seen a question like this before, and I think the correct command was option D, but I can't recall the exact syntax.
CH
Charlene 8 months ago
I'm not completely sure, but I remember something about using the tilde (~) to skip tags in similar practice questions.
TW
Twana 8 months ago
I think the command should start with "./gradlew" since that's the standard way to execute Gradle tasks, right?
TA
Tatum 9 months ago
I'm feeling pretty confident about this one. The instructions are clear, and I think option D is the correct answer. I'll make sure to double-check my work, but I'm ready to tackle this question.
LE
Lea 9 months ago
This seems straightforward enough. I'll go with option D, ./gradlew -Dcucumber.options='--tags @authentication --tags ~@skip'. That should execute the authentication feature and exclude any skipped scenarios.
VI
Vivan 9 months ago
I'm a bit confused about the difference between the @skip and ~@skip tags. I'll need to double-check the documentation to make sure I understand how to properly exclude the skipped scenarios.
LA
Laticia 9 months ago
Okay, let's see here. I think the key is to use the correct command for the operating system, either /gradlew or ./gradlew. And then the Cucumber options to target the authentication feature and skip any tagged scenarios.
RO
Roosevelt 9 months ago
Hmm, this looks like a tricky one. I'll need to carefully read through the options and think about the syntax for executing the BDD framework.
AN
Antonio 3 months ago
↳ replying to Roosevelt
I’m leaning towards B. But I’m not sure about the command format.
TR
Tran 3 months ago
↳ replying to Roosevelt
I agree, D seems right. The tilde is important for skipping.
GE
Geoffrey 3 months ago
↳ replying to Roosevelt
I think it's option D. The syntax looks correct.
0/2000 characters

Save Cancel