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

WGU D385 OBJECTIVE ASSESSMENT AND PRE ASSESSMENT NEWEST 2026 TEST BANK| D385 SOFTWARE SECURITY AND TESTING OA & PA WITH COMPLETE 200 REAL EXAM QUESTIONS AND CORRECT VERIFIED ANSWERS/ ALREADY GRADED A+ (MOST RECENT!!)

Document preview thumbnail
Preview 4 out of 53 pages

WGU D385 OBJECTIVE ASSESSMENT AND PRE ASSESSMENT NEWEST 2026 TEST BANK| D385 SOFTWARE SECURITY AND TESTING OA & PA WITH COMPLETE 200 REAL EXAM QUESTIONS AND CORRECT VERIFIED ANSWERS/ ALREADY GRADED A+ (MOST RECENT!!)

Content preview

WGU D385 OBJECTIVE ASSESSMENT AND PRE -
ASSESSMENT NEWEST 2026 TEST BANK| D385
SOFTWARE SECURITY AND TESTING OA & PA WITH
COMPLETE 200 REAL EXAM QUESTIONS AND
CORRECT VERIFIED ANSWERS/ ALREADY GRADED
A+ (MOST RECENT!!)


What are two common defensive coding techniques?
A. Check functional preconditions and postconditions
B. Encrypt passwords and email submissions
C. Adjust length and encoding of messages
D. Develop code with exceptions to find errors - Correct Answer -A.
Check functional preconditions and postconditions


A security analyst has noticed a vulnerability in which an attacker took
over multiple users' accounts. Which vulnerability did the security
analyst encounter?
A. Broken access control
B. Broken function level authorization
C. API mass assignment
D. Privilege escalation - Correct Answer -A. Broken access control


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


pg. 1

,Name
Email Address
Password
IsAdmin


What is the best way to ensure the API is protected against privilege
escalation?
A. Implement resource and field-level access control
B. Ensure incoming requests are rate limited
C. Remove IsAdmin from the endpoint
D. Encrypt the incoming request - Correct Answer -A. Implement
resource and field-level access control


Which method is used for a SQL injection attack?
A. Exploiting query parameters
B. Passing safe query parameters
C. Using SQL composition
D. Utilizing literal parameters - Correct Answer -A. Exploiting query
parameters


Which protocol caches a token after it has been acquired?
A. MSAL
B. Auth0

pg. 2

,C. LDAP
D. ACL - Correct Answer -A. MSAL


Consider the following API code snippet:
import requests
url = 'https://website.com/'
# Get request
result = requests.get(url)
# Print request
print(result.content.decode())


Which status code will the server return?
A. 403
B. 200
C. 401
D. 400 - Correct Answer -A. 403


Consider the following assertion statement:


def authorizeAdmin(usr):
assert isinstance(usr, list) and usr != [], "No user found"
assert 'admin' in usr, "No admin found."


pg. 3

, print("You are granted full access to the application.")
if __name__ == '__main__':
authorizeAdmin(['user'])


What should be the response after running the code?
A. Authorized User
B. You are granted full access to the application
C. AssertionError: No admin found
D. AssertionError: No user found - Correct Answer -- AssertionError:
No admin found


Which response method, when sent a request, returns information about
the server's response and is delivered back to the console?
A. response.content
B. response.history
C. response.status_code
D. response.get - Correct Answer -A. response.content


import logging
import sys
#log division by zero error to the log, the output is printed to the screen
def divideByZeroError(dividend, divisor):



pg. 4

Document information

Uploaded on
February 16, 2026
Number of pages
53
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$20.49

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.
ASSIGNMENT7
3.9
(186)
Sold
1020
Followers
34
Items
3930
Last sold
13 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