Docsity

PrepIQ Software Security Testing Certifications Ultimate Exam, Exams of Cybersecurity

Toggle sidebar
bg1
PrepIQ Software Security Testing
Certifications Ultimate Exam
**Question 1.** Which component of the CIA triad primarily ensures that data is
not altered without authorization?
A) Confidentiality
B) Integrity
C) Availability
D) Authentication
Answer: B
Explanation: Integrity guarantees that information remains accurate and
trustworthy, preventing unauthorized modification.
**Question 2.** In the AAA model, which function is responsible for tracking user
actions for later review?
A) Authentication
B) Authorization
C) Accounting
D) Auditing
Answer: C
Explanation: Accounting (also called auditing) records user activities, enabling
accountability and forensic analysis.
**Question 3.** Which OWASP Top 10 risk involves an attacker injecting
malicious SQL commands into a database query?
A) Broken Authentication
B) Injection
C) Security Misconfiguration
D) Sensitive Data Exposure
Answer: B
Explanation: Injection vulnerabilities, especially SQL injection, allow untrusted
data to be interpreted as code by the database.
**Question 4.** Which threat modeling methodology uses the categories
Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and
Elevation of Privilege?
A) PASTA
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
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e

Partial preview of the text

Download PrepIQ Software Security Testing Certifications Ultimate Exam and more Exams Cybersecurity in PDF only on Docsity!

Certifications Ultimate Exam

Question 1. Which component of the CIA triad primarily ensures that data is not altered without authorization? A) Confidentiality B) Integrity C) Availability D) Authentication Answer: B Explanation: Integrity guarantees that information remains accurate and trustworthy, preventing unauthorized modification. Question 2. In the AAA model, which function is responsible for tracking user actions for later review? A) Authentication B) Authorization C) Accounting D) Auditing Answer: C Explanation: Accounting (also called auditing) records user activities, enabling accountability and forensic analysis. Question 3. Which OWASP Top 10 risk involves an attacker injecting malicious SQL commands into a database query? A) Broken Authentication B) Injection C) Security Misconfiguration D) Sensitive Data Exposure Answer: B Explanation: Injection vulnerabilities, especially SQL injection, allow untrusted data to be interpreted as code by the database. Question 4. Which threat modeling methodology uses the categories Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege? A) PASTA

Certifications Ultimate Exam

B) LINDDUN

C) STRIDE

D) VAST

Answer: C Explanation: STRIDE defines these six threat types and is widely used for systematic threat modeling. Question 5. During which SDLC phase is the cost to fix a vulnerability typically the highest? A) Requirements B) Design C) Development D) Production/maintenance Answer: D Explanation: Fixing defects after deployment often requires extensive rework, patches, and may cause downtime, making it the most expensive. Question 6. Which secure design principle recommends granting users only the permissions they need to perform their job? A) Fail-securely B) Least Privilege C) Defense in Depth D) Secure by Default Answer: B Explanation: Least Privilege limits access rights for users, programs, and processes to the minimum necessary. Question 7. A security test that examines an application while it is running and interacts with its front-end is known as: A) SAST B) DAST C) IAST D) Fuzzing

Certifications Ultimate Exam

Question 11. Which of the following statements best describes a “defense-in-depth” strategy? A) Deploy a single, strong firewall at the network perimeter. B) Apply multiple, layered security controls across the system. C) Rely solely on encryption for data protection. D) Use only host-based intrusion detection systems. Answer: B Explanation: Defense-in-depth uses overlapping controls at different layers (network, host, application) to provide redundancy. Question 12. Which security testing technique involves sending malformed or random inputs to discover crashes or unexpected behavior? A) Static analysis B) Penetration testing C) Fuzz testing D) Threat modeling Answer: C Explanation: Fuzzing feeds unpredictable data to an application to uncover memory errors, input validation flaws, and crashes. Question 13. When classifying assets, which factor is most important for determining the level of protection required? A) Physical size of the asset B) Owner’s preference C) Business impact if the asset is compromised D) Age of the asset Answer: C Explanation: Asset classification is driven by the potential business impact of loss, guiding appropriate security controls. Question 14. Which of the following is an example of a technical control? A) Security policy document B) Employee security awareness training

Certifications Ultimate Exam

