GIAC certification · Exam GPEN

GPEN Mock Exam Page 2

GIAC Certified Penetration Tester

Free GPEN questions on Topic 1: Volume A, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 1: Volume A questions

11–20 of 30 free
Question 11 Choose 1

You are done pen testing a Windows system and need to clean up some of the changes
you have made. You created an account ‘pentester’ on the system, what command would
you use to delete that account?

Show answerHide answer

Correct answer: D

Net account pentester /del

Question 12 Choose 1

Identify the network activity shown below;


Show answerHide answer

Correct answer: D

An attempt to impersonate the local gateway

Question 13 Choose 1

When a DNS server transfers its zone file to a remote system, what port does it typically
use?

Show answerHide answer

Correct answer: D

53/UDP

Explanation

http://www.networkworld.com/article/2231682/cisco-subnet/cisco-subnet-allow-both-tcpand-
udp-port-53-to-your-dns-servers.html

Question 14 Choose 1

You have gained shell on a Windows host and want to find other machines to pivot to, but
the rules of engagement state that you can only use tools that are already available. How
could you find other machines on the target network?

Show answerHide answer

Correct answer: B

Use the "ping" utility in a for loop to sweep the network.

Explanation

http://www.slashroot.in/what-ping-sweep-and-how-do-ping-sweep

Question 15 Choose 1

Which of the following is the JavaScript variable used to store a cookie?

Show answerHide answer

Correct answer: C

Document cookie

Explanation

http://www.w3schools.com/js/js_cookies.asp

Question 16 Choose 1

Which type of Cross-Sire Scripting (XSS> vulnerability is hardest for automated testing
tools to detect, and for what reason?

Show answerHide answer

Correct answer: A

Stored XSS. because it may be located anywhere within static or dynamic sitecontent

Question 17 Choose 1

While performing a code audit, you discover a SQL injection vulnerability assuming the
following vulnerable query, what user input could be injected to make the query true and
return data?
select * from widgets where name = '[user-input]';

Show answerHide answer

Correct answer: D

‘or l=1’

Question 18 Choose 1

You are running a vulnerability scan on a remote network and the traffic Is not making It to
the target system. You investigate the connection issue and determine that the traffic is
making it to the internal interface of your network firewall, but not making. It to the external
Interface or to any systems outside your firewall. What is the most likely problem?

Show answerHide answer

Correct answer: C

A host based firewall is blocking the traffic

Question 19 Choose 1

You suspect that a firewall or IPS exists between you and the target machine. Which nmap
option will elicit responses from some firewalls and IPSs while being silently dropped by the
target, thus confirming the existence of a firewall or IPS?

Show answerHide answer

Correct answer: B

–Firewalk

Question 20 Choose 1

What is the purpose of die following command:
nc.exe -I -p 2222 -e cmd.exe

Show answerHide answer

Correct answer: C

It is used to start a listener linked to cmd.exe on port 2222 UDP

Full mock exam

Sit the GPEN exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real GPEN exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full GPEN mock exam
  • 65questions per mock
  • 105 mintime limit
  • 312questions in the bank
  • Newmock on every attempt