New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Eccouncil 312-97 Exam - Topic 2 Question 1 Discussion

Actual exam question for Eccouncil's 312-97 exam
Question #: 1
Topic #: 2
[All 312-97 Questions]

(Michael Rady recently joined an IT company as a DevSecOps engineer. His organization develops software products and web applications related to online marketing. Michael deployed a web application on Apache server. He would like to safeguard the deployed application from diverse types of web attacks by deploying ModSecurity WAF on Apache server. Which of the following command should Michael run to install ModSecurity WAF?)

Show Suggested Answer Hide Answer
Suggested Answer: A

On Debian- and Ubuntu-based systems, ModSecurity for Apache is installed using the package libapache2-mod-security2. The correct command to install this package is sudo apt install libapache2-mod-security2 -y, where the -y flag automatically confirms installation prompts. The other options include invalid flags that are not recognized by the package manager and would result in command failure. Installing ModSecurity during the Operate and Monitor stage provides an additional layer of defense by inspecting incoming HTTP requests and blocking malicious traffic such as SQL injection, cross-site scripting, and protocol violations. A Web Application Firewall helps protect deployed applications from common attack vectors and supports defense-in-depth strategies in production environments.


Contribute your Thoughts:

0/2000 characters
Gracia
5 days ago
I feel like I might be mixing up the flags. Was it --y or something else? I need to double-check that.
upvoted 0 times
...
Goldie
10 days ago
This question seems similar to one we practiced in class about installing Apache modules. I think it’s definitely option A.
upvoted 0 times
...
Eliz
15 days ago
I remember studying about ModSecurity, but I’m not entirely sure about the exact command syntax.
upvoted 0 times
...
Melita
20 days ago
Okay, I've got this. The correct command is A, sudo apt install libapache2-mod-security2 --y. I'm confident that's the right answer based on my experience with ModSecurity installations.
upvoted 0 times
...
Bobbie
26 days ago
Hmm, this is a tricky one. I know we need to install ModSecurity WAF, but I'm not sure about the specific command. I'll have to review my notes on Apache server configuration to make sure I get this right.
upvoted 0 times
...
Blair
1 month ago
I'm a bit confused here. The question is asking about the command to install ModSecurity WAF, but the options don't seem to match the typical installation command. I'll have to think this through carefully.
upvoted 0 times
...
Elouise
1 month ago
I think the answer is A. The command to install ModSecurity WAF on Apache server is sudo apt install libapache2-mod-security2 --y.
upvoted 0 times
...

Save Cancel