Docsity

WGU D487 SECURE SOFTWARE DESIGN‥, Exams of Compiler Design

Toggle sidebar
bg1
WESTERN GOVERNORS UNIVERSITY (WGU) — COLLEGE OF INFORMATION
TECHNOLOGY
WGU D487 SECURE SOFTWARE DESIGN
250-QUESTION COMPREHENSIVE OBJECTIVE ASSESSMENT (OA) PRACTICE BANK
COMPLETE MASTERY QUESTION BANK WITH DETAILED TECHNICAL RATIONALES & DOMAIN
ALIGNMENT
WGU D487 Secure Software Design 2026 Edition: 250 Rigorous Practice Questions
Covering Software Security Architecture, Threat Modeling, Cryptography, Secure SDLC, and OWASP Top 10
WGU D487 EXAM DOMAIN BREAKDOWN
Domain 1:
Secure Software Requirements & Architecture (Least Privilege, Defense in Depth, Fail-Safe Defaults)
Domain 2:
Threat Modeling & Risk Assessment (STRIDE, DREAD, PASTA, Attack Trees)
Domain 3:
Secure SDLC & DevSecOps (SAST, DAST, IAST, SCA, CI/CD Security Integration)
Domain 4:
Secure Coding Practices & OWASP Top 10 (Injection, XSS, CSRF, Access Control, Buffer Overflows)
Domain 5:
Applied Cryptography & Data Protection (AES-GCM, RSA, ECC, Salted Hashing, TLS 1.3, Key Management)
Instant Download
..
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download WGU D487 SECURE SOFTWARE DESIGN‥ and more Exams Compiler Design in PDF only on Docsity!

WESTERN GOVERNORS UNIVERSITY (WGU) — COLLEGE OF INFORMATION

TECHNOLOGY

WGU D487 SECURE SOFTWARE DESIGN

250 - QUESTION COMPREHENSIVE OBJECTIVE ASSESSMENT (OA) PRACTICE BANK

COMPLETE MASTERY QUESTION BANK WITH DETAILED TECHNICAL RATIONALES & DOMAIN

ALIGNMENT

WGU D487 Secure Software Design 2026 Edition: 250 Rigorous Practice Questions

Covering Software Security Architecture, Threat Modeling, Cryptography, Secure SDLC, and OWASP Top 10

WGU D487 EXAM DOMAIN BREAKDOWN

Domain 1: Secure Software Requirements & Architecture (Least Privilege, Defense in Depth, Fail-Safe Defaults) Domain 2: Threat Modeling & Risk Assessment (STRIDE, DREAD, PASTA, Attack Trees) Domain 3: Secure SDLC & DevSecOps (SAST, DAST, IAST, SCA, CI/CD Security Integration) Domain 4: Secure Coding Practices & OWASP Top 10 (Injection, XSS, CSRF, Access Control, Buffer Overflows) Domain 5: Applied Cryptography & Data Protection (AES-GCM, RSA, ECC, Salted Hashing, TLS 1.3, Key Management)

WGU D487 SECURE SOFTWARE DESIGN — 250 OBJECTIVE ASSESSMENT PRACTICE QUESTIONS

Question 1

A software engineer at an enterprise financial institution is designing a microservices API gateway. Which architecture pattern ensures that compromised microservices cannot execute actions beyond their intended operational boundaries? A. Implementing the Principle of Least Privilege combined with Role-Based Access Control (RBAC) at the service mesh layer B. Enabling CORS wildcard headers to allow all microservices to communicate without restriction C. Storing shared database connection credentials in local configuration files across all microservices D. Disabling input validation at the gateway to reduce request latency CORRECT ANSWER: Option A Technical Rationale & Security Concept: The Principle of Least Privilege ensures each microservice operates with the minimum set of permissions necessary. Implementing RBAC within a service mesh enforces boundary controls, preventing lateral movement or unauthorized API actions if a single microservice is compromised.

Question 2

During a threat modeling session using the STRIDE methodology, a security analyst identifies that an attacker could alter transaction amounts in transit between the web application and the payment gateway. Which threat category and mitigation strategy apply? A. Tampering; mitigate by enforcing TLS 1.3 with cryptographic message integrity checks (HMAC/Digital Signatures) B. Spoofing; mitigate by increasing the password complexity requirements for end-users C. Repudiation; mitigate by enabling local client side logging D. Elevation of Privilege; mitigate by running the database engine as a root superuser CORRECT ANSWER: Option A Technical Rationale & Security Concept: Altering data in transit represents a Tampering threat under STRIDE. Tampering is mitigated by implementing cryptographic controls such as TLS 1.3, HMACs, or digital signatures that guarantee data integrity and detect unauthorized modifications.

Question 3

A DevSecOps engineer is configuring a Continuous Integration/Continuous Deployment (CI/CD) pipeline for a web application. Which security tool combination provides the most comprehensive coverage for static code vulnerabilities and vulnerable third- party libraries during the build phase? A. Static Application Security Testing (SAST) and Software Composition Analysis (SCA) B. Dynamic Application Security Testing (DAST) and Interactive Application Security Testing (IAST) only C. Web Application Firewall (WAF) and Intrusion Detection System (IDS) D. Manual penetration testing and network port scanning CORRECT ANSWER: Option A Technical Rationale & Security Concept: SAST analyzes source code for security flaws (e.g., buffer overflows, SQLi) without execution, while SCA scans third-party open-source dependencies for known vulnerabilities (CVEs). Combining SAST and SCA at the CI/CD build stage provides comprehensive shift-left security.

Question 7

Which cryptographic practice is mandatory for securely storing user authentication passwords in a backend user database? A. Applying a adaptive salted password hashing algorithm such as Argon2id or bcrypt with an appropriate work factor B. Encrypting passwords using AES-256 in Electronic Codebook (ECB) mode with a single static key C. Computing MD5 hashes of passwords combined with a static global salt D. Storing SHA-256 hashes without salt to enable quick hash lookups CORRECT ANSWER: Option A Technical Rationale & Security Concept: Argon2id and bcrypt are slow, memory-hard adaptive hashing algorithms designed specifically for password storage. Using a unique, cryptographically random salt per user prevents rainbow table attacks, while work factors mitigate offline brute-force attempts.

Question 8

A software security team is implementing JSON Web Token (JWT) authentication for a stateless REST API. To prevent authentication bypass attacks stemming from token manipulation, which validation step must be performed on every incoming API request? A. Cryptographically verify the JWT signature using the server's secret key or public key and strictly enforce allowed signature algorithms B. Decode the base64 payload and trust the claims if the 'role' attribute equals 'admin' C. Allow tokens with 'alg': 'none' in the JWT header for internal network requests D. Store the complete unencrypted JWT in the browser's local storage without SSL/TLS CORRECT ANSWER: Option A Technical Rationale & Security Concept: JWT signature verification guarantees token authenticity and integrity. Validating the signature against trusted keys and explicitly restricting allowed algorithms (preventing algorithm confusion or 'alg: none' attacks) prevents attackers from forging claims.

Question 9

Which software development technique provides compile-time protection against buffer overflow vulnerabilities in C/C++ applications? A. Utilizing bounded string handling functions (e.g., strncpy, snprintf) and enabling compiler stack canaries (-fstack-protector) B. Increasing the stack size memory allocation in system environment variables C. Executing the compiled executable inside a chroot jail environment without privileges D. Disabling Address Space Layout Randomization (ASLR) in the operating system kernel CORRECT ANSWER: Option A Technical Rationale & Security Concept: Replacing unsafe memory APIs (strcpy, gets) with bounded alternatives (strncpy, snprintf) prevents memory bounds violations. Stack canaries add runtime check values before function return addresses, terminating execution if a buffer overwrite is detected.

Question 10

A web application must protect state-changing POST requests against Cross-Site Request Forgery (CSRF). Which combination of controls provides effective protection? A. Implementing anti-CSRF synchronizer tokens (CSRF tokens) verified server-side and setting the SameSite attribute on session cookies to Strict or Lax B. Relying entirely on HTTP Referer headers for request authorization C. Switching all HTTP POST requests to HTTP GET requests D. Disabling CORS restrictions on the web server CORRECT ANSWER: Option A Technical Rationale & Security Concept: Anti-CSRF synchronizer tokens ensure that requests originate from the legitimate application UI because attackers cannot read or forge unique per-session tokens. Setting SameSite=Strict or SameSite=Lax on session cookies prevents browsers from automatically sending cookies on cross-site requests.

Question 11

Question 11: In the context of Cross-Site Request Forgery (CSRF) Mitigation, a WGU software security architect is evaluating application resilience. Regarding Anti-CSRF tokens, SameSite cookie attribute (Strict/Lax), double-submit cookie pattern, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Implement unique per-session anti-CSRF tokens and set SameSite=Strict on session cookies. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Cross-Site Request Forgery (CSRF) Mitigation, engineering guidelines mandate 'Anti-CSRF tokens, SameSite cookie attribute (Strict/Lax), double-submit cookie pattern'. Software architects must execute 'Implement unique per-session anti-CSRF tokens and set SameSite=Strict on session cookies' to mitigate unauthorized client-state changing http requests executed without user intent and ensure compliance with secure SDLC principles.

Question 12

Question 12: In the context of Error Handling & Secure Logging, a WGU software security architect is evaluating application resilience. Regarding Log injection, sensitive data leakage in logs, stack trace exposure, centralized SIEM logging, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Sanitize log inputs to prevent log injection and suppress verbose error stack traces to end- users. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Error Handling & Secure Logging, engineering guidelines mandate 'Log injection, sensitive data leakage in logs, stack trace exposure, centralized SIEM logging'. Software architects must execute 'Sanitize log inputs to prevent log injection and suppress verbose error stack traces to end-users' to mitigate information disclosure via detailed stack traces and siem tampering and ensure compliance with secure SDLC principles.

Question 13

Question 13: In the context of Input Validation & Sanitization, a WGU software security architect is evaluating application

Question 16

Question 16: In the context of Secure Configuration & Hardening, a WGU software security architect is evaluating application resilience. Regarding Disabling unused services, default credentials removal, CIS benchmarks, immutable infrastructure, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Harden OS and container baselines against CIS Benchmarks and rotate default credentials. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Secure Configuration & Hardening, engineering guidelines mandate 'Disabling unused services, default credentials removal, CIS benchmarks, immutable infrastructure'. Software architects must execute 'Harden OS and container baselines against CIS Benchmarks and rotate default credentials' to mitigate exploitation of known container misconfigurations and default service ports and ensure compliance with secure SDLC principles.

Question 17

Question 17: In the context of Session Management Security, a WGU software security architect is evaluating application resilience. Regarding Session fixation, absolute timeout, idle timeout, secure cookie flags (Secure, HttpOnly, SameSite), which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Set HttpOnly, Secure, and SameSite attributes on session cookies with short idle timeouts. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Session Management Security, engineering guidelines mandate 'Session fixation, absolute timeout, idle timeout, secure cookie flags (Secure, HttpOnly, SameSite)'. Software architects must execute 'Set HttpOnly, Secure, and SameSite attributes on session cookies with short idle timeouts' to mitigate session hijacking via xss script access and session fixation attacks and ensure compliance with secure SDLC principles.

Question 18

