Docsity

Software Security Testing Certifications Practice Exam, Exams of Cybersecurity

Toggle sidebar
bg1
Software Security Testing Certifications
Practice Exam
**Question 1.** Which component of the CIA triad primarily protects data from unauthorized
disclosure?
A) Integrity
B) Availability
C) Confidentiality
D) Accountability
Answer: C
Explanation: Confidentiality ensures that information is accessible only to authorized
individuals, preventing unauthorized disclosure.
**Question 2.** In the AAA model, which function verifies a user's identity?
A) Authentication
B) Authorization
C) Accounting
D) Auditing
Answer: A
Explanation: Authentication is the process of confirming that a user is who they claim to be,
typically using credentials.
**Question 3.** Non‑repudiation is best achieved by using which of the following?
A) Symmetric encryption
B) Digital signatures
C) Password hashing
D) Session tokens
Answer: B
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
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c

Partial preview of the text

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

Practice Exam

Question 1. Which component of the CIA triad primarily protects data from unauthorized disclosure? A) Integrity B) Availability C) Confidentiality D) Accountability Answer: C Explanation: Confidentiality ensures that information is accessible only to authorized individuals, preventing unauthorized disclosure. Question 2. In the AAA model, which function verifies a user's identity? A) Authentication B) Authorization C) Accounting D) Auditing Answer: A Explanation: Authentication is the process of confirming that a user is who they claim to be, typically using credentials. Question 3. Non‑repudiation is best achieved by using which of the following? A) Symmetric encryption B) Digital signatures C) Password hashing D) Session tokens Answer: B

Practice Exam

Explanation: Digital signatures provide proof of origin and integrity, preventing a signer from denying their involvement. Question 4. Which security control type focuses on policies, procedures, and training? A) Technical B) Administrative C) Physical D) Operational Answer: B Explanation: Administrative controls address governance, policies, and personnel practices. Question 5. An attacker who exploits a vulnerability to gain elevated privileges is demonstrating which threat category? A) Spoofing B) Tampering C) Elevation of privilege D) Information disclosure Answer: C Explanation: Elevation of privilege involves gaining higher access rights than originally granted. Question 6. The OWASP Top 10 item “Broken Authentication” most directly threatens which security property? A) Availability B) Confidentiality C) Integrity D) Non‑repudiation

Practice Exam

Answer: C Explanation: Security testing aims to uncover vulnerabilities that could be exploited in live environments. Question 10. Which of the following is a non‑functional security test? A) Input validation test B) Session timeout verification C) Business logic validation D) Unit test of encryption routine Answer: B Explanation: Session timeout is a security attribute related to availability and confidentiality, not a functional feature. Question 11. In a traditional Waterfall SDLC, fixing a vulnerability discovered during testing typically costs: A) Less than fixing it in design B) About the same as fixing it in design C) More than fixing it in design D) No cost difference Answer: C Explanation: The later a defect is found, the higher the remediation cost due to rework and regression. Question 12. DevSecOps integrates security primarily at which point in the CI/CD pipeline? A) Only during release B) Continuously throughout the pipeline

Practice Exam

C) Only after deployment D) Only during code review Answer: B Explanation: DevSecOps embeds security checks at each stage, from code commit to production. Question 13. Which document typically contains security requirements expressed as “abuse cases”? A) Functional specification B) Threat model C) Security requirements specification D) Test plan Answer: C Explanation: Abuse cases describe how a system can be misused, forming part of security requirements. Question 14. GDPR primarily influences which security testing focus? A) Cryptographic algorithm strength B) Data protection and privacy controls C) Network firewall configuration D) Source code licensing compliance Answer: B Explanation: GDPR mandates protection of personal data, requiring privacy‑focused testing. Question 15. The principle of “Least Privilege” is most closely associated with which design concept?

Practice Exam

Question 18. Which static analysis technique can detect hard‑coded passwords in source code? A) Data flow analysis B) Fuzz testing C) Penetration testing D) Dynamic instrumentation Answer: A Explanation: Data flow analysis examines code paths and can locate literals such as passwords. Question 19. A security test plan that selects test cases based on the likelihood and impact of threats is called: A) Policy‑based testing B) Risk‑based testing C) Standards‑based testing D) Compliance‑based testing Answer: B Explanation: Risk‑based testing prioritizes tests according to assessed risk. Question 20. Which test type is best suited for discovering runtime injection vulnerabilities? A) SAST B) DAST C) Unit testing D) Code review Answer: B

Practice Exam

Explanation: Dynamic Analysis (DAST) evaluates the running application, exposing injection flaws. Question 21. Fuzz testing primarily aims to discover: A) Business logic errors B) Cryptographic weaknesses C) Crashes or unexpected behavior due to malformed input D) Authorization bypasses Answer: C Explanation: Fuzzing feeds random or malformed data to provoke failures. Question 22. Which of the following is a hallmark of a successful penetration test report? A) Long list of all possible vulnerabilities, regardless of relevance B) Clear risk rating, remediation steps, and business impact C) Technical jargon without executive summary D) Only screenshots of findings Answer: B Explanation: Effective reports prioritize actionable information and business context. Question 23. Cross‑Site Scripting (XSS) primarily violates which security property? A) Integrity B) Availability C) Confidentiality D) Authenticity Answer: C

Practice Exam

Answer: C Explanation: 403 denotes that the user is authenticated but not authorized for the requested resource. Question 27. Multi‑factor authentication (MFA) improves security by: A) Encrypting passwords twice B) Requiring two or more independent authentication factors C) Storing credentials in plain text D) Using a single strong password Answer: B Explanation: MFA combines something you know, have, or are, reducing reliance on a single factor. Question 28. Which cryptographic property ensures that a message has not been altered in transit? A) Confidentiality B) Non‑repudiation C) Integrity D) Availability Answer: C Explanation: Integrity guarantees that data remains unchanged; often achieved via MACs or digital signatures. Question 29. A properly implemented key management system must: A) Store private keys in the same location as public keys B) Rotate keys regularly and enforce access controls

Practice Exam

C) Use the same key for all applications D) Never backup keys Answer: B Explanation: Secure key management includes rotation, protection, and controlled access. Question 30. Which network security device inspects traffic for known attack signatures? A) Router B) Switch C) Intrusion Detection System (IDS) D) Load balancer Answer: C Explanation: IDS monitors network traffic and alerts on signature‑based threats. Question 31. Hardened operating system configurations typically disable which of the following? A) All network interfaces B) Unused services and default accounts C) All user accounts D) Kernel updates Answer: B Explanation: Disabling unnecessary services and default accounts reduces the attack surface. Question 32. Secure error handling should avoid revealing which type of information to an attacker? A

Practice Exam

Explanation: Cloud models define which security controls the provider and the customer each manage. Question 36. A CI pipeline that automatically runs static analysis on each commit is an example of: A) Continuous deployment B) Continuous integration with security gating C) Manual code review D) Post‑production testing Answer: B Explanation: Integrating SAST into CI enforces security checks before code merges. Question 37. Which CVSS metric reflects the ease with which an attacker can exploit a vulnerability? A) Confidentiality Impact B) Attack Vector C) Scope D) Exploitability Sub‑score Answer: D Explanation: The Exploitability Sub‑score quantifies how readily an exploit can be performed. Question 38. The OWASP Testing Guide recommends which technique for detecting insecure direct object references? A) Fuzzing URLs with random IDs B) Static code analysis only C) Reviewing SSL certificates

Practice Exam

D) Checking HTTP headers Answer: A Explanation: Manipulating object identifiers in URLs can reveal unauthorized access. Question 39. Which of the following is a primary benefit of using a threat modeling tool during design? A) Generates source code automatically B) Identifies potential threats early, allowing mitigation before implementation C) Eliminates the need for later testing D) Guarantees zero‑day resistance Answer: B Explanation: Early threat identification enables designers to embed controls proactively. Question 40. In a secure software supply chain, “pedigree” refers to: A) The performance benchmark of a component B) The origin, provenance, and integrity verification of a component C) The licensing cost of a library D) The size of the binary file Answer: B Explanation: Pedigree ensures that third‑party components are authentic and untampered. Question 41. Which of the following is the most effective method to prevent SQL Injection? A) Escaping special characters manually B) Using prepared statements with parameterized queries C) Disabling database logging

Practice Exam

C) Document every vulnerability discovered during testing D) Automate code deployment Answer: B Explanation: An IRP provides structured actions to manage and mitigate incidents. Question 45. Which of the following best describes “defense in depth”? A) Using a single, strong firewall B) Applying multiple, overlapping security controls at different layers C) Encrypting data only at rest D) Relying solely on user authentication Answer: B Explanation: Defense in depth layers controls to mitigate the risk if one control fails. Question 46. When performing a penetration test on a web application, which tool is commonly used for intercepting and modifying HTTP traffic? A) Wireshark B) Burp Suite C) Nmap D) Metasploit Answer: B Explanation: Burp Suite acts as a proxy, allowing testers to capture and tamper with web requests. Question 47. Which of the following is a key indicator of a successful cross‑site request forgery (CSRF) attack? A) Execution of JavaScript in the victim’s browser without their knowledge

Practice Exam

B) Unauthorized state‑changing request sent using the victim’s credentials C) Disclosure of database contents through error messages D) Bypassing authentication by guessing passwords Answer: B Explanation: CSRF tricks a logged‑in user’s browser into sending unwanted actions to a trusted site. Question 48. An organization wants to ensure that all security test findings are tracked and prioritized. Which artifact should they use? A) Test case matrix B) Vulnerability register (or defect tracking system) C) Source code repository D) Project charter Answer: B Explanation: A vulnerability register logs findings, assigns severity, and tracks remediation. Question 49. Which security testing standard provides a comprehensive methodology for assessing security controls? A) ISO 9001 B) OSSTMM C) ITIL D) COBIT Answer: B Explanation: The Open Source Security Testing Methodology Manual (OSSTMM) outlines systematic testing approaches.

Practice Exam

Question 53. Which of the following is an example of a physical security control? A) Role‑based access control (RBAC) B) Firewall rule set C) Biometric door lock D) Encryption algorithm Answer: C Explanation: Biometric locks physically restrict entry to facilities. Question 54. In a risk‑based testing approach, a vulnerability with high impact but low likelihood should be: A) Ignored because it is unlikely B) Prioritized for testing due to potential severity C) Tested only after low‑impact issues are resolved D) Deemed out of scope Answer: B Explanation: High‑impact risks warrant attention even if they are less probable. Question 55. Which of the following best describes “security by obscurity”? A) Relying on secret design details as the primary defense B) Using strong encryption algorithms C) Implementing multi‑factor authentication D) Conducting regular penetration tests Answer: A Explanation: Security by obscurity depends on hidden information rather than robust controls.

Practice Exam

Question 56. Which of the following is a recommended practice for managing third‑party libraries? A) Copy the library code into the project without version control B) Regularly update to the latest versions and monitor vulnerability feeds C) Disable all security patches for stability D) Use any library regardless of licensing Answer: B Explanation: Keeping dependencies current and monitoring advisories reduces supply‑chain risk. Question 57. Which of the following is the primary purpose of a “sandbox” in application security testing? A) Accelerate code compilation B) Isolate the application to prevent system‑wide impact of exploits C) Increase network bandwidth D) Store user credentials securely Answer: B Explanation: Sandboxes provide a controlled environment to safely execute potentially malicious code. Question 58. Which OWASP Top 10 category addresses insecure deserialization? A) A5‑Security Misconfiguration B) A8‑Insecure Deserialization C) A3‑Sensitive Data Exposure D) A10‑Insufficient Logging & Monitoring