πŸ”

CAS-005 β€” all questions

393 practice questions with answers and explanations.

Topic 1 Β· Question 1

A security engineer is reviewing event logs because an employee successfully connected a personal Windows laptop to the corporate network, which is against company policy. Company policy allows all Windows 10 and 11 laptops to connect to the system as long as the MDM agent installed by IT is running. Only compliant devices can connect, and the logic in the system to evaluate compliant laptops is as follows: Which of the following most likely occurred when the employee connected a personally owned Windows laptop and was allowed on the network?

Exhibit 1 for question 1
  • AThe agent was not running on the laptop, which triggered a false positive.
  • BThe OS was a valid version, but the MDM agent was not installed, triggering a true positive.
  • CThe OS was running a Windows version below 10 and triggered a false negative. (correct answer)
  • DThe OS version was higher than 11, and the MDM agent was running, triggering a true negative.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: The OS was running a Windows version below 10 and triggered a false negative. This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 2

An organization is working to secure its development process to ensure developers cannot deploy artifacts directly into the production environment. Which of the following security practice recommendations would be the best to accomplish this objective?

  • AImplement least privilege access to all systems.
  • BRoll out security awareness training for all users.
  • CSet up policies and systems with separation of duties. (correct answer)
  • DEnforce job rotations for all developers and administrators.
  • EUtilize mandatory vacations for all developers.
  • FReview all access to production systems on a quarterly basis.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Set up policies and systems with separation of duties. This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 3

A security architect discovers the following while reviewing code for a company's website: selection = "SELECT Item FROM Catalog WHERE ItemID = " & Request("ItemID") Which of the following should the security architect recommend?

  • AClient-side processing
  • BQuery parameterization (correct answer)
  • CData normalization
  • DEscape character blocking
  • EURL encoding
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Query parameterization This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 4

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?

Exhibit 1 for question 4
  • AUpdate the kubernetes.core.k8s module to kubernetes.core.k8s_service in the main.yml file.
  • BUpdate the COMPTIA001 hostname to localhost using the hostnamectl command.
  • CUpdate the state: present module to state: absent in the main.yml file.
  • DUpdate or remove the ansible.cfg file. (correct answer)
  • EUpdate the insecure-bind-address from localhost to the COMPTIA001 in the manifests file.
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Update or remove the ansible.cfg file. This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 5

A CRM company leverages a CSP PaaS service to host and publish Its SaaS product. Recently, a large customer requested that all infrastructure components must meet strict regulatory requirements, including configuration management, patch management, and life-cycle management. Which of the following organizations is responsible for ensuring those regulatory requirements are met?

  • AThe CRM company (correct answer)
  • BThe CRM company's customer
  • CThe CSP
  • DThe regulatory body
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: The CRM company

Topic 1 Β· Question 6

Company A is merging with Company B. Company A is a small, local company. Company B has a large, global presence. The two companies have a lot of duplication in their IT systems, processes, and procedures. On the new Chief Information Officer's (CIO's) first day, a fire breaks out at Company B's main data center. Which of the following actions should the CIO take first?

  • ADetermine whether the incident response plan has been tested at both companies, and use it to respond.
  • BReview the incident response plans, and engage the disaster recovery plan while relying on the IT leaders from both companies. (correct answer)
  • CEnsure hot, warm, and mobile disaster recovery sites are available, and give an update to the companies' leadership teams.
  • DInitiate Company A's IT systems processes and procedures, assess the damage, and perform a BIA.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Review the incident response plans, and engage the disaster recovery plan while relying on the IT leaders from both companies.

Explanation

Incident response prepares for, detects, contains, eradicates, and recovers from security incidents while preserving evidence.

Topic 1 Β· Question 7 Β· Select all that apply

The results of an internal audit indicate several employees reused passwords that were previously included in a published list of compromised passwords. The company has the following employee password policy: Which of the following should be implemented to best address the password reuse issue? (Choose two.)

Exhibit 1 for question 7
  • AIncrease the minimum age to two days. (correct answer)
  • BIncrease the history to 20. (correct answer)
  • CIncrease the character length to 12.
  • DAdd case-sensitive requirements to character class.
  • EDecrease the maximum age to 30 days.
  • FRemove the complexity requirements.
  • GIncrease the maximum age to 120 days.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: Increase the minimum age to two days. Option B: Increase the history to 20.

Topic 1 Β· Question 8

A mobile administrator is reviewing the following mobile device DHCP logs to ensure the proper mobile settings are applied to managed devices: Which of the following mobile configuration settings is the mobile administrator verifying?

Exhibit 1 for question 8
  • AService set identifier authentication
  • BWireless network auto joining
  • C802.1X with mutual authentication
  • DAssociation MAC address randomization (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Association MAC address randomization

Topic 1 Β· Question 9

A security analyst is investigating a possible insider threat incident that involves the use of an unauthorized USB from a shared account to exfiltrate data. The event did not create an alert. The analyst has confirmed the USB hardware ID is not on the device allow list, but has not yet confirmed the owner of the USB device. Which of the following actions should the analyst take next?

  • AClassify the incident as a false positive.
  • BClassify the incident as a false negative. (correct answer)
  • CClassify the incident as a true positive.
  • DClassify the incident as a true negative.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Classify the incident as a false negative. This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 10

Which of the following security features do email signatures provide?

  • ANon-repudiation (correct answer)
  • BBody encryption
  • CCode signing
  • DSender authentication
  • EChain of custody
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Non-repudiation This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 11

A software development company wants to ensure that users can confirm the software is legitimate when installing it. Which of the following is the best way for the company to achieve this security objective?

  • ACode signing (correct answer)
  • BNon-repudiation
  • CKey escrow
  • DPrivate keys
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Code signing This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 12 Β· Select all that apply

While performing mandatory monthly patch updates on a production application server, the security analyst reports an instance of buffer overflow for a new application that was migrated to the cloud and is also publicly exposed. Security policy requires that only internal users have access to the application. Which of the following should the analyst implement to mitigate the issues reported? (Choose two.)

  • AConfigure firewall rules to block all external traffic. (correct answer)
  • BEnable input validation for all fields. (correct answer)
  • CEnable automatic updates to be installed on all servers.
  • DConfigure the security group to enable external traffic.
  • ESet up a DLP policy to alert for exfiltration on all application servers.
  • FEnable nightly vulnerability scans.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: Configure firewall rules to block all external traffic. Option B: Enable input validation for all fields.

Explanation

A firewall enforces traffic policy by permitting or blocking connections based on configured rules. This option decouples the components so they scale independently and absorb load spikes.

Topic 1 Β· Question 13

PKI can be used to support security requirements in the change management process. Which of the following capabilities does PKI provide for messages?

  • ANon-repudiation (correct answer)
  • BConfidentiality
  • CDelivery receipts
  • DAttestation
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Non-repudiation This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 14

Several unlabeled documents in a cloud document repository contain cardholder information. Which of the following configuration changes should be made to the DLP system to correctly label these documents in the future?

  • ADigital rights management
  • BNetwork traffic decryption
  • CRegular expressions (correct answer)
  • DWatermarking
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Regular expressions

Topic 1 Β· Question 15

A systems administrator at a web-hosting provider has been tasked with renewing the public certificates of all customer sites. Which of the following would best support multiple domain names while minimizing the amount of certificates needed?

  • AOCSP
  • BCRL
  • CSAND. CA (correct answer)
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: SAND. CA

Topic 1 Β· Question 16 Β· Select all that apply

Which of the following best explain why organizations prefer to utilize code that is digitally signed? (Choose two.)

  • AIt provides origin assurance. (correct answer)
  • BIt verifies integrity. (correct answer)
  • CIt provides increased confidentiality.
  • DIt integrates with DRMs.
  • EIt verifies the recipient's identity.
  • FIt ensures the code is free of malware.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: It provides origin assurance. Option B: It verifies integrity.

Topic 1 Β· Question 17

A security engineer receives reports through the organization's bug bounty program about remote code execution in a specific component in a custom application. Management wants to properly secure the component and proactively avoid similar issues. Which of the following is the best approach to uncover additional vulnerable paths in the application?

  • ALeverage an exploitation framework to uncover vulnerabilities.
  • BUse fuzz testing to uncover potential vulnerabilities in the application. (correct answer)
  • CUtilize a software composition analysis tool to report known vulnerabilities.
  • DReverse engineer the application to look for vulnerable code paths.
  • EAnalyze the use of an HTTP intercepting proxy to dynamically uncover issues.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use fuzz testing to uncover potential vulnerabilities in the application. This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 18

A security technician is investigating a system that tracks inventory via a batch update each night. The technician is concerned that the system poses a risk to the business, as errors are occasionally generated and reported inventory appears incorrect. The following output log is provided: The technician reviews the output of the batch job and discovers that the inventory was never less than zero, and the final inventory was 100 rather than 60. Which of the following should the technician do to resolve this issue?

Exhibit 1 for question 18
  • AEnsure that the application is using memory-safe functions to prevent integer overflows.
  • BRecommend thread-safe processes in the code to eliminate race conditions. (correct answer)
  • CRequire the developers to include exception handlers to accommodate out-of-bounds results.
  • DMove the batch processing from client side to server side to remove client processing inconsistencies.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Recommend thread-safe processes in the code to eliminate race conditions.

Explanation

Network address translation maps addresses between networks and commonly lets private hosts share public connectivity. This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 19

A programmer is reviewing the following proprietary piece of code that was identified as a vulnerability due to users being authenticated when they provide incorrect credentials: Which of the following should the programmer implement to remediate the code vulnerability?

Exhibit 1 for question 19
  • ASalted hashing via the proprietary SHASH function
  • BInput validation in the first two lines of code
  • CAtomic execution of subroutines (correct answer)
  • DTOCTOU remediation in SET USERACL
  • EDatabase connection over encrypted channels
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Atomic execution of subroutines

Topic 1 Β· Question 20

A senior cybersecurity engineer is solving a digital certificate issue in which the CA denied certificate issuance due to failed subject identity validation. At which of the following steps within the PKI enrollment process would the denial have occurred?

  • ARAB. OCSP (correct answer)
  • CCA
  • DIdP
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: RAB. OCSP This option keeps traffic private / properly secured as required.

Showing questions 1–20 of 393 Β· Page 1 of 20