If you are preparing for the WGU D522 Python for IT Automation Objective Assessment, this 2026 study guide is designed to help you practice, review, and retain the critical Python programming skills you need to pass. This digital resource includes 220 exam-style questions covering all major domains tested on the WGU D522 assessment. Each question is followed by a clearly marked correct answer in bold italics and a detailed explanation in italics, so you can understand not just what the right answer is, but why it is right. This format turns every question into a focused learning opportunity, making it ideal for active recall, self-testing, and last-minute review.
This WGU D522 Python for IT Automation practice question bank is organized around the major content areas you will encounter, including Python Fundamentals and Syntax, Data Structures (Lists, Tuples, Dictionaries, Sets), Control Flow (Conditionals and Loops), Functions and Modules, Error Handling and File Operations, and IT Automation and Scripting. The questions are written to reflect the style, tone, and difficulty of the WGU D522 objective assessment, helping you become comfortable with the format and the types of programming decisions you will need to make as an IT automation professional. Whether you are taking D522 for the first time or retaking the course, this guide gives you a structured way to measure your readiness.
What makes this WGU D522 2026 study guide different is the answer explanation format. Instead of simply giving you an answer key, every question includes a rationale that clarifies key concepts, Python syntax, and best practices. The correct answer is displayed in bold italics, and the explanation is provided in italics, making it easy to scan, study, and review quickly. This is especially helpful for visual learners and for candidates who want to reinforce their understanding of variables, data types, operators, lists, dictionaries, loops, functions, exception handling, file I/O, modules, and automation libraries.
Each of the 220 questions is written with sufficient context and depth, ensuring that every item provides a realistic scenario. This means you are not just memorizing isolated facts; you are practicing how to apply Python knowledge to actual IT automation tasks. The questions are designed to challenge your critical thinking and help you integrate multiple concepts, which is essential for the WGU D522 assessment and for safe, effective practice in IT automation. The detailed rationales help you connect Python syntax to real-world scripting, which is essential for both the exam and your career.
The 220 questions are ideal for a variety of study methods. You can work through them domain by domain to focus on one subject at a time, or you can mix them up to simulate a full exam experience. You can use them as a pre-test to identify your strengths and weaknesses, as a mid-study check to track your progress, or as a final review in the days before your exam. Because the questions include detailed explanations, you can learn from every mistake and turn missed questions into study opportunities.
This resource is designed for WGU students preparing for the D522 Python for IT Automation objective assessment, as well as for IT professionals seeking to refresh their Python skills for automation. It is also useful for educators, training programs, and study groups looking for a ready-made question bank with explanations. The content is presented in a clear, organized format that is easy to print, annotate, and review on a computer, tablet, or phone.
Key features of this WGU D522 Python for IT Automation [2026] study guide include:
220 D522 practice questions with detailed answer explanations
Correct answers highlighted in bold italics for quick review
Explanations in italics to help you understand the reasoning
Coverage of core domains: Python fundamentals, data structures, control flow, functions, error handling, file operations, and IT automation
Exam-style wording and coding scenarios to build confidence
Ideal for self-study, group review, and last-minute cramming
Instant digital access so you can start studying right away
By practicing with this guide, you can improve your test-taking skills, strengthen your knowledge of Python programming, and approach the WGU D522 objective assessment with greater confidence. The questions are not just memorization drills; they are designed to help you think through real-world situations and apply the principles of Python for IT automation. The detailed rationales help you connect theory to practice, which is essential for both the exam and your career.
This WGU D522 exam prep resource also helps you manage your study time more effectively. Instead of rereading textbooks or searching for practice questions online, you get a single, organized file with 220 questions and explanations. You can focus on high-yield topics, review areas where you feel less confident, and track your improvement as you go. The bold italic answer format reduces confusion, while the italic explanations provide context and clarity. This makes the guide especially useful for busy students who need efficient, focused study materials.
Whether you are studying for course exams, IT certifications, or career advancement, this WGU D522 Python for IT Automation [2026] practice guide is a practical tool for your preparation. It is suitable for students in information technology, computer science, and cybersecurity programs. The content is relevant to both new programmers and experienced professionals who need a refresher on Python automation.
Please note: This is an unofficial study resource and is not affiliated with, endorsed by, or sponsored by Western Governors University. It is intended for supplemental study and review. Always verify current exam content, regulations, and requirements with official WGU materials.
Start your WGU D522 Python for IT Automation exam preparation today with this 2026 practice question guide. With 220 questions, bold italic answers, and italic explanations, it is a practical, efficient, and thorough way to review the material and build the confidence you need to succeed. Download now and take the next step toward your IT automation certification.
SEO Keywords/Tags:
WGU D522, D522 Python, D522 OA, D522 objective assessment, WGU Python for IT Automation, Python automation exam, WGU D522 study guide, D522 practice questions, Python certification, IT automation, Python scripting, Python fundamentals, data structures, lists, dictionaries, tuples, sets, control flow, loops, conditionals, functions, modules, error handling, file operations, automation libraries, bold italic answers, italic rationales, 220 questions, Stuvia study guide, WGU IT, Python exam prep, D522 2026, WGU objective assessment, Python for IT automation, scripting exam, IT automation certification
Content preview
NBRC TMC/CRT/RRT Version 3 Exam 2026 | 200 Exam-
Style Questions with Bold Italic Answers and Italic
Rationales | Comprehensive Study Guide for
Respiratory Therapy Certification
Domain I: Patient Data Evaluation and Recommendations (Questions 1–72)
1. A 68-year-old male with a history of COPD presents with increased dyspnea,
cough, and purulent sputum. His vital signs are: HR 110, RR 28, BP 138/86, SpO₂
88% on room air. Which of the following should the respiratory therapist
recommend FIRST?
A) Administer a bronchodilator via small-volume nebulizer
B) Initiate oxygen therapy to maintain SpO₂ between 88-92%
C) Obtain an arterial blood gas
D) Begin incentive spirometry
Answer: B) Initiate oxygen therapy to maintain SpO₂ between 88-92%
Explanation: For a COPD patient with hypoxemia (SpO₂ 88%), the immediate
priority is oxygen therapy titrated to the target range of 88-92% to prevent further
desaturation while avoiding oxygen-induced hypercapnia.
2. A respiratory therapist is reviewing a patient's medical record and notes a
history of smoking 1.5 packs per day for 20 years. What is the patient's smoking
history in pack-years?
A) 20 pack-years
B) 30 pack-years
C) 15 pack-years
D) 40 pack-years
,Answer: B) 30 pack-years
Explanation: Pack-years are calculated by multiplying the number of packs
smoked per day by the number of years smoked (1.5 × 20 = 30 pack-years).
3. A patient's sputum specimen is purulent, green in appearance, has separated
into layers, and has a foul odor. Which of the following is the MOST likely
cause?
A) Viral pneumonia
B) Pulmonary embolism
C) Anaerobic bacterial infection
D) Congestive heart failure
Answer: C) Anaerobic bacterial infection
Explanation: Purulent, green, foul-smelling sputum that separates into layers is
characteristic of an anaerobic bacterial infection, often seen in aspiration
pneumonia or lung abscess.
4. A respiratory therapist interviews a 14-year-old patient with cystic fibrosis
who reports difficulty clearing sputum despite using albuterol, hypertonic
saline, and a high-frequency chest wall oscillation vest. Which of the following
should the therapist recommend?
A) Montelukast
B) Budesonide
C) N-acetylcysteine
D) Dornase alfa (Pulmozyme)
Answer: D) Dornase alfa (Pulmozyme)
Explanation: Dornase alfa is a mucolytic specifically indicated for cystic fibrosis
that cleaves extracellular DNA in mucus, reducing viscosity and improving
clearance when standard therapies are insufficient.
5. A patient's chest radiograph shows asymmetrically spaced clavicles around
the sternum. The therapist should conclude that:
A) The patient was rotated
B) The patient has pectus excavatum
C) A pneumomediastinum occurred
D) The radiograph is overexposed
,Answer: A) The patient was rotated
Explanation: Asymmetric spacing of the clavicles around the sternum on a chest
radiograph indicates patient rotation, which can distort the image and lead to
misinterpretation.
6. A 52-year-old post-operative cholecystectomy patient's breath sounds
become more coarse upon completion of postural drainage with percussion.
The respiratory therapist should recommend:
A) Continuing the therapy until breath sounds improve
B) Administering dornase alpha
C) Administering albuterol therapy
D) Deep breathing and coughing to clear secretions
Answer: D) Deep breathing and coughing to clear secretions
Explanation: Coarse breath sounds after postural drainage indicate mobilized
secretions in the larger airways; deep breathing and coughing are the appropriate
next step to clear them.
7. A 65-kg spinal cord injured patient has developed atelectasis with an
inspiratory capacity of 30% of predicted. What bronchial hygiene therapy would
be MOST appropriate initially?
A) Incentive spirometry
B) IPPB with normal saline
C) Postural drainage and percussion
D) PEP therapy
Answer: B) IPPB with normal saline
Explanation: IPPB is indicated when a patient's inspiratory capacity is less than
30% of predicted and they cannot perform effective deep breathing exercises,
providing positive pressure to expand the lungs.
8. A respiratory therapist is assessing a patient's level of dyspnea. Which
statement by the patient indicates the presence of dyspnea?
A) "I can only sleep when sitting upright."
B) "I have trouble remembering to take my medication."
C) "My chest is congested, particularly in the morning."
D) "I feel short of breath while walking and have to stop and rest."
, Answer: D) "I feel short of breath while walking and have to stop and rest."
Explanation: Dyspnea is the subjective sensation of difficult or labored breathing.
The statement describing shortness of breath during exertion directly describes
dyspnea.
9. A 48-year-old female is admitted to the ED with diaphoresis, jugular venous
distension, and 3+ pitting edema in the ankles. These findings are MOST
consistent with:
A) Liver failure
B) Pulmonary embolism
C) Heart failure
D) Electrolyte imbalances
Answer: C) Heart failure
Explanation: Diaphoresis, jugular venous distension, and peripheral edema are
classic signs of heart failure due to fluid overload and impaired cardiac output.
10. A patient is admitted to the ED following a motor vehicle accident. Breath
sounds are absent in the left chest with a hyperresonant percussion note, and
the trachea is shifted to the right. HR is 45, RR is 30, and BP is 60/40. What
action should the therapist recommend FIRST?
A) Call for a STAT chest x-ray
B) Insert a chest tube into the left chest
C) Needle aspirate the 2nd left intercostal space
D) Activate the medical emergency team to intubate
Answer: C) Needle aspirate the 2nd left intercostal space
Explanation: The presentation is consistent with tension pneumothorax.
Immediate needle decompression is required before chest tube placement or
imaging.
11. A respiratory therapist is reviewing a patient's arterial blood gas results: pH
7.28, PaCO₂ 58 mm Hg, HCO₃⁻ 26 mEq/L. What is the correct interpretation?
A) Respiratory alkalosis
B) Metabolic acidosis
C) Respiratory acidosis
D) Metabolic alkalosis