Q: 15
SIMULATION
A recent black-box penetration test of http://example.com discovered that external
website vulnerabilities exist, such as directory traversals, cross-site scripting, cross-site forgery, and
insecure protocols.
You are tasked with reducing the attack space and enabling secure protocols.
INSTRUCTIONS
Part 1
Use the drop-down menus to select the appropriate technologies for each location to implement a
secure and resilient web architecture. Not all technologies will be used, and technologies may be
used multiple times.
Part 2
Use the drop-down menus to select the appropriate command snippets from the drop-down menus.
Each command section must be filled.

Your Answer
Discussion
Did anyone else see questions like this on practice exams? Router as edge, then firewall, then WAF seems standard.
Nah, I don't think firewall goes first. Similar questions in practice tests show router at the edge, then firewall, then WAF before the web server. The trick is not to mix up L3 (router) with L4/L7 controls. For Part 2, rsa:2048 is what you use in each field-the others are distractors since -keyout/-out are part of longer command lines, not just snippets here.
Router, firewall, WAF, web server order is what I’ve seen in official guides and practice labs for this scenario. For the command part, pretty sure rsa:2048 is correct in every field as listed. Check CompTIA objectives if you want to double check me.
Not sure firewall should be first here. Router usually comes at the edge, then firewall, WAF, then web server. For Part 2, pretty sure rsa:2048 is the expected snippet-all three times. Common trap is picking -keyout.
Looks like firewall as the first box makes more sense, not router. I'd pick firewall at the perimeter, then WAF, then web server. For the commands, I think you need something like -keyout for one of the fields instead of rsa:2048 everywhere.
parta
Internet->Router->Firewall->WAF
| --->Web server
WAF
partb
openssl req -new -newkey rsa:2048 \
-keyout /certificate/csr.key -out /certificate/example.com.csr
Generating RSA private key, 2048 bit long modulus
Firewall at the edge for first drop-down seems more logical to me since it does packet filtering right away. For the command snippets, I'd toss in
-keyout as one of the picks instead of just rsa:2048 every time. Not 100% sure though, maybe I'm mixing up with another format. Agree?Hmm, I'd actually pick firewall as the first box here. I was taught to put that at the edge. Also, for the commands, maybe use -keyout at least once.
Be respectful. No spam.
