Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU D385 OA EXAM / WGU D385 LOGGING AND SECURITY ISSUES OBJECTIVE ASSESSMENT NEWEST 2024 ACTUAL EXAM TEST BANK 200 QUESTIONS AND CORRECT DETAILED ANSWERS

Rating
-
Sold
-
Pages
492
Grade
A+
Uploaded on
01-04-2025
Written in
2024/2025

WGU D385 OA EXAM / WGU D385 LOGGING AND SECURITY ISSUES OBJECTIVE ASSESSMENT NEWEST 2024 ACTUAL EXAM TEST BANK 200 QUESTIONS AND CORRECT DETAILED ANSWERS

Institution
Course

Content preview

,WGU D385 OA EXAM / WGU D385 LOGGING AND SECURITY ISSUES OBJECTIVE ASSESSMENT NEWEST
2024 ACTUAL EXAM TEST BANK 200 QUESTIONS AND CORRECT DETAILED ANSWERS




What is the primary defense against log injection attacks? - (ANSWER)Sanitize outbound log messages



An attacker exploits a cross-site scripting vulnerability. What is the attacker able to do? -
(ANSWER)Access the user's data



Which Python function is prone to a potential code injection attack? - (ANSWER)eval()



What are two common defensive coding techniques? - (ANSWER)Check functional and preconditions
and postconditions



Which package is meant for internal use by Python for regression testing? - (ANSWER)test



A security analyst has noticed a vulnerability in which an attacker took over multiple users' accounts.
Which vulnerability did the security analyst encounter? - (ANSWER)Broken access control



When creating a new user, an administrator must submit the following fields to an API endpoint:



Name

Email Address

Password

IsAdmin



What is the best way to ensure the API is protected against privilege escalation? -
(ANSWER)Implement resource and field-level access control



Which method is used for a SQL injection attack? - (ANSWER)Exploiting query parameters

,What does cross-origin resource sharing (CORS) allow users to do? - (ANSWER)Override same starting
policy for specific resources



Which protocol caches a token after it has been acquired? - (ANSWER)MSAL



Which response method, when sent a request, returns information about the server's response and is
delivered back to the console? - (ANSWER)response.content



Status Codes - (ANSWER)- 200 = OK

- 201 = CREATED

- 400 = BAD REQUEST

- 401 = UNAUTHORIZED

- 403 = FORBIDDEN

- 404 = NOT FOUND

- 405 = METHOD NOT ALLOWED

- 500 = INTERNAL SERVER ERROR



What is best for input validation? - (ANSWER)type(): The type() function is used to determine the type
of an object. While it's not typically used for input validation directly, it can be used to check the type
of user input to ensure it matches the expected data type (e.g., checking if an input is an integer or a
string).



Prevent log injection - (ANSWER)validate()



A user masquerades as other users, what type of attack was used? - (ANSWER)Cross Site Scripting



What is returned when using response.content - (ANSWER)returns the raw binary content of the HTTP
response as bytes.

, What can an attacker do with a log injection attack - (ANSWER)Injection of commands a parser can
execute



Which software testing relies on using old test cases? - (ANSWER)Regression testing



When should regression testing be conducted? - (ANSWER)After some code changes



Access Control Allow Origin- client request to (server) www.client.url , what does server send back? -
(ANSWER)ACAO client.urlTypes of illegal alcohol sales - (ANSWER)-underage

-third party

-visibly intoxicated



Common negligence laws - (ANSWER)-not specific to alcohol sales

-can be applied to illegal alcohol sales

-based on prior court cases

-set a standard for what a reasonablr person would do to prevent a problem

-exist in every jurisdiction



Dram shop liability laws - (ANSWER)-specific to alcohol sales

-apply only to licensees and their employees

-explain expectations got preventing illegal alcohol sales

-may sey monetary likits for financial judgements in lawsuits

-exist in somr but not all jurisdictions



Penalties for underage alcohol sales include - (ANSWER)-fines

-arrest

-jail time

-financial judgements

Written for

Course

Document information

Uploaded on
April 1, 2025
Number of pages
492
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$31.49
Get access to the full document:

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

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.
AllRoundStudyHub Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
2835
Member since
1 year
Number of followers
24
Documents
1756
Last sold
1 week ago
All-Round Study Hub

As a tutor, I focus on offering accurate, reliable, and current study materials to support students in their exam preparation and assignments. My goal is to provide the best resources, such as summaries and nursing exam test banks, ensuring that students can buy with confidence. I encourage customers to leave reviews after purchases for quality assurance and to recommend my services to others. Thank you for your support and trust.

3.6

80 reviews

5
32
4
13
3
19
2
3
1
13

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions