CompTIA SY0-501 CompTIA Security+ Online Training
CompTIA SY0-501 Online Training
The questions for SY0-501 were last updated at Nov 22,2024.
- Exam Code: SY0-501
- Exam Name: CompTIA Security+
- Certification Provider: CompTIA
- Latest update: Nov 22,2024
A security analyst is hardening a server with the directory services role installed. The analyst must ensure LDAP traffic cannot be monitored or sniffed and maintains compatibility with LDAP clients.
Which of the following should the analyst implement to meet these requirements? (Choose two.)
- A . Generate an X.509-compliant certificate that is signed by a trusted CA.
- B . Install and configure an SSH tunnel on the LDAP server.
- C . Ensure port 389 is open between the clients and the servers using the communication.
- D . Ensure port 636 is open between the clients and the servers using the communication.
- E . Remote the LDAP directory service role from the server.
Which of the following threat actors is MOST likely to steal a company’s proprietary information to gain a market edge and reduce time to market?
- A . Competitor
- B . Hacktivist
- C . Insider
- D . Organized crime.
A penetration tester is crawling a target website that is available to the public.
Which of the following represents the actions the penetration tester is performing?
- A . URL hijacking
- B . Reconnaissance
- C . White box testing
- D . Escalation of privilege
Which of the following characteristics differentiate a rainbow table attack from a brute force attack? (Choose two.)
- A . Rainbow table attacks greatly reduce compute cycles at attack time.
- B . Rainbow tables must include precomputed hashes.
- C . Rainbow table attacks do not require access to hashed passwords.
- D . Rainbow table attacks must be performed on the network.
- E . Rainbow table attacks bypass maximum failed login restrictions.
Which of the following best describes routine in which semicolons, dashes, quotes, and commas are removed from a string?
- A . Error handling to protect against program exploitation
- B . Exception handling to protect against XSRF attacks.
- C . Input validation to protect against SQL injection.
- D . Padding to protect against string buffer overflows.
A security analyst wishes to increase the security of an FTP server. Currently, all traffic to the FTP server is unencrypted. Users connecting to the FTP server use a variety of modern FTP client software.
The security analyst wants to keep the same port and protocol, while also still allowing unencrypted connections.
Which of the following would BEST accomplish these goals?
- A . Require the SFTP protocol to connect to the file server.
- B . Use implicit TLS on the FTP server.
- C . Use explicit FTPS for connections.
- D . Use SSH tunneling to encrypt the FTP traffic.
Which of the following explains why vendors publish MD5 values when they provide software patches for their customers to download over the Internet?
- A . The recipient can verify integrity of the software patch.
- B . The recipient can verify the authenticity of the site used to download the patch.
- C . The recipient can request future updates to the software using the published MD5 value.
- D . The recipient can successfully activate the new software patch.
Refer to the following code:
Which of the following vulnerabilities would occur if this is executed?
- A . Page exception
- B . Pointer deference
- C . NullPointerException
- D . Missing null check
Multiple employees receive an email with a malicious attachment that begins to encrypt their hard drives and mapped shares on their devices when it is opened.
The network and security teams perform the following actions:
– Shut down all network shares.
– Run an email search identifying all employees who received the malicious message.
– Reimage all devices belonging to users who opened the attachment.
Next, the teams want to re-enable the network shares.
Which of the following BEST describes this phase of the incident response process?
- A . Eradication
- B . Containment
- C . Recovery
- D . Lessons learned
An organization has determined it can tolerate a maximum of three hours of downtime.
Which of the following has been specified?
- A . RTO
- B . RPO
- C . MTBF
- D . MTTR