Question 18: In the context of Web Application Firewalls (WAF) & Rate Limiting, a WGU software security architect is evaluating application resilience. Regarding DDoS mitigation, IP rate limiting, bot detection, signature-based filtering, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Implement token-bucket rate limiting at the API gateway to prevent brute-force attacks. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Web Application Firewalls (WAF) & Rate Limiting, engineering guidelines mandate 'DDoS mitigation, IP rate limiting, bot detection, signature-based filtering'. Software architects must execute 'Implement token-bucket rate limiting at the API gateway to prevent brute-force attacks' to mitigate resource exhaustion and automated brute-force credential stuffing and ensure compliance with secure SDLC principles.

Question 19

Question 19: In the context of Threat Modeling: DREAD Scoring Model, a WGU software security architect is evaluating

application resilience. Regarding Damage, Reproducibility, Exploitability, Affected Users, Discoverability risk calculation, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Calculate risk severity scores using DREAD factors to prioritize vulnerability remediation. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Threat Modeling: DREAD Scoring Model, engineering guidelines mandate 'Damage, Reproducibility, Exploitability, Affected Users, Discoverability risk calculation'. Software architects must execute 'Calculate risk severity scores using DREAD factors to prioritize vulnerability remediation' to mitigate misprioritization of severe software vulnerabilities during sprint planning and ensure compliance with secure SDLC principles.

Question 20

Question 20: In the context of Secure Refactoring & Code Reviews, a WGU software security architect is evaluating application resilience. Regarding Manual code review, peer review checklists, threat-informed code auditing, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Conduct mandatory peer code reviews focused on security patterns prior to merging branches. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Secure Refactoring & Code Reviews, engineering guidelines mandate 'Manual code review, peer review checklists, threat-informed code auditing'. Software architects must execute 'Conduct mandatory peer code reviews focused on security patterns prior to merging branches' to mitigate introduction of logic flaws and backdoors during code refactoring and ensure compliance with secure SDLC principles.

Question 21

Question 21: In the context of Principle of Least Privilege & Access Control, a WGU software security architect is evaluating application resilience. Regarding Authorization enforcement, RBAC, ABAC, and minimizing attack surface, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Enforce strict RBAC with parameter-based permission checks on the server side. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Principle of Least Privilege & Access Control, engineering guidelines mandate 'Authorization enforcement, RBAC, ABAC, and minimizing attack surface'. Software architects must execute 'Enforce strict RBAC with parameter-based permission checks on the server side' to mitigate privilege escalation and unauthorized data access and ensure compliance with secure SDLC principles.

Question 22

Question 22: In the context of STRIDE Threat Modeling Framework, a WGU software security architect is evaluating application

Question 25

Question 25: In the context of OWASP Top 10: Cross-Site Scripting (XSS), a WGU software security architect is evaluating application resilience. Regarding Stored XSS, Reflected XSS, DOM XSS, Content Security Policy (CSP), Contextual Encoding, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Implement contextual output encoding (HTML, JavaScript, URL) and enforce strict CSP headers. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for OWASP Top 10: Cross-Site Scripting (XSS), engineering guidelines mandate 'Stored XSS, Reflected XSS, DOM XSS, Content Security Policy (CSP), Contextual Encoding'. Software architects must execute 'Implement contextual output encoding (HTML, JavaScript, URL) and enforce strict CSP headers' to mitigate session hijacking, credential theft, and malicious script execution and ensure compliance with secure SDLC principles.

Question 26

Question 26: In the context of OWASP Top 10: Broken Access Control, a WGU software security architect is evaluating application resilience. Regarding IDOR (Insecure Direct Object References), path traversal, missing function level access control, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Enforce indirect reference maps or server-side authorization checks on every resource request. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for OWASP Top 10: Broken Access Control, engineering guidelines mandate 'IDOR (Insecure Direct Object References), path traversal, missing function level access control'. Software architects must execute 'Enforce indirect reference maps or server-side authorization checks on every resource request' to mitigate unauthorized object access and sensitive file directory traversal and ensure compliance with secure SDLC principles.

Question 27

