• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 47 pages
Exam (elaborations)

Wgu D522 V2 Task 1 Performance Assessment | Complete Python It Automation Guide, Network Discovery, Dns, Gitlab, Api, Troubleshooting & Submission Checklist | 2026 Updated

Document preview thumbnail
Preview 4 out of 47 pages

This comprehensive Task 1 Performance Assessment (PA) guide and practice examination is meticulously designed for candidates preparing for the Western Governors University (WGU) D522 V2 Python for IT Automation Task 1 Performance Assessment. Aligned with the 2026/2027 curriculum, this document serves as a definitive study guide and exam review, featuring 100 super-advanced questions that mirror the complexity and rigor of the actual Task 1 PA requirements. It covers both theoretical foundations and practical workplace applications, including network discovery, DNS queries and audits, basic GitLab integration, API fundamentals, troubleshooting, and submission checklist requirements.

Content preview

WGU D522 V2 TASK 1 PERFORMANCE ASSESSMENT |
COMPLETE PYTHON IT AUTOMATION GUIDE,
NETWORK DISCOVERY, DNS, GITLAB, API,
TROUBLESHOOTING & SUBMISSION CHECKLIST |
2026 UPDATED
This comprehensive Task 1 Performance Assessment (PA) guide and practice examination is
meticulously designed for candidates preparing for the Western Governors University (WGU)
D522 V2 Python for IT Automation Task 1 Performance Assessment. Aligned with the 2026/2027
curriculum, this document serves as a definitive study guide and exam review, featuring 100
super-advanced questions that mirror the complexity and rigor of the actual Task 1 PA
requirements. It covers both theoretical foundations and practical workplace applications,
including network discovery, DNS queries and audits, basic GitLab integration, API
fundamentals, troubleshooting, and submission checklist requirements. Each question is
accompanied by a detailed, verified solution to ensure 100% correct answers and a deep,
integrated understanding of Python automation principles, guaranteeing distinction-level
preparation for this critical IT credential. The course emphasizes a systematic approach to
solving problems and the application of programming logic to administer secure IT
environments.
Table of Contents
1. Task 1 Overview and Core Requirements
2. Python Fundamentals for IT Automation
3. Network Discovery and Device Inventory
4. DNS Query, Audit, and Compromise Detection
5. Basic API Integration and Data Exchange
6. GitLab Version Control and Repository Management
7. Troubleshooting and Debugging Techniques
8. Script Structure, Documentation, and Best Practices
9. Submission Checklist and Evaluation Criteria
10. Task 1 Performance Assessment Roadmap

,Question 1
What is the primary objective of Task 1 in the WGU D522 V2 Performance Assessment?
A) To write a complete, functional Python script that performs network device discovery, DNS
compromise audit, and basic API integration
B) To configure a single network router using Python
C) To create a static website using Flask
D) To write a simple Python script that prints "Hello, World!"

Correct Answer: A
Task 1 requires students to build a foundational Python automation solution that combines
multiple IT automation domains. This includes network device discovery, DNS compromise
auditing, and basic API integration. Options B, C, and D represent simpler tasks that do not
meet the comprehensive requirements of Task 1.



Question 2
Which Python module is most commonly used for performing basic network discovery and
device inventory in Task 1?
A) socket
B) python-nmap
C) requests
D) subprocess

Correct Answer: B
The python-nmap module is the most comprehensive and widely used library for network
discovery in Python automation. It provides full Nmap functionality including host discovery,
port scanning, OS detection, and service version detection. While socket (A) can perform basic
connectivity checks, it lacks the advanced features of python-nmap. The requests module (C) is
for HTTP, and subprocess (D) is for system commands.



Question 3
What is the correct way to perform a ping sweep for network discovery using python-nmap in

,Task 1?
A) nm = nmap.PortScanner(); nm.scan('192.168.1.0/24', arguments='-sn')
B) nmap.scan('192.168.1.0/24', '-sn')
C) port_scanner.scan('192.168.1.0/24', 'ping')
D) nmap.NetworkScanner('192.168.1.0/24').scan()

Correct Answer: A
The correct way to use python-nmap is to create a PortScanner object and call the scan() method
with the target and arguments. The -sn argument performs a ping scan (host discovery) without
port scanning. Options B, C, and D use incorrect syntax or methods.



Question 4
What is the purpose of network discovery in the Task 1 automation script?
A) To block unauthorized devices from accessing the network
B) To identify active devices on the network and gather information about them
C) To encrypt all network traffic
D) To configure network routers and switches

Correct Answer: B
Network discovery is the process of identifying active devices on a network and gathering
information such as IP addresses, hostnames, and open ports. This information is used for
inventory management, security auditing, and automation planning. Options A, C, and D
describe other network functions.



Question 5
Which of the following is a correct way to scan a range of IP addresses for active hosts
using python-nmap in Task 1?
A) nm.scan('192.168.1.1-254', arguments='-sn')
B) nm.scan('192.168.1.0/24', arguments='-sn')
C) nm.scan('192.168.1.1,2,3', arguments='-sn')
D) All of the above

, Correct Answer: D
python-nmap supports various target specifications including CIDR notation (B), IP ranges (A),
and comma-separated lists (C). All three formats are valid for specifying targets in nmap scans.
The -sn argument performs a ping sweep.



Question 6
What is the primary purpose of DNS auditing in Task 1?
A) To improve DNS resolution speed
B) To identify potential DNS misconfigurations or security compromises
C) To encrypt DNS queries
D) To block malicious DNS queries

Correct Answer: B
DNS auditing involves checking DNS records for misconfigurations, inconsistencies, or security
issues that could indicate a compromise. This is a critical task for maintaining network security
and reliability. Options A, C, and D describe other DNS functions.



Question 7
Which Python module is most commonly used for performing DNS queries in Task 1?
A) socket
B) dnspython
C) requests
D) subprocess

Correct Answer: B
The dnspython module (dns.resolver) is the most comprehensive and widely used library for DNS
queries in Python automation. It supports all common record types (A, AAAA, MX, NS, TXT,
CNAME, SOA). While socket.gethostbyname() (A) can perform basic A-record lookups, it lacks
the flexibility of dnspython. The requests module (C) is for HTTP, and subprocess (D) is for
system commands.

Document information

Uploaded on
August 31, 2026
Number of pages
47
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$15.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
4
Followers
0
Items
318
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions