ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 78 - SY0-601 discussion

Report
Export

A company was compromised, and a security analyst discovered the attacker was able to get access to a service account. The following logs were discovered during the investigation:

Which of the following MOST likely would have prevented the attacker from learning the service account name?

A.
Race condition testing
Answers
A.
Race condition testing
B.
Proper error handling
Answers
B.
Proper error handling
C.
Forward web server logs to a SIEM
Answers
C.
Forward web server logs to a SIEM
D.
Input sanitization
Answers
D.
Input sanitization
Suggested answer: D

Explanation:

Input sanitization can help prevent attackers from learning the service account name by removing potentially harmful characters from user input, reducing the likelihood of successful injection attacks.

Reference:

CompTIA Security+ Certification Exam Objectives 2.2: Given a scenario, implement secure coding techniques.

CompTIA Security+ Study Guide, Sixth Edition, pages 72-73

asked 02/10/2024
jaimie lloyd
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first