The questions for this exam were last updated on January 7, 2026
Dumps Box (DumpsBox) offers up-to-date practice exam questions for GPYC certification exam which are developed and validated by GIAC subject domain experts certified in GIAC GPYC . These practice questions are update regularly as we keep an eye on any recent changes in GPYC syllabus, and when there is update our team quickly adjusts the questions. This commitment to providing the best quality exam prep material to certification aspirants is what makes DumpsBox.com the best certification exam prep website. On top of that, our strong, yet strictly moderated, community based feedback keeps the content clean and current. Each question has helpful community discussion that provides it extra perspective and introduces helpful resources for better exam preparation. This also saves students from other outdated practice questions or illicit exam dumps that can have adverse affects on career. Browse through our GIAC GPYC exam questions and pass your exam on first try.
What will the contents of the "__name__" variable be if the program "gpyc.py" is run as a standalone program?
Select one option, then reveal solution.
Question No. 2
Review the following Python code:
Select one option, then reveal solution.
Question No. 3
With a requests session object named "browser", how can the expiration attribute of a cookie named "MUID" from "gpyc.com/" be accessed?
Select one option, then reveal solution.
Question No. 4
What does the attacker do in a SQL Injection attack?
Select one option, then reveal solution.
Question No. 5
What is the output of the following line of code typed into a Python interactive session?
Select one option, then reveal solution.
Question No. 6
What will be the value of the i variable when the while loop finishes its execution0 i = 0 while i != 0: 1 = 1-1 else: i = i + 1
Select one option, then reveal solution.
Question No. 7
What would be the string resulting from the following command, considering the string variable "gpyc"?
Select one option, then reveal solution.
Question No. 8
An operator able to perform bitwise shifts is coded as (select two answers)
Select all that apply, then reveal solution.
Question No. 9
Third-party Python modules like Scapy and Beautiful Soup are used for what purpose?
Select one option, then reveal solution.
Question No. 10
Which regular expression will match all date-time stamps for log files of the format shown in the screen capture? A) B) C) D)
Select one option, then reveal solution.
Question No. 11
How many lines will the following code print?
Select one option, then reveal solution.
Question No. 12
Examine the code snippet below. What will be the contents of the variable T during the loops first iteration?
Select one option, then reveal solution.
Question No. 13
After calling a subprocess in a Python program, the program returns an error code of "0". What does this indicate?
Select one option, then reveal solution.
Question No. 14
Review the following code. What is the output?
Select one option, then reveal solution.
Question No. 15
A connection between a python raw socket server and a netcat client is being made over port 1100 on the same computer. The last command in the Python terminal is: What needs to be typed in the python terminal to display the input from the netcat session?