GIAC Python Coder (GPYC) Free Practice Exam Questions

16 real GIAC Python Coder (GPYC) exam questions with answers and AI explanations. GIAC certification prep — page 2 of 2.

  1. Question 20: 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…
  2. Question 22: 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?
  3. Question 25: Which of the following modules allows a programmer to specify and spawn new processes, connect to their input and output pipes, and retrieve returned data?
  4. Question 26: Which of the following import statements will add the ability to parse data with regular expressions to your script?
  5. Question 29: Which python regular expression method should be used to match any character in a-z, 0-9, or !@#$%^&*()?
  6. Question 30: What is the output of the following line of code typed into a Python interactive session? >>> print(bin(0b101010 ^0b111000))