Question 27: In the context of Applied Cryptography: Password Storage, a WGU software security architect is evaluating application resilience. Regarding Argon2id, bcrypt, PBKDF2, cryptographically secure random salt, iteration counts, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Hash passwords using Argon2id or bcrypt with a unique, cryptographically secure salt per user. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Applied Cryptography: Password Storage, engineering guidelines mandate 'Argon2id, bcrypt, PBKDF2, cryptographically secure random salt, iteration counts'. Software architects must execute 'Hash passwords using Argon2id or bcrypt with a unique, cryptographically secure salt per user' to mitigate rainbow table attacks, dictionary cracking, and offline hash collisions and ensure compliance with secure SDLC principles.

Question 28

Question 28: In the context of Applied Cryptography: Transport Layer Security (TLS), a WGU software security architect is evaluating application resilience. Regarding TLS 1.3 key exchange, cipher suites, Certificate Pinning, Perfect Forward Secrecy (PFS), which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Configure TLS 1.3 with ECDHE key exchange to guarantee Perfect Forward Secrecy. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Applied Cryptography: Transport Layer Security (TLS), engineering guidelines mandate 'TLS 1.3 key exchange, cipher suites, Certificate Pinning, Perfect Forward Secrecy (PFS)'. Software architects must execute 'Configure TLS 1.3 with ECDHE key exchange to guarantee Perfect Forward Secrecy' to mitigate man-in- the-middle (mitm) eavesdropping and session decryption and ensure compliance with secure SDLC principles.

Question 29

Question 29: In the context of Memory Management & Buffer Overflow Mitigation, a WGU software security architect is evaluating application resilience. Regarding Stack canaries, ASLR (Address Space Layout Randomization), DEP/NX bit, safe string functions, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Compile code with ASLR, stack protection (-fstack-protector), and use bounded memory APIs (strncpy). B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Memory Management & Buffer Overflow Mitigation, engineering guidelines mandate 'Stack canaries, ASLR (Address Space Layout Randomization), DEP/NX bit, safe string functions'. Software architects must execute 'Compile code with ASLR, stack protection (-fstack-protector), and use bounded memory APIs (strncpy)' to mitigate remote code execution (rce) via memory corruption and buffer overflows and ensure compliance with secure SDLC principles.

Question 30

Question 30: In the context of API Security & JWT Validation, a WGU software security architect is evaluating application resilience. Regarding JSON Web Tokens (JWT), algorithm confusion attack, signature verification, token expiration, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Explicitly validate JWT signatures using strong public keys and enforce the expected 'alg' header. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for API Security & JWT Validation, engineering guidelines mandate 'JSON Web Tokens (JWT), algorithm confusion attack, signature verification, token expiration'. Software architects must execute 'Explicitly validate JWT signatures using strong public keys and enforce the expected 'alg' header' to mitigate token forgery, authentication bypass, and identity spoofing and ensure compliance with secure SDLC principles.

Question 34

Question 34: In the context of Security Architecture: Defense in Depth, a WGU software security architect is evaluating application resilience. Regarding Layered security, DMZ design, microsegmentation, web application firewalls (WAF), which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Implement multi-layered defense incorporating WAF, API gateway auth, and DB row-level encryption. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Security Architecture: Defense in Depth, engineering guidelines mandate 'Layered security, DMZ design, microsegmentation, web application firewalls (WAF)'. Software architects must execute 'Implement multi-layered defense incorporating WAF, API gateway auth, and DB row-level encryption' to mitigate single point of security failure leading to total system compromise and ensure compliance with secure SDLC principles.

Question 35

Question 35: In the context of Third-Party Supply Chain Security & SCA, a WGU software security architect is evaluating application resilience. Regarding Software Bill of Materials (SBOM), dependency scanning, CVE tracking, zero-day response, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Generate automated SBOMs (Cyclonedx/SPDX) and block builds with critical CVE vulnerabilities. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Third-Party Supply Chain Security & SCA, engineering guidelines mandate 'Software Bill of Materials (SBOM), dependency scanning, CVE tracking, zero-day response'. Software architects must execute 'Generate automated SBOMs (Cyclonedx/SPDX) and block builds with critical CVE vulnerabilities' to mitigate supply chain compromise via malicious or outdated third-party dependencies and ensure compliance with secure SDLC principles.

Question 36

Question 36: In the context of Secure Configuration & Hardening, a WGU software security architect is evaluating application resilience. Regarding Disabling unused services, default credentials removal, CIS benchmarks, immutable infrastructure, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Harden OS and container baselines against CIS Benchmarks and rotate default credentials. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Secure Configuration & Hardening, engineering guidelines mandate 'Disabling unused services, default credentials removal, CIS benchmarks, immutable infrastructure'. Software architects must execute 'Harden OS and container baselines against CIS Benchmarks and rotate default credentials' to mitigate exploitation of known container misconfigurations and default service ports and ensure compliance with secure SDLC principles.

Question 37

Question 37: In the context of Session Management Security, a WGU software security architect is evaluating application resilience. Regarding Session fixation, absolute timeout, idle timeout, secure cookie flags (Secure, HttpOnly, SameSite), which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Set HttpOnly, Secure, and SameSite attributes on session cookies with short idle timeouts. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Session Management Security, engineering guidelines mandate 'Session fixation, absolute timeout, idle timeout, secure cookie flags (Secure, HttpOnly, SameSite)'. Software architects must execute 'Set HttpOnly, Secure, and SameSite attributes on session cookies with short idle timeouts' to mitigate session hijacking via xss script access and session fixation attacks and ensure compliance with secure SDLC principles.

Question 38

Question 38: In the context of Web Application Firewalls (WAF) & Rate Limiting, a WGU software security architect is evaluating application resilience. Regarding DDoS mitigation, IP rate limiting, bot detection, signature-based filtering, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Implement token-bucket rate limiting at the API gateway to prevent brute-force attacks. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Web Application Firewalls (WAF) & Rate Limiting, engineering guidelines mandate 'DDoS mitigation, IP rate limiting, bot detection, signature-based filtering'. Software architects must execute 'Implement token-bucket rate limiting at the API gateway to prevent brute-force attacks' to mitigate resource exhaustion and automated brute-force credential stuffing and ensure compliance with secure SDLC principles.

Question 39

Question 39: In the context of Threat Modeling: DREAD Scoring Model, a WGU software security architect is evaluating application resilience. Regarding Damage, Reproducibility, Exploitability, Affected Users, Discoverability risk calculation, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Calculate risk severity scores using DREAD factors to prioritize vulnerability remediation. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Threat Modeling: DREAD Scoring Model, engineering guidelines mandate 'Damage, Reproducibility, Exploitability, Affected Users, Discoverability risk calculation'. Software architects must execute 'Calculate risk severity scores using DREAD factors to prioritize vulnerability remediation' to mitigate misprioritization of severe software vulnerabilities during sprint planning and ensure compliance with secure SDLC principles.

Question 40

Question 40: In the context of Secure Refactoring & Code Reviews, a WGU software security architect is evaluating application

resilience. Regarding SAST, DAST, IAST, SCA, and security gates in CI/CD pipelines, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Integrate SAST and SCA tools into early pipeline build stages (shift-left security). B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Secure SDLC & DevSecOps Tools, engineering guidelines mandate 'SAST, DAST, IAST, SCA, and security gates in CI/CD pipelines'. Software architects must execute 'Integrate SAST and SCA tools into early pipeline build stages (shift-left security)' to mitigate deployment of vulnerable dependencies and unpatched source code flaws and ensure compliance with secure SDLC principles.

Question 44

