100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

WGU D385 LOGGING AND SECURITY ISSUES QUESTIONS WITH CORRECT DETAILED ANSWERS 2024

Rating
-
Sold
-
Pages
13
Grade
A+
Uploaded on
17-02-2024
Written in
2023/2024

WGU D385 LOGGING AND SECURITY ISSUES 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 What are some Python debugging tools? - ANSWER- - pdb: most commonly used - Web-PDB - wdb - Pyflame - objgraph 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 Log Injection Attack Mitigation - ANSWER- - prefixing log entries with meta-data (i.e. timestamp) - validate the entry before accessing or opening 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 CSRF Mitigation - ANSWER- - CSRF tokens - SameSite cookies - avoid using GET requests for state-changing actions SSRF - ANSWER- - Server-side Request Forgery - 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 - stack tracing Which three debugging techniques require the use of a debugger? (Choose 3 answers.) - ANSWER- - trace points - breakpoints - code step through What do system monitoring and review of audit trails provide? - ANSWER- - Accountability What are the logging levels and values? - ANSWER- - DEBUG = 10 - INFO = 20 - WARNING = 30 - ERROR = 40 - CRITICAL = 50

Show more Read less









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
February 17, 2024
Number of pages
13
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • wgu d385

Get to know the seller

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.
PatrickHaller Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1383
Member since
3 year
Number of followers
1164
Documents
1840
Last sold
3 days ago
ONLINE STUDY HELP FOR NURSING STUDENTS

ACE YOUR EXAMS WITH OUR A+ GRADED STUDY HELPS

4.1

228 reviews

5
133
4
39
3
25
2
6
1
25

Recently viewed by you

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

Frequently asked questions