C] Firewall rule set D) Physical access badge system Answer: C Explanation: Technical controls are hardware or software mechanisms such as firewalls, IDS, or encryption. Question 15. Which of these is a common indicator that an application suffers from insecure direct object references (IDOR)? A) Users receive generic error messages. B) Session IDs are predictable. C) Changing a URL parameter grants access to another user’s data. D) Passwords are stored in plain text. Answer: C Explanation: IDOR occurs when an application uses user-supplied identifiers without proper authorization checks. Question 16. In a CI/CD pipeline, at which stage is it most effective to integrate static code analysis (SAST) tools? A) Post-deployment monitoring B) During build/compile phase C) After functional testing D) In production runtime Answer: B Explanation: Running SAST during the build catches source-code flaws early, before packaging or deployment. Question 17. Which OWASP testing guide chapter focuses on testing authentication mechanisms? A) Authentication Testing B) Session Management Testing C) Access Control Testing D) Input Validation Testing Answer: A

Certifications Ultimate Exam

Question 21. Which of the following is a typical indicator of a successful cross-site scripting (XSS) attack? A) The server returns a 500 error. B) User-supplied script executes in the victim’s browser. C) The database returns no rows. D) The application logs a failed login attempt. Answer: B Explanation: XSS exploits allow attacker-controlled scripts to run in the context of a victim’s browser. Question 22. Which security testing method is best suited for evaluating the effectiveness of a web application firewall (WAF)? A) Static analysis B) Penetration testing with WAF bypass techniques C) Unit testing D) Code review of firewall configuration files Answer: B Explanation: Penetration testing that attempts to bypass or trigger the WAF validates its detection and blocking capabilities. Question 23. In the context of secure software requirements, what is an “abuse case”? A) A scenario describing legitimate user behavior. B) A test script for performance testing. C) A description of how a system could be misused by an attacker. D) A compliance checklist. Answer: C Explanation: Abuse cases capture malicious or unintended usage patterns, helping derive security requirements. Question 24. Which of the following is a recommended practice for protecting cryptographic keys in a production environment? A) Storing keys in source code repositories. B) Hard-coding keys in configuration files.

Certifications Ultimate Exam

C) Using a hardware security module (HSM) or dedicated key vault. D) Transmitting keys in clear text over HTTP. Answer: C Explanation: HSMs or managed key vaults provide secure storage, access control, and rotation for cryptographic material. Question 25. Which test type focuses on verifying that the system continues to operate correctly under extreme load or resource exhaustion? A) Fuzz testing B) Failure testing (stress testing) C) Unit testing D) Regression testing Answer: B Explanation: Failure or stress testing deliberately overloads resources to observe how the system degrades or fails. Question 26. Which of the following best describes a “white-box” security testing environment? A) Testers have no knowledge of the internal architecture. B) Testers have full access to source code, design documents, and configuration. C) Testers rely solely on external network scans. D) Testers only use automated tools without manual analysis. Answer: B Explanation: White-box (or clear-box) testing provides internal knowledge, enabling thorough code-level assessment. Question 27. Which of the following is a primary purpose of a security incident response plan (IRP)? A) To automate patch deployment. B) To define steps for containment, eradication, and recovery after a security event. C) To schedule regular security awareness training. D) To generate compliance reports. Answer: B

Certifications Ultimate Exam

Question 31. Which testing method combines aspects of both static and dynamic analysis by instrumenting the running application? A) IAST B) SAST C) DAST D) Fuzzing Answer: A Explanation: Interactive Application Security Testing (IAST) monitors code execution in real time, providing hybrid insights. Question 32. Which of the following best describes a “misconfiguration” vulnerability? A) Using an outdated cryptographic algorithm. B) Leaving default admin credentials unchanged. C) Storing passwords in plain text. D) Allowing cross-site request forgery. Answer: B Explanation: Misconfigurations include default credentials, unnecessary services, or insecure settings that expose the system. Question 33. In the context of GDPR, which term refers to the right of an individual to have their personal data erased? A) Right to be informed B) Right to data portability C) Right to rectification D) Right to be forgotten Answer: D Explanation: The “right to be forgotten” allows data subjects to request deletion of their personal data. Question 34. Which of the following is a primary advantage of using threat modeling early in the SDLC? A) Reduces need for later functional testing. B) Identifies security requirements before design decisions are locked.