Question 44: In the context of OWASP Top 10: SQL Injection (SQLi) Prevention, a WGU software security architect is evaluating application resilience. Regarding Parameterized queries, prepared statements, ORM security, stored procedures, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Use parameterized SQL queries with bind variables rather than string concatenation. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for OWASP Top 10: SQL Injection (SQLi) Prevention, engineering guidelines mandate 'Parameterized queries, prepared statements, ORM security, stored procedures'. Software architects must execute 'Use parameterized SQL queries with bind variables rather than string concatenation' to mitigate arbitrary database command execution and mass data exfiltration and ensure compliance with secure SDLC principles.

Question 45

Question 45: In the context of OWASP Top 10: Cross-Site Scripting (XSS), a WGU software security architect is evaluating application resilience. Regarding Stored XSS, Reflected XSS, DOM XSS, Content Security Policy (CSP), Contextual Encoding, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Implement contextual output encoding (HTML, JavaScript, URL) and enforce strict CSP headers. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for OWASP Top 10: Cross-Site Scripting (XSS), engineering guidelines mandate 'Stored XSS, Reflected XSS, DOM XSS, Content Security Policy (CSP), Contextual Encoding'. Software architects must execute 'Implement contextual output encoding (HTML, JavaScript, URL) and enforce strict CSP headers' to mitigate session hijacking, credential theft, and malicious script execution and ensure compliance with secure SDLC principles.

Question 46

Question 46: In the context of OWASP Top 10: Broken Access Control, a WGU software security architect is evaluating

application resilience. Regarding IDOR (Insecure Direct Object References), path traversal, missing function level access control, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Enforce indirect reference maps or server-side authorization checks on every resource request. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for OWASP Top 10: Broken Access Control, engineering guidelines mandate 'IDOR (Insecure Direct Object References), path traversal, missing function level access control'. Software architects must execute 'Enforce indirect reference maps or server-side authorization checks on every resource request' to mitigate unauthorized object access and sensitive file directory traversal and ensure compliance with secure SDLC principles.

Question 47

Question 47: In the context of Applied Cryptography: Password Storage, a WGU software security architect is evaluating application resilience. Regarding Argon2id, bcrypt, PBKDF2, cryptographically secure random salt, iteration counts, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Hash passwords using Argon2id or bcrypt with a unique, cryptographically secure salt per user. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Applied Cryptography: Password Storage, engineering guidelines mandate 'Argon2id, bcrypt, PBKDF2, cryptographically secure random salt, iteration counts'. Software architects must execute 'Hash passwords using Argon2id or bcrypt with a unique, cryptographically secure salt per user' to mitigate rainbow table attacks, dictionary cracking, and offline hash collisions and ensure compliance with secure SDLC principles.

Question 48

Question 48: In the context of Applied Cryptography: Transport Layer Security (TLS), a WGU software security architect is evaluating application resilience. Regarding TLS 1.3 key exchange, cipher suites, Certificate Pinning, Perfect Forward Secrecy (PFS), which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Configure TLS 1.3 with ECDHE key exchange to guarantee Perfect Forward Secrecy. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Applied Cryptography: Transport Layer Security (TLS), engineering guidelines mandate 'TLS 1.3 key exchange, cipher suites, Certificate Pinning, Perfect Forward Secrecy (PFS)'. Software architects must execute 'Configure TLS 1.3 with ECDHE key exchange to guarantee Perfect Forward Secrecy' to mitigate man-in- the-middle (mitm) eavesdropping and session decryption and ensure compliance with secure SDLC principles.

Question 49

Question 49: In the context of Memory Management & Buffer Overflow Mitigation, a WGU software security architect is

Question 52

Question 52: In the context of Error Handling & Secure Logging, a WGU software security architect is evaluating application resilience. Regarding Log injection, sensitive data leakage in logs, stack trace exposure, centralized SIEM logging, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Sanitize log inputs to prevent log injection and suppress verbose error stack traces to end- users. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Error Handling & Secure Logging, engineering guidelines mandate 'Log injection, sensitive data leakage in logs, stack trace exposure, centralized SIEM logging'. Software architects must execute 'Sanitize log inputs to prevent log injection and suppress verbose error stack traces to end-users' to mitigate information disclosure via detailed stack traces and siem tampering and ensure compliance with secure SDLC principles.

