Question 276

A security engineer is reviewing a security incident in which an employee account was compromised. The engineer notes the following activity after reviewing the logs:

Which of the following is the best way to reduce the probability of a future compromise?
  • Question 277

    SIMULATION
    [Identity and Access Management (IAM)]
    A product development team has submitted code snippets for review prior to release.
    INSTRUCTIONS
    Analyze the code snippets, and then select one vulnerability, and one fix for each code snippet.
    Code Snippet 1

    Code Snippet 2

    Vulnerability 1:
    SQL injection
    Cross-site request forgery
    Server-side request forgery
    Indirect object reference
    Cross-site scripting
    Fix 1:
    Perform input sanitization of the userid field.
    Perform output encoding of queryResponse,
    Ensure usex:ia belongs to logged-in user.
    Inspect URLS and disallow arbitrary requests.
    Implementanti-forgery tokens.
    Vulnerability 2
    1) Denial of service
    2) Command injection
    3) SQL injection
    4) Authorization bypass
    5) Credentials passed via GET
    Fix 2
    A) Implement prepared statements and bind
    variables.
    B) Remove the serve_forever instruction.
    C) Prevent the "authenticated" value from being overridden by a GET parameter.
    D) HTTP POST should be used for sensitive parameters.
    E) Perform input sanitization of the userid field.

    Question 278

    Which of the following best describes the reason a network architect would enable forward secrecy on all VPN tunnels?
  • Question 279

    A recent security audit identified multiple endpoints have the following vulnerabilities:
    * Various unsecured open ports
    * Active accounts for terminated personnel
    * Endpoint protection software with legacy versions
    * Overly permissive access rules
    Which of the following would best mitigate these risks? (Select three).
  • Question 280

    A company wants to improve and automate the compliance of its cloud environments to meet industry standards. Which of the following resources should the company use to best achieve this goal?