Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free GIAC GPYC Practice Exam with Questions & Answers | Set: 2

Questions 11

What does the attacker do in a SQL Injection attack?

Options:
A.

Obtains an administrative login for a SQL database server

B.

Finds and exploits CVSS-SIG vulnerabilities in a particular version of SQL database

C.

Inject information into an SQL server via an undocumented administrative interface

D.

Submits a string that is interpreted as a SQL database command

GIAC GPYC Premium Access
Questions 12

What is the output of the following line of code typed into a Python interactive session?

GPYC Question 12

Options:
A.

0b10101

B.

18

C.

0b10010

D.

0b101101

Questions 13

Review the following code.

GPYC Question 13

What is the output?

Options:
A.

(1,0)

B.

(1,)

C.

(256,)

D.

(\x01#\x00)

Questions 14

A log file is stored in variable "a". The file has the following format for each log entry, in order, stored in big endian:

Field 1: 2-byte integer

Field 2: 2-byte integer

Field 3: 4-byte string

Which of the following would unpack a line from the log file into the proper fields?

Options:
A.

struct. unpack('>HH4s',a)

B.

stmct.unpack('

C.

struct.unpack('>HHHH,/a)

D.

stnjct.unpack('!BxBx4s'/a)

Questions 15

Review the following code:

GPYC Question 15

What is the output of this code?

Options:
A.

blue

B.

red blue

C.

red blue yellow

D.

red

Questions 16

What is the output of the Is(TCP) function?

Options:
A.

It lists all of the TCP port numbers in a TCP stream

B.

It lists all of the packets that have a TCP layer

C.

It lists the contents of the TCP layer

D.

It lists all of the fields associated with the TCP layer

Questions 17

An operator able to perform bitwise shifts is coded as (select two answers)

Options:
A.

- -

B.

++

C.

<<

D.

>>

Questions 18

Review the following Python 3 code.

GPYC Question 18

Options:
A.

539

B.

4a6e

C.

(52-4)

D.

three

Questions 19

If the variable "example" contains a handle to a subprocess object, which of the following would show all of the possible results of running the subprocess?

Options:
A.

example.stdout.read()

B.

example.recv(*)

C.

example.read()

D.

example.stdout.read()+example.stderr.read()

Questions 20

What is the cause of the error shown below?

GPYC Question 20

Options:
A.

A syntax error

B.

The re module hasn't been imported

C.

A bad file name

D.

The stdin module hasn't been imported