Question 53

Question 53: In the context of Input Validation & Sanitization, a WGU software security architect is evaluating application resilience. Regarding Allow-listing (positive validation) vs deny-listing, canonicalization, boundary checking, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Apply strict server-side allow-list validation on all input fields prior to processing. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Input Validation & Sanitization, engineering guidelines mandate 'Allow-listing (positive validation) vs deny-listing, canonicalization, boundary checking'. Software architects must execute 'Apply strict server-side allow-list validation on all input fields prior to processing' to mitigate bypassing security filters via double encoding or unexpected input payloads and ensure compliance with secure SDLC principles.

Question 54

Question 54: In the context of Security Architecture: Defense in Depth, a WGU software security architect is evaluating application resilience. Regarding Layered security, DMZ design, microsegmentation, web application firewalls (WAF), which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Implement multi-layered defense incorporating WAF, API gateway auth, and DB row-level encryption. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Security Architecture: Defense in Depth, engineering guidelines mandate 'Layered security, DMZ design, microsegmentation, web application firewalls (WAF)'. Software architects must execute 'Implement multi-layered defense incorporating WAF, API gateway auth, and DB row-level encryption' to mitigate single point of security failure leading to total system compromise and ensure compliance with secure SDLC principles.

Question 55

Question 55: In the context of Third-Party Supply Chain Security & SCA, a WGU software security architect is evaluating application resilience. Regarding Software Bill of Materials (SBOM), dependency scanning, CVE tracking, zero-day response, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Generate automated SBOMs (Cyclonedx/SPDX) and block builds with critical CVE vulnerabilities. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Third-Party Supply Chain Security & SCA, engineering guidelines mandate 'Software Bill of Materials (SBOM), dependency scanning, CVE tracking, zero-day response'. Software architects must execute 'Generate automated SBOMs (Cyclonedx/SPDX) and block builds with critical CVE vulnerabilities' to mitigate supply chain compromise via malicious or outdated third-party dependencies and ensure compliance with secure SDLC principles.

Question 56

Question 56: In the context of Secure Configuration & Hardening, a WGU software security architect is evaluating application resilience. Regarding Disabling unused services, default credentials removal, CIS benchmarks, immutable infrastructure, which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Harden OS and container baselines against CIS Benchmarks and rotate default credentials. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Secure Configuration & Hardening, engineering guidelines mandate 'Disabling unused services, default credentials removal, CIS benchmarks, immutable infrastructure'. Software architects must execute 'Harden OS and container baselines against CIS Benchmarks and rotate default credentials' to mitigate exploitation of known container misconfigurations and default service ports and ensure compliance with secure SDLC principles.

Question 57

Question 57: In the context of Session Management Security, a WGU software security architect is evaluating application resilience. Regarding Session fixation, absolute timeout, idle timeout, secure cookie flags (Secure, HttpOnly, SameSite), which engineering practice should be mandated to ensure secure software design compliance? A. Enforce core engineering practice: Set HttpOnly, Secure, and SameSite attributes on session cookies with short idle timeouts. B. Disable all security logging and allow anonymous administrative access to internal endpoints. C. Store sensitive encryption keys in hardcoded plaintext inside open-source public repositories. D. Bypass input validation filters whenever user traffic volume exceeds baseline thresholds. CORRECT ANSWER: Option A Technical Rationale & Security Concept: Under WGU D487 Secure Software Design standards for Session Management Security, engineering guidelines mandate 'Session fixation, absolute timeout, idle timeout, secure cookie flags (Secure, HttpOnly, SameSite)'. Software architects must execute 'Set HttpOnly, Secure, and SameSite attributes on session cookies with short idle timeouts' to mitigate session hijacking via xss script access and session fixation attacks and ensure compliance with secure SDLC principles.