Certifications Ultimate Exam

C) Eliminates the need for code reviews. D) Guarantees zero-day vulnerability detection. Answer: B Explanation: Early threat modeling informs security requirements and design choices, preventing costly rework later. Question 35. Which of the following is a recommended practice for handling session IDs? A) Embedding them in URLs. B) Using predictable sequential numbers. C) Transmitting them over HTTPS only and regenerating after login. D) Storing them in client-side cookies without the Secure flag. Answer: C Explanation: Secure session management mandates HTTPS transmission, regeneration after authentication, and appropriate cookie flags. Question 36. Which of the following is a typical output of a static analysis security testing (SAST) tool? A) List of open ports on the target host. B) Code locations where input is not validated before use. C) Performance bottlenecks in runtime. D) Network traffic captures. Answer: B Explanation: SAST scans source code to locate insecure coding patterns such as missing input validation. Question 37. Which of the following best describes “defense-in-depth” when applied to web application security? A) Using a single WAF to block all attacks. B) Implementing input validation, output encoding, authentication, and logging at multiple layers. C) Relying exclusively on HTTPS for protection. D) Encrypting all data at rest but not in transit. Answer: B

Certifications Ultimate Exam

Question 41. Which of the following testing activities focuses on verifying that error messages do not reveal sensitive internal information? A) Input validation testing B) Secure error handling testing C) Performance testing D) Compatibility testing Answer: B Explanation: Secure error handling testing ensures that messages are generic and do not disclose stack traces, configuration, or credentials. Question 42. Which of the following best describes “continuous monitoring” in a secure operations context? A) Running a single quarterly vulnerability scan. B) Ongoing collection and analysis of security-relevant data (logs, alerts, metrics). C) Periodic manual code reviews every six months. D) Updating documentation annually. Answer: B Explanation: Continuous monitoring involves real-time or frequent analysis of logs, alerts, and system state to detect anomalies. Question 43. Which of the following is a primary function of a Network Intrusion Detection System (NIDS)? A) Encrypting outbound traffic. B) Blocking unauthorized outbound connections. C) Detecting suspicious network traffic patterns. D) Managing user passwords. Answer: C Explanation: NIDS monitors network traffic for signatures or anomalies that indicate potential attacks. Question 44. Which of the following is a common mitigation for SQL injection vulnerabilities? A) Storing queries in plain text files.

Certifications Ultimate Exam

B) Using parameterized queries or prepared statements. C) Disabling database logging. D) Relying on client-side validation only. Answer: B Explanation: Parameterized queries separate code from data, preventing malicious input from being interpreted as SQL commands. Question 45. In a risk-based security testing strategy, test cases are prioritized based on: A) Random selection. B) The number of lines of code they cover. C) The likelihood and impact of associated threats. D) The developer’s preference. Answer: C Explanation: Risk-based testing focuses resources on the most critical and probable vulnerabilities. Question 46. Which of the following best defines “non-repudiation” in a security context? A) Preventing unauthorized data modification. B) Ensuring that a party cannot deny having performed an action. C) Encrypting data in transit. D) Limiting user privileges. Answer: B Explanation: Non-repudiation provides proof (e.g., digital signatures) that an action occurred and was performed by a specific entity. Question 47. Which of the following is the most effective way to protect against Cross-Site Request Forgery (CSRF) attacks? A) Using HTTP Basic Authentication. B) Implementing anti-CSRF tokens in state-changing requests. C) Disabling JavaScript in the browser. D) Encrypting all cookies with a static key.

Certifications Ultimate Exam

