• 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 33 pages
Exam (elaborations)

Wgu D385 Logging And Security Issues Final Paper Questions And Solutions

Document preview thumbnail
Preview 4 out of 33 pages

Wgu D385 Logging And Security Issues Final Paper Questions And Solutions

Content preview

WGU D385 LOGGING AND SECURITY ISSUES FINAL PAPER
QUESTIONS AND SOLUTIONS

◉ Unconstrained Input
Answer: - the user can input as much data as they want


◉ CERT Top 10 Secure Coding Practices
Answer: 1. validate input
2. heed compiler warning
3. architect/design for security
4. keep it simple
5. default deny
6. least privileges
7. sanitize data

,8. defense in depth
9. QA
10. standards


◉ Unit Test
Answer: - smallest, testable pieces of code called units
- verifies that each part of the code works correctly and as intended


◉ What are the popular Python unit testing frameworks?
Answer: - PyUnit (built-in)
- PyTest


◉ Which SDL phase uses static code analysis?
Answer: - implementation
- white box testing during the implementation phase

,◉ What are true about assertions?
Answer: - they are conditional Boolean expressions
- they have an optional message part
- they are used to check the types or values of arguments


◉ What happens when assertion condition result is false?
Answer: - the program will stop and given an error message


◉ What is the general structure of an assertion statement?
Answer: - assert expression [assertion_message]


◉ Which test is solely black box testing?
Answer: - Integration testing

, ◉ What are two techniques of defensive programming?
Answer: - value substitution
- exception handling


◉ Which two classes does the bdb module implement?
Answer: - Breakpoint
- Bdb


◉ Which attribute provides a dictionary of breakpoint instances?
Answer: - bplist
- maintains a (file, line) tuple of breakpoints


◉ Which function can be used to return all set breakpoints?
Answer: - get_all_breaks( )
- returns a string with all set breakpoints

Document information

Uploaded on
October 3, 2026
Number of pages
33
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$17.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

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TopGradeInsider
4.1
(14)
Sold
202
Followers
1
Items
66134
Last sold
15 hours 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