




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































WGU D522 – Python for IT Automation
Exam Coverage
D. use efficient iteration and appropriate data structures while avoiding unnecessary repeated work Answer: D — Appropriate data structures and efficient processing improve automation scalability.
D. delete logs Answer: C — Logging and reproducible testing make automation failures easier to diagnose.
A. disable logs B. include validation, limited permissions, logging, testing, and an appropriate approval process C. run untested code with administrator rights D. skip validation Answer: B — Production automation should include safeguards that limit operational risk.
D. delete state on each run Answer: B — Idempotent automation reduces unintended changes when scripts are rerun.
A. rerun blindly B. hide exceptions C. use structured logging, relevant error information, and controlled reproduction of the problem D. delete logs Answer: C — Logging and reproducible testing make automation failures easier to diagnose.
D. hide exceptions Answer: C — Logging and reproducible testing make automation failures easier to diagnose.
B. stop at the first error automatically C. handle expected exceptions per target and record the failure without unnecessarily terminating the entire workflow D. retry forever Answer: C — Targeted exception handling supports resilient multi-system automation.
C. hard-code passwords D. print secrets to logs Answer: B — Secrets should be protected through approved credential-management mechanisms.
A. ignore performance B. use unrelated structures C. use efficient iteration and appropriate data structures while avoiding unnecessary repeated work D. reload the same data repeatedly Answer: C — Appropriate data structures and efficient processing improve automation scalability.
B. handle expected exceptions per target and record the failure without unnecessarily terminating the entire workflow C. retry forever D. stop at the first error automatically Answer: B — Targeted exception handling supports resilient multi-system automation.