Question 51. Which of the following is a recommended practice for managing software supply chain risk? A) Ignoring transitive dependencies. B) Verifying digital signatures of third-party libraries. C) Using the latest version of every dependency without testing. D) Storing all third-party code in a public repository. Answer: B Explanation: Verifying signatures ensures the integrity and provenance of external components. Question 52. Which of the following testing methods is most appropriate for assessing the security of a mobile application’s local data storage? A) Network penetration testing. B) Static code analysis only. C) Dynamic analysis with instrumentation on the device. D) Review of server-side logs. Answer: C Explanation: Instrumented dynamic analysis on the device can examine how data is stored, encrypted, and accessed at runtime. Question 53. Which of the following is an example of a security-related functional requirement? A) The system shall respond to user input within 2 seconds. B) The system shall encrypt all credit-card data using AES-256. C) The system shall support 1,000 concurrent users. D) The system shall be available 99.9 % of the time. Answer: B Explanation: Encrypting credit-card data is a security function, whereas performance and availability are non-functional. Question 54. Which of the following is a primary reason to perform “attack surface validation”? A) To increase the number of open ports for testing. B) To identify and reduce unnecessary entry points that could be exploited.

Certifications Ultimate Exam

C) To document user interface layouts. D) To benchmark application performance. Answer: B Explanation: Attack surface validation focuses on minimizing exposed interfaces and services that attackers could target. Question 55. Which of the following best characterizes a “zero-day” vulnerability? A) A vulnerability that has been publicly disclosed for over a year. B) A vulnerability that is known to the vendor but not yet patched. C) A vulnerability that is exploited before the vendor is aware of it. D) A vulnerability that only affects legacy operating systems. Answer: C Explanation: Zero-day attacks target flaws that are unknown to the vendor and have no available patches. Question 56. Which of the following is a key advantage of using a hardware security module (HSM) for key management? A) Keys are stored in plain text on the host OS. B) Keys never leave the secure hardware boundary, reducing exposure. C) HSMs eliminate the need for audit logs. D) HSMs automatically generate user passwords. Answer: B Explanation: HSMs protect cryptographic keys by keeping them inside tamper-resistant hardware, preventing extraction. Question 57. Which of the following is a typical component of a secure CI/CD pipeline? A) Manual code deployment without version control. B) Automated SAST and DAST scans integrated into the build process. C) Disabling all security testing to speed up releases. D) Storing secrets in plain-text configuration files. Answer: B

Certifications Ultimate Exam

Question 61. Which of the following best defines “security testing coverage”? A) The number of developers involved in testing. B) The proportion of code, features, and threat scenarios examined by security tests. C) The amount of time spent on functional testing. D) The total number of test cases written. Answer: B Explanation: Coverage measures how comprehensively security controls, code paths, and threat vectors are examined. Question 62. Which of the following is a typical sign that an application suffers from insecure cryptographic storage? A) Passwords are transmitted over HTTPS. B) Password hashes are generated using SHA-1 without a salt. C) Session tokens are regenerated after login. D) Input fields are validated on the client side. Answer: B Explanation: Using weak hash functions without salts makes stored passwords vulnerable to pre-computed attacks. Question 63. Which of the following security testing activities would most likely uncover a business-logic flaw? A) Automated vulnerability scanning. B) Manual exploratory testing focused on workflow scenarios. C) Static code analysis for injection patterns. D) Network port scanning. Answer: B Explanation: Business-logic flaws often require understanding of the application’s processes and cannot be detected by automated tools alone. Question 64. Which of the following best describes “defense-in-depth” for network security? A) Deploying a single firewall at the perimeter.

Certifications Ultimate Exam

B) Using multiple layers such as firewalls, IDS/IPS, network segmentation, and host-based controls. C) Relying solely on VPN encryption. D) Disabling all inbound traffic. Answer: B Explanation: Multiple overlapping network controls provide redundancy and reduce the chance of a single point of failure. Question 65. Which of the following is an essential element of a secure configuration baseline? A) Default passwords remain unchanged. B) Unnecessary services are disabled. C) All ports are left open for flexibility. D) Logging is turned off to improve performance. Answer: B Explanation: Disabling unnecessary services reduces the attack surface and aligns with hardening best practices. Question 66. Which of the following is a characteristic of a “black-box” security test? A) Testers have full access to source code. B) Testing is performed without knowledge of internal implementation. C) Testers use only unit tests written by developers. D) Testers modify the application’s source during testing. Answer: B Explanation: Black-box testing treats the system as an opaque entity, focusing on external behavior. Question 67. Which of the following is a primary reason to use a Content Security Policy (CSP) header? A) To encrypt all HTTP traffic. B) To restrict the sources from which scripts, styles, and other resources can be loaded, mitigating XSS. C) To disable cookies.