Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GIAC (SANS) logo

GIAC Python Coder

Domain 2Objective 2

Regular Expressions GPYC Practice Questions (Page 3)

Part of the Scripting and Automation domain, which makes up ~23% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 120-minute exam (~50–80 total, ~12–18 in this domain), expect 4–6 from this objective — we provide 16 practice questions to prepare you well beyond it. (estimate)

16questions here
4free pages
8concepts

Questions 11–15

  1. 11foundation · easy

    Which regex construct creates a named capturing group called 'year'?

    Select an answer first
  2. 12application · medium

    A script must extract the key and value from lines like `key=value` in a config file. Which code correctly extracts both parts using a named group?

    Select an answer first
  3. 13application · easy

    A developer is parsing a CSV line like `name,age,city` and needs to extract the second field (age). They use `re.split`. Which code correctly extracts the age?

    Select an answer first
  4. 14foundation · easy

    What is catastrophic backtracking in regular expressions?

    Select an answer first
  5. 15foundation · easy

    What does the assertion (?<=USD) match?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GIAC (SANS). “GPYC” is a trademark of its owner, used for identification only.