Skip to main content

CAS-004 Online Practice Questions

CompTIA Advanced Security Practitioner (CASP+)

792 questions available · Page 1 of 80

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

A company is looking at sending historical backups containing customer PII to a cloud service provider to save on storage costs.

Which of the following is the MOST important consideration before making this decision?

  1. A

    Availability

  2. B

    Data sovereignty

  3. C

    Geography

  4. D

    Vendor lock-in

Show answer and explanation

Correct answer: B

Question 2 Single choice

An IT director is working on a solution to meet the challenge of remotely managing laptop devices and securely locking them down. The solution must meet the following requirements:

1. Cut down on patch management.
2. Make use of standard configurations.
3. Allow for custom resource configurations.
4. Provide access to the enterprise system from multiple types of devices.

Which of the following would meet these requirements?

  1. A

    MDM

  2. B

    Emulator

  3. C

    Hosted hypervisor

  4. D

    VDI

Show answer and explanation

Correct answer: D

Explanation

Cut down on patch management: With VDI, the virtual desktops are managed centrally. Patches and updates can be applied to the master image, which then gets propagated to all virtual desktops. This significantly reduces the complexity and workload of patch management.
Standard configurations: VDI allows for the deployment of standardized desktop images, ensuring consistency across all user desktops. Allow for custom resource configurations: VDI can be configured to allocate different levels of resources (CPU, memory, storage) based on the needs of different users or groups. Provide access to the enterprise system from multiple types of devices: Users can access their virtual desktops from various devices, including laptops, tablets, and smartphones, as long as they have a network connection.

Question 3 Drag & drop

DRAG DROP

A security consultant is considering authentication options for a financial institution. The following authentication options are available security mechanism to the appropriate use case. Options may be used once.

Question diagram
Show answer and explanation
Correct answer diagram
Question 4 Single choice

An organization is designing a MAC scheme (or critical servers running GNU/Linux. The security engineer is investigating SELinux but is confused about how to read labeling contexts. The engineer executes the command stat ./secretfile and receives the following output:

Which of the following describes the correct order of labels shown in the output above?

  1. A

    Role, type MLS level, and user identity

  2. B

    Role, user identity, object, and MLS level

  3. C

    Object MLS level, role, and type

  4. D

    User identity, role, type, and MLS level

  5. E

    Object, user identity, role, and MLS level

Show answer and explanation

Correct answer: D

Explanation

SELinux contexts are typically made up of several components, including the user identity, role, type (also known as domain or type), and MLS (Multi-Level Security) level. The context format is user:role:type:level.
In the given output sys:secret:sec_t:s0, 'sys' represents the user identity, 'secret' is the role, 'sec_t' is the type, and 's0' is the MLS level. Understanding SELinux contexts is critical for managing Mandatory Access Control (MAC) in GNU/Linux systems to protect against unauthorized access.

Question 5 Multiple choice

A corporation with a BYOD policy is very concerned about issues that may arise from data ownership. The corporation is investigating a new MDM solution and has gathered the following requirements as part of the requirements-gathering phase.

1. Each device must be issued a secure token of trust from the corporate PKI.
2. All corporate application and local data must be able to deleted from a central console.
3. Cloud storage and backup applications must be restricted from the device.
4. Devices must be on the latest OS version within three weeks of an OS release.

Which of the following should be feature in the new MDM solution to meet these requirement? (Select
TWO.)

  1. A

    Application-based containerization

  2. B

    Enforced full-device encryption

  3. C

    Mandatory acceptance of SCEP system

  4. D

    Side-loaded application prevention

  5. E

    Biometric requirement to unlock device

  6. F

    Over-the-air restriction

Show answer and explanation

Correct answers: A, C

Question 6 Single choice

A company wants to refactor a monolithic application to take advantage of cloud native services and service microsegmentation to secure sensitive application components.

Which of the following should the company implement to ensure the architecture is portable?

  1. A

    Virtualized emulators

  2. B

    Type 2 hypervisors

  3. C

    Orchestration

  4. D

    Containerization

Show answer and explanation

Correct answer: D

Explanation

Containers encapsulate an application and its dependencies into a single unit. This makes it possible to run applications consistently across various computing environments, ensuring portability. Tools like Docker have popularized containerization, allowing developers to package applications and their required environment, and then deploy that container to various systems.

Question 7 Single choice

An organization that provides a SaaS solution recently experienced an incident involving customer data loss. The system has a level of self-healing that includes monitoring performance and available resources.
When the system detects an issue, the self-healing process is supposed to restart parts of the software.

During the incident, when the self-healing system attempted to restart the services, available disk space on the data drive to restart all the services was inadequate. The self-healing system did not detect that some services did not fully restart and declared the system as fully operational.

Which of the following BEST describes the reason why the silent failure occurred?

  1. A

    The system logs rotated prematurely.

  2. B

    The disk utilization alarms are higher than what the service restarts require.

  3. C

    The number of nodes in the self-healing cluster was healthy.

  4. D

    Conditional checks prior to the service restart succeeded.

Show answer and explanation

Correct answer: D

Question 8 Single choice

A security architect needs to enable a container orchestrator for DevSecOps and SOAR initiatives. The engineer has discovered that several Ansible YAML files used for the automation of configuration management have the following content:

Which of the following should the engineer do to correct the security issues presented within this content?

  1. A

    Update the kubernetes.core.k8s module to kubernetes.core.k8s_service in the main.yml file.

  2. B

    Update the COMPTIA001 hostname to localhost using the hostnamect1 command.

  3. C

    Update the state: present module to state: absent in the main.yml file.

  4. D

    Update or remove the ansible.cfg file.

Show answer and explanation

Correct answer: D

Question 9 Single choice

A security analyst discovered that the company's WAF was not properly configured. The main web server was breached, and the following payload was found in one of the malicious requests:

Which of the following would BEST mitigate this vulnerability?

  1. A

    CAPTCHA

  2. B

    Input validation

  3. C

    Data encoding

  4. D

    Network intrusion prevention

Show answer and explanation

Correct answer: B

Explanation

References:
https://hdivsecurity.com/owasp-xml-external-entities-xxe

Question 10 Single choice

A software house is developing a new application. The application has the following requirements:

1. Reduce the number of credential requests as much as possible
2. Integrate with social networks
3. Authenticate users

Which of the following is the BEST federation method to use for the application?

  1. A

    WS-Federation

  2. B

    OpenID

  3. C

    OAuth

  4. D

    SAML

Show answer and explanation

Correct answer: B