GIAC
GPYC · Question #18
What would be the result of the following code in Python? ``python registry_key = reg_handle.open("Microsoft\Windows NT\CurrentVersion") map(lambda x: x.path(), registry_key.subkeys()) ``
Sign in or unlock GPYC to reveal the answer and full explanation for question #18. The question stem and answer options stay visible for context.
Web Scraping & Forensics with Python
Question
What would be the result of the following code in Python?
registry_key = reg_handle.open("Microsoft\Windows NT\CurrentVersion")
map(lambda x: x.path(), registry_key.subkeys())
Options
- AThe path of each subkey under Microsoft\Windows NT\CurrentVersion
- BA tuple containing the name, value, and type of each subkey under Microsoft\Windows NT\CurrentVersion
- CMicrosoft\Windows NT\CurrentVersion
- DThe full registry path of the CurrentVersion key
- EA handle to the Microsoft\Windows NT\CurrentVersion key
Unlock GPYC to see the answer
You've previewed enough free GPYC questions. Unlock GPYC for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Windows registry#digital forensics#map/lambda#registry subkeys