All Posts

Comptia Pentest+ 2023 Questions and answer - Part 2

Mary Mary Smith
03 Mar 2023
2 min
0

1. Consider the above command-line, the function of the || operator is:

A) The following command should only be run if the previous command is successful
B) The following command should only be run if the previous command does not execute successfully
C) The output of the command is indicated before the operator should be directed to the following command as input
D) The following command should only be run if the previous command has an exit code of 0



2. Which one of the following does an ethical hacker require to penetrate a system?

A) Training
B) Permission
C) Planning
D) Nothing



3. What is Gray box Pentesting?

A) Pentesting with no knowledge
B) Pentesting with partial knowledge
C) Pentesting with complete knowledge
D) Pentesting with permission



4. If you have been hired to perform an attack against a target system to find and exploit vulnerabilities, what type of hacker are you?

A) Gray Hat
B) Black Hat
C) White Hat
D) Red Hat



5. Which of the following cause describes an attacker who goes after a target to draw attention?

A) Terrorist
B) Criminal
C) Hacktivist
D) Script Kiddie



1. Right Answer: B
Explanation: It is the OR logical operation operator. In the presence of the operator, the following command is executed if and only if the command before it fails.

2. Right Answer: B
Explanation: Ethical Hackers always require legal permission.

3. Right Answer: C
Explanation: Gray box, is a type of penetration testing in which the pentester is provided with very limited prior knowledge of the system or any information on targets.

4. Right Answer: C
Explanation: Hacktivists draw the attention to target to deliver a message or promote an agend

5. Right Answer: A
Explanation: Script Kiddies have no or very low knowledge about hacking.

0 Comments
Leave a comment