ECCouncil 712-50 (EC-Council Certified CISO) Practice Test 58

Question 570

Security needs to probe a running web application for externally observable vulnerabilities. What should the decision-maker choose?

  1. Code review for authorization
  2. Fuzz testing
  3. Manual penetration test
  4. Dynamic application security testing
  5. Static application security testing
  6. Interactive application security testing

Explanation

Correct Answer

D:

DAST interacts with a live test instance and examines response behavior. By contrast, Static application security testing is relevant when developers want to inspect source patterns before deploying or running the application, not as a substitute for Dynamic application security testing in this case.

Incorrect Answers

A:

Targeted review checks object-level and functional authorization against actual business rules; that is relevant if an application exposes another user's records despite passing generic vulnerability scans, but it does not directly resolve the need arising when security needs to probe a running web application for externally observable vulnerabilities.

B:

Fuzzing explores unusual input variations to uncover robustness and security defects; its proper use case is one in which an API parser may crash or mishandle unexpected binary inputs and malformed requests, not one in which security needs to probe a running web application for externally observable vulnerabilities.

C:

Human testing explores chained conditions and abuse logic within approved scope; that helps with the separate case where a critical business-logic workflow may be abused in ways automated scanners cannot infer, not with the issue that security needs to probe a running web application for externally observable vulnerabilities.

E:

SAST analyzes code or intermediate artifacts for potential weaknesses without requiring live execution; that helps with the separate case where developers want to inspect source patterns before deploying or running the application, not with the issue that security needs to probe a running web application for externally observable vulnerabilities.

F:

IAST observes execution context and behavior while the instrumented application is tested; it helps when developers want runtime insight using application instrumentation during functional tests, whereas the present requirement arises because security needs to probe a running web application for externally observable vulnerabilities.

Question 571

A project includes vulnerable third-party packages that internal source scans do not identify reliably. What action would satisfy this constraint most directly?

  1. Code review for authorization
  2. Software composition analysis
  3. Static application security testing
  4. Fuzz testing

Explanation

Correct Answer

B:

SCA identifies component versions, dependencies, and known supply-chain exposures. By contrast, Fuzz testing is relevant when an API parser may crash or mishandle unexpected binary inputs and malformed requests, not as a substitute for Software composition analysis in this case.

Incorrect Answers

A:

Targeted review checks object-level and functional authorization against actual business rules; that helps with the separate case where an application exposes another user's records despite passing generic vulnerability scans, not with the issue that a project includes vulnerable third-party packages that internal source scans do not identify reliably.

C:

SAST analyzes code or intermediate artifacts for potential weaknesses without requiring live execution; the condition for this measure is that developers want to inspect source patterns before deploying or running the application, whereas the current question concerns a case where a project includes vulnerable third-party packages that internal source scans do not identify reliably.

D:

Fuzzing explores unusual input variations to uncover robustness and security defects; that is relevant if an API parser may crash or mishandle unexpected binary inputs and malformed requests, but it does not directly resolve the need arising when a project includes vulnerable third-party packages that internal source scans do not identify reliably.

Question 572

Developers want runtime insight using application instrumentation during functional tests. What approach should the accountable team prioritize?

  1. Interactive application security testing
  2. Software composition analysis
  3. Fuzz testing
  4. Manual penetration test

Explanation

Correct Answer

A:

IAST observes execution context and behavior while the instrumented application is tested. By contrast, Manual penetration test is relevant when a critical business-logic workflow may be abused in ways automated scanners cannot infer, not as a substitute for Interactive application security testing in this case.

Incorrect Answers

B:

SCA identifies component versions, dependencies, and known supply-chain exposures; it would be a fit if a project includes vulnerable third-party packages that internal source scans do not identify reliably, whereas the required response must deal with the fact that developers want runtime insight using application instrumentation during functional tests.

C:

Fuzzing explores unusual input variations to uncover robustness and security defects; such an effect addresses a situation where an API parser may crash or mishandle unexpected binary inputs and malformed requests rather than the situation where developers want runtime insight using application instrumentation during functional tests.

D:

Human testing explores chained conditions and abuse logic within approved scope; this is pertinent when a critical business-logic workflow may be abused in ways automated scanners cannot infer, in contrast with the actual gap where developers want runtime insight using application instrumentation during functional tests.

Question 573

Developers accidentally commit authentication tokens to source repositories. What is the best-targeted intervention?

  1. Static application security testing
  2. Secrets scanning
  3. Code review for authorization
  4. Fuzz testing

Explanation

Correct Answer

B:

Secrets scanning finds exposed credentials and triggers revocation and safer storage. By contrast, Code review for authorization is relevant when an application exposes another user's records despite passing generic vulnerability scans, not as a substitute for Secrets scanning in this case.

Incorrect Answers

A:

SAST analyzes code or intermediate artifacts for potential weaknesses without requiring live execution; it would be a fit if developers want to inspect source patterns before deploying or running the application, whereas the required response must deal with the fact that developers accidentally commit authentication tokens to source repositories.

