Assessment Guide | Python Network
Automation, Device Inventory & DNS Audit
| 2026 Updated Edition
Question 1
A company discovers that several workstations are resolving an internal hostname
to an unexpected IP address. What should an incident responder do first?
A. Delete the DNS records
B. Reinstall all affected workstations
C. Identify and preserve relevant evidence
D. Disable the entire DNS infrastructure
Answer: _C. Identify and preserve relevant evidence_
Rationale: Preserving evidence before making major changes helps maintain an
accurate record of what occurred and supports later analysis and remediation.
Question 2
Which Python data structure is most appropriate for storing device information
such as hostname, IP address, operating system, and owner?
A. Tuple only
B. Dictionary
C. Boolean
D. Integer
Answer: _B. Dictionary**_
Rationale: A Python dictionary stores data as key-value pairs, making it well
suited for structured device attributes.
Question 3
What is the primary purpose of a device inventory during incident response?
,A. To replace the organization's backup system
B. To generate employee payroll
C. To identify and track systems relevant to the investigation
D. To encrypt every workstation
Answer: _C. To identify and track systems relevant to the investigation**_
Rationale: An accurate inventory helps responders determine which devices may
be affected and provides important context for investigation and remediation.
Question 4
Which DNS record commonly maps a hostname to an IPv4 address?
A. MX
B. CNAME
C. PTR
D. A
Answer: _D. A**
Rationale: An A record maps a hostname to an IPv4 address. An AAAA record is
used for IPv6.
Question 5
Which DNS record maps a hostname to an IPv6 address?
A. MX
B. PTR
C. AAAA
D. TXT
Answer: _C. AAAA**_
Rationale: AAAA records provide hostname-to-IPv6-address mappings.
Question 6
An administrator needs to determine which hostname corresponds to a particular
IPv4 address. Which DNS mechanism is most relevant?
A. A record lookup
B. MX lookup
,C. PTR/reverse DNS lookup
D. TXT lookup
Answer: _C. PTR/reverse DNS lookup**_
Rationale: Reverse DNS uses PTR records to map an IP address back to a
hostname.
Question 7
Why should DNS changes be documented during incident remediation?
A. Documentation prevents DNS caching
B. Documentation automatically updates every client
C. Documentation establishes what was changed and why
D. Documentation replaces validation testing
Answer: _C. Documentation establishes what was changed and why**_
Rationale: Change documentation supports accountability, troubleshooting,
repeatability, and evidence requirements.
Question 8
Which Git command creates a new local repository in the current directory?
A. git push
B. git merge
C. git init
D. git fetch
Answer: _C. git init**_
Rationale: git init initializes a directory as a Git repository.
Question 9
What is the purpose of git status?
A. It permanently deletes untracked files
B. It displays the working tree and staging-state information
C. It creates a remote repository
D. It resolves DNS records
, Answer: _B. It displays the working tree and staging-state information**_
Rationale: git status helps determine which files are modified, staged,
untracked, or otherwise different from the repository state.
Question 10
Which Git command records staged changes in the local repository?
A. git clone
B. git pull
C. git commit
D. git branch -d
Answer: _C. git commit**_
Rationale: A commit records the currently staged changes in the local Git history.
Question 11
What is the primary purpose of a meaningful Git commit message?
A. To encrypt the repository
B. To describe the change represented by the commit
C. To replace source-code comments
D. To create a DNS record
Answer: _B. To describe the change represented by the commit**_
Rationale: Clear commit messages make project history easier to understand,
review, and audit.
Question 12
Which Git command sends local commits to a configured remote repository?
A. git status
B. git init
C. git diff
D. git push
Answer: _D. git push**