2026-2027 Exam Questions with Answers
and Rationales
Introduction
This document covers Python network remediation, DNS configuration,
system recovery, and validation concepts for D522 Task 2. It contains
60 practice questions with answers and rationales, including C3, C4,
and C5 topics such as acceptance criteria, structured logging, Git,
backups, least privilege, secure automation, and recovery evidence.
The material also includes an end-to-end practical review checklist
covering remediation, DNS troubleshooting, recovery, rollback,
validation, logging, and secure automation.
Exam Questions and Answers
Wgu d522 task 2 performance assessment python network
remediation, dns configuration, system recovery & validation with
c3,c4 and c5 complete exam questiona and answers with rationale
,How to Use This Practice Exam
Attempt each question before checking the answer and rationale.
For hands-on preparation, reproduce the concepts in a sandbox or
authorized lab rather than on production systems.
Pay particular attention to desired-state validation, rollback
planning, DNS troubleshooting, logging, least privilege, and
evidence collection.
For C3/C4/C5 preparation, focus on demonstrating not only that a
script runs, but that its outcome is measurable, validated,
recoverable, and documented.
Coverage Map
Section Questions Primary Skills
Python Network 1–10 Netmiko, ipaddress,
Remediation subprocess,
validation, exceptions,
logging
DNS Configuration 11–20 Records, SOA, AXFR,
TTL, authoritative
testing
System Recovery 21–30 RTO/RPO, backups,
isolation, rollback,
recovery checkpoints
Validation / C3 31–37 Acceptance criteria,
independent
validation, evidence,
, failure handling
Validation / C4 38–44 Structured logging,
Git, backups,
repeatable testing
Validation / C5 45–52 Least privilege, secure
automation, input
validation, recovery
evidence
Integrated Scenarios 53–60 End-to-end
remediation, DNS,
recovery, validation
and documentation
, Python Network Remediation
Question 1. A remediation script should normally apply only the
changes required to move a device from its current state to the
desired state. What principle does this demonstrate?
A. Idempotence
B. Obfuscation
C. Broadcasting
D. Serialization
Correct Answer: A
Rationale: Idempotent automation can be run repeatedly without
causing unintended additional changes. Comparing actual state with
desired state and changing only what differs reduces disruption.
Question 2. Which Python library is commonly used to automate SSH
connections and configuration commands on network devices?
A. pandas
B. netmiko
C. matplotlib
D. tkinter
Correct Answer: B
Rationale: Netmiko is designed for network-device automation over
SSH and supports sending commands and configuration sets to many
common platforms.