WGU D385 LOGGING & SECURITY
ISSUES OBJECTIVE ASSESSMENT
NEWEST 2024 ACTUAL EXAM TEST
BANK 200 QNS
What are some Python debugging tools? - ANSWER-- pdb: most commonly used
,- Web-PDB
- wdb
- Pyflame
- objgraph
Sensitive Data Leaks - ANSWER-- occurs when an application fails to properly protect sensitive
information
- this typically occurs through descriptive response headers, descriptive error messages with stack traces
or database error messages, or revealing comments in HTML files
Cross-site Request Forgery - ANSWER-- client-side technique used to attack other users of a web
application
- attackers send HTTP requests that pretend to come from the victim
- attackers then carry out unwanted actions such as changing a password or transferring money from a
bank account
What are some common debugging techniques? - ANSWER-- printing out values of variables
- changing the state ("path") of the program to make it do different things
- stepping through the execution of a program line by line
- breakpoints
- trace points
- stopping the program at certain events
- viewing the output of a program in a debugger window
CSRF Mitigation - ANSWER-- CSRF tokens
- SameSite cookies
- avoid using GET requests for state-changing actions
XML External Entity Attacks - ANSWER-- XXE
- when attackers exploit an XML parser to read arbitrary files on your server
- attackers might also be able to read config files, retrieve user information
, Insecure Deserialization - ANSWER-- serialization is the conversion of an object in a programming
language is saved into a format that can be saved to a database
- DEserialization is when a serialized object is read from a file or the network and converted back into an
object
- INSECURE DESERIALIZATION occurs when an attacker can manipulate the serialized object and achieve
authentication bypass, DOS, or arbitrary code execution
Injection Attacks - ANSWER-- when an application cannot properly distinguish between untrusted user
data and code
- typically allows for arbitrary code execution
SQL Injection Attack Mitigation - ANSWER-- use parameterized statements
- attacker us able to send requests on behalf of the server
- allows attackers to forge the request signature and assume a privileged position on a network,
bypassing firewall controls, and gaining access to internal services
SSRF Mitigation - ANSWER-- never make outbound requests based on user input
- validate external addresses before initiating any outbound requests
PDB - ANSWER-- debugger built into the Python standard library
Which three actions are supported by the Python Debugger (PDB)? (Choose 3 answers.) - ANSWER--
establishing breakpoints
- code step throughs
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Nurseking. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $15.49. You're not tied to anything after your purchase.