C:

Targeted review checks object-level and functional authorization against actual business rules; the alternative concern is that an application exposes another user's records despite passing generic vulnerability scans, but the tested need stems from the fact that developers accidentally commit authentication tokens to source repositories.

D:

Fuzzing explores unusual input variations to uncover robustness and security defects; this provides its benefit when an API parser may crash or mishandle unexpected binary inputs and malformed requests; the matter at hand is instead that developers accidentally commit authentication tokens to source repositories.

Question 574

An API parser may crash or mishandle unexpected binary inputs and malformed requests. What should the decision-maker choose?

  1. Static application security testing
  2. Secrets scanning
  3. Fuzz testing
  4. Dynamic application security testing

Explanation

Correct Answer

C:

Fuzzing explores unusual input variations to uncover robustness and security defects. By contrast, Static application security testing is relevant when developers want to inspect source patterns before deploying or running the application, not as a substitute for Fuzz testing in this case.

Incorrect Answers

A:

SAST analyzes code or intermediate artifacts for potential weaknesses without requiring live execution; its proper use case is one in which developers want to inspect source patterns before deploying or running the application, not one in which an API parser may crash or mishandle unexpected binary inputs and malformed requests.

B:

Secrets scanning finds exposed credentials and triggers revocation and safer storage; it would be a fit if developers accidentally commit authentication tokens to source repositories, whereas the required response must deal with the fact that an API parser may crash or mishandle unexpected binary inputs and malformed requests.

D:

DAST interacts with a live test instance and examines response behavior; it helps when security needs to probe a running web application for externally observable vulnerabilities, whereas the present requirement arises because an API parser may crash or mishandle unexpected binary inputs and malformed requests.

Question 575

A critical business-logic workflow may be abused in ways automated scanners cannot infer. What action would satisfy this constraint most directly?

  1. Manual penetration test
  2. Fuzz testing
  3. Software composition analysis
  4. Interactive application security testing

Explanation

Correct Answer

A:

Human testing explores chained conditions and abuse logic within approved scope. By contrast, Interactive application security testing is relevant when developers want runtime insight using application instrumentation during functional tests, not as a substitute for Manual penetration test in this case.

Incorrect Answers

B:

Fuzzing explores unusual input variations to uncover robustness and security defects; such an effect addresses a situation where an API parser may crash or mishandle unexpected binary inputs and malformed requests rather than the situation where a critical business-logic workflow may be abused in ways automated scanners cannot infer.

C:

SCA identifies component versions, dependencies, and known supply-chain exposures; such an effect addresses a situation where a project includes vulnerable third-party packages that internal source scans do not identify reliably rather than the situation where a critical business-logic workflow may be abused in ways automated scanners cannot infer.

D:

IAST observes execution context and behavior while the instrumented application is tested; this is pertinent when developers want runtime insight using application instrumentation during functional tests, in contrast with the actual gap where a critical business-logic workflow may be abused in ways automated scanners cannot infer.

Question 576

An application exposes another user's records despite passing generic vulnerability scans. What approach should the accountable team prioritize?

  1. Software composition analysis
  2. Interactive application security testing
  3. Fuzz testing
  4. Code review for authorization
  5. Manual penetration test

Explanation

Correct Answer

D:

Targeted review checks object-level and functional authorization against actual business rules. By contrast, Manual penetration test is relevant when a critical business-logic workflow may be abused in ways automated scanners cannot infer, not as a substitute for Code review for authorization in this case.

Incorrect Answers

A:

SCA identifies component versions, dependencies, and known supply-chain exposures; its proper use case is one in which a project includes vulnerable third-party packages that internal source scans do not identify reliably, not one in which an application exposes another user's records despite passing generic vulnerability scans.

B:

IAST observes execution context and behavior while the instrumented application is tested; that helps with the separate case where developers want runtime insight using application instrumentation during functional tests, not with the issue that an application exposes another user's records despite passing generic vulnerability scans.

C:

Fuzzing explores unusual input variations to uncover robustness and security defects; this provides its benefit when an API parser may crash or mishandle unexpected binary inputs and malformed requests; the matter at hand is instead that an application exposes another user's records despite passing generic vulnerability scans.

E:

Human testing explores chained conditions and abuse logic within approved scope; that helps with the separate case where a critical business-logic workflow may be abused in ways automated scanners cannot infer, not with the issue that an application exposes another user's records despite passing generic vulnerability scans.

Question 577

An online ticketing platform is addressing common application-layer attack paths. An input field lets attackers change SQL command structure through special characters. What action would satisfy this constraint most directly?

  1. Server-side request forgery defense
  2. Contextual output encoding
  3. Path traversal prevention
  4. Parameterized database queries

Explanation

Correct Answer

D:

Parameter binding separates untrusted values from query syntax and reduces SQL injection. By contrast, Contextual output encoding is relevant when user-provided content executes JavaScript when displayed in another user's browser, not as a substitute for Parameterized database queries in this case.

Incorrect Answers

A:

Destination allowlists and network restrictions constrain server-originated requests to trusted endpoints; it helps when an API fetches user-supplied URLs that can target internal metadata services, whereas the present requirement arises because an input field lets attackers change SQL command structure through special characters.

B:

Output encoding treats data as text in its specific HTML or script context to prevent XSS; it would be a fit if user-provided content executes JavaScript when displayed in another user's browser, whereas the required response must deal with the fact that an input field lets attackers change SQL command structure through special characters.

C:

Canonicalized path validation and constrained file access prevent unauthorized directory escape; the condition for this measure is that a filename parameter can reach sensitive files outside the intended content directory, whereas the current question concerns a case where an input field lets attackers change SQL command structure through special characters.

Question 578

User-provided content executes JavaScript when displayed in another user's browser. What approach should the accountable team prioritize?

  1. Parameterized database queries
  2. Safe file upload handling
  3. Contextual output encoding
  4. Server-side request forgery defense

Explanation

Correct Answer

C:

Output encoding treats data as text in its specific HTML or script context to prevent XSS. By contrast, Safe file upload handling is relevant when an upload endpoint accepts files that execute as server-side code when accessed, not as a substitute for Contextual output encoding in this case.

Incorrect Answers

A:

Parameter binding separates untrusted values from query syntax and reduces SQL injection; the alternative concern is that an input field lets attackers change SQL command structure through special characters, but the tested need stems from the fact that user-provided content executes JavaScript when displayed in another user's browser.

B:

Type validation, nonexecutable storage, isolation, and scanning reduce malicious upload exposure; the condition for this measure is that an upload endpoint accepts files that execute as server-side code when accessed, whereas the current question concerns a case where user-provided content executes JavaScript when displayed in another user's browser.

D:

Destination allowlists and network restrictions constrain server-originated requests to trusted endpoints; its proper use case is one in which an API fetches user-supplied URLs that can target internal metadata services, not one in which user-provided content executes JavaScript when displayed in another user's browser.

Question 579

An authenticated browser is tricked into submitting an unwanted state-changing request. What is the best-targeted intervention?

  1. Safe file upload handling
  2. Content Security Policy enforcement
  3. Anti-CSRF protection
  4. Server-side request forgery defense

Explanation

Correct Answer

C:

CSRF tokens and suitable cookie protections reduce cross-site request forgery under supported conditions. By contrast, Server-side request forgery defense is relevant when an API fetches user-supplied URLs that can target internal metadata services, not as a substitute for Anti-CSRF protection in this case.

Incorrect Answers

A:

Type validation, nonexecutable storage, isolation, and scanning reduce malicious upload exposure; this is pertinent when an upload endpoint accepts files that execute as server-side code when accessed, in contrast with the actual gap where an authenticated browser is tricked into submitting an unwanted state-changing request.

B:

A restrictive Content Security Policy can reject unapproved inline execution using nonce or hash rules as a defense-in-depth limit on script sources; it would be a fit if a browser continues to execute unauthorized inline scripts after a vulnerable web component inserts attacker-controlled markup, whereas the required response must deal with the fact that an authenticated browser is tricked into submitting an unwanted state-changing request.

D:

Destination allowlists and network restrictions constrain server-originated requests to trusted endpoints; this is pertinent when an API fetches user-supplied URLs that can target internal metadata services, in contrast with the actual gap where an authenticated browser is tricked into submitting an unwanted state-changing request.

Question 580

A browser continues to execute unauthorized inline scripts after a vulnerable web component inserts attacker-controlled markup. What should the decision-maker choose?

  1. Parameterized database queries
  2. Contextual output encoding
  3. Content Security Policy enforcement
  4. Safe file upload handling

Explanation

Correct Answer

C:

A restrictive Content Security Policy can reject unapproved inline execution using nonce or hash rules as a defense-in-depth limit on script sources. By contrast, Parameterized database queries is relevant when an input field lets attackers change SQL command structure through special characters, not as a substitute for Content Security Policy enforcement in this case.

Incorrect Answers

A:

Parameter binding separates untrusted values from query syntax and reduces SQL injection; the condition under which it applies is that an input field lets attackers change SQL command structure through special characters, unlike the condition in the question, where a browser continues to execute unauthorized inline scripts after a vulnerable web component inserts attacker-controlled markup.

B:

Output encoding treats data as text in its specific HTML or script context to prevent XSS; it helps when user-provided content executes JavaScript when displayed in another user's browser, whereas the present requirement arises because a browser continues to execute unauthorized inline scripts after a vulnerable web component inserts attacker-controlled markup.

D:

Type validation, nonexecutable storage, isolation, and scanning reduce malicious upload exposure; it would be a fit if an upload endpoint accepts files that execute as server-side code when accessed, whereas the required response must deal with the fact that a browser continues to execute unauthorized inline scripts after a vulnerable web component inserts attacker-controlled markup.

EC-Council Certified CISO (712-50) Practice Tests