Question 51
MediumWhich security goal does encryption mainly provide?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Computer Networks
Which security goal does encryption mainly provide?
Availability
Accountability
Confidentiality
Non-repudiation only
Sign up free to see the answer and a step-by-step explanation.
What does a message authentication code (MAC), such as HMAC, provide?
Compression
Non-repudiation
Integrity and authenticity using a shared secret key
Confidentiality only
Sign up free to see the answer and a step-by-step explanation.
A brute-force attacker tries 10⁹ keys per second. Roughly how long would trying every 40-bit key take?
About 30 years
About 1 day
About 1 second
About 18 minutes
Sign up free to see the answer and a step-by-step explanation.
A reporting service only reads the sales table, but its database account has full admin rights. Which security principle does this break?
Non-repudiation
Defence in depth
Least privilege
Separation of networks
Sign up free to see the answer and a step-by-step explanation.
In TLS, why are asymmetric and symmetric cryptography used together?
They are used for the same thing
Asymmetric encryption is faster for bulk data
Asymmetric cryptography securely agrees a key; faster symmetric encryption then protects the data
Symmetric keys can't be used on the Internet
Sign up free to see the answer and a step-by-step explanation.
What is a cross-site scripting (XSS) attack?
Flooding a website
Stealing a server's private key
Guessing a password
Injecting a malicious script into a web page that other users' browsers then run
Sign up free to see the answer and a step-by-step explanation.
Why should passwords be stored as salted hashes rather than plain hashes?
A unique salt per user defeats precomputed rainbow tables and makes identical passwords hash differently
Salt makes hashing faster
Plain hashes can't be compared
Salt allows passwords to be decrypted
Sign up free to see the answer and a step-by-step explanation.
What does a SYN flood attack exploit?
The TCP handshake: many half-open connections fill the server's connection queue
The UDP checksum
DNS caching
Weak passwords
Sign up free to see the answer and a step-by-step explanation.
In the CIA triad, what does availability mean?
Data isn't altered
Data is kept secret
Authorised users can access systems and data when they need them
Users are authenticated
Sign up free to see the answer and a step-by-step explanation.
Which is the safest way to defend against CSRF (cross-site request forgery)?
Making passwords longer
Unpredictable anti-CSRF tokens on state-changing requests, plus SameSite cookies
Using GET for every request
Disabling HTTPS
Sign up free to see the answer and a step-by-step explanation.