Curated

General Security Concepts 3 (1.3)

0 votes

Questions79

  1. Question 51

    General Security Concepts

    Which three statements about a root CA as a PKI's root of trust are true? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. It is often kept offline to protect its private keyC. Its certificate is self-signed, because no higher authority vouches for itE. Compromise of its key undermines every certificate beneath it

    AWhy not this: Root certificates have long lifetimes, often 20 years or more, because replacing a trust anchor in every client is disruptive.

    BWhy this is right: Offline storage limits exposure of the one key that anchors the whole hierarchy.

    CWhy this is right: The root has no superior CA, so it vouches for itself with a self-signed certificate.

    DWhy not this: Roots normally delegate to intermediate CAs; direct signing of all certificates is not required.

    EWhy this is right: Every chain ends at the root, so a stolen root key lets an attacker forge trusted certificates.

    A root CA sits at the top of the hierarchy, so it signs its own certificate, and its key is commonly kept offline because everything below depends on it. Roots usually delegate issuance to intermediate CAs rather than signing every end-entity certificate. Root certificates have long lifetimes, often 20 years or more, because every client trusts them.

    Open this question
  2. Question 52

    General Security Concepts

    In a PKI, what serves as the root of trust?

    Show the answer

    Correct answerD. The root CA whose certificate anchors the chain

    AWhy not this: An OCSP responder answers revocation status queries; it does not anchor trust in the chain.

    BWhy not this: A CRL lists revoked certificates; it is a status mechanism, not the origin of trust.

    CWhy not this: A CSR is the request a subject sends to a CA to get a certificate signed.

    DWhy this is right: The root CA sits at the top of the chain, and all trust in the certificates below it derives from it.

    The root CA is the starting point from which trust in every certificate below it is derived. An OCSP responder and a CRL only report revocation status, and a CSR is a request for a certificate.

    Open this question
  3. Question 53

    General Security Concepts

    A hospital's staff laptops already trust its internal CA. It must secure internal clinical servers, with issuance under its own control, and a public patient portal used by browsers it does not manage. Which approach is BEST?

    Show the answer

    Correct answerA. A private CA for the intranet servers, a third-party CA for the portal

    AWhy this is right: Matches each audience: internal control for managed laptops, public trust for unmanaged customer browsers.

    BWhy not this: Public trust works for the portal but gives up internal control of issuance and revocation for the clinical servers.

    CWhy not this: Customers cannot be expected to install a hospital root, so this fails for the unmanaged browsers.

    DWhy not this: Self-signed certificates are trusted by nobody by default, so customers would get warnings and staff would lose central management.

    Managed laptops already trust the private CA, so it gives control of internal issuance. The portal's visitors need a certificate chaining to a root their browsers already trust, which a third-party CA provides. Using a third-party CA for everything gives up control and adds cost.

    Open this question
  4. Question 54

    General Security Concepts

    A browser validates a chain whose top certificate is self-signed. What is the reason the browser accepts that top certificate?

    Show the answer

    Correct answerA. It is already present among the browser's locally trusted roots

    AWhy this is right: Trust in a root is established out of band, by the certificate being installed as a trust anchor.

    BWhy not this: Roots are not vetted through an OCSP responder; trust is established by installation, not a status query.

    CWhy not this: Every self-signed certificate passes this check, so it cannot establish trust.

    DWhy not this: A root has no higher CA; if one signed it, it would be an intermediate, not a root.

    A root certificate has no issuer above it, so trust comes from its prior installation as a trust anchor. Any attacker can create a self-signed certificate whose signature verifies against its own key, so that check proves nothing about trust.

    Open this question
  5. Question 55

    General Security Concepts

    A cloud administrator must keep snapshots of an instance's attached disk unreadable outside the account, including logs and temporary files. Which solution fits?

    Show the answer

    Correct answerB. Encrypt the attached disk as a volume with a managed key

    AWhy not this: A hash is one-way and cannot be reversed to read files; it protects integrity, not confidentiality.

    BWhy this is right: Everything written to the volume is encrypted, so its snapshots are unreadable without the key.

    CWhy not this: Protects data moving over the network, not data stored on the disk or in snapshots.

    DWhy not this: Protects only the specific fields the application encrypts; logs and temp files stay in plaintext.

    Encrypting the attached storage volume covers all data written to it, including logs and temporary files, and snapshots of it stay encrypted. Record-level encryption protects only the fields the application encrypts and leaves logs and temporary files exposed.

    Open this question
  6. Question 56

    General Security Concepts

    A finance analyst emails one payroll file to an auditor. The file must stay encrypted in the mailbox, on the mail server and on the auditor's laptop. Which encryption level meets this?

    Show the answer

    Correct answerD. File

    AWhy not this: Covers only files stored on that logical drive; a copy attached to email is no longer protected.

    BWhy not this: Covers only data within that partition; the file is unprotected once it leaves the partition.

    CWhy not this: Protects only the disk it is on; the attachment leaves that protection when it is emailed.

    DWhy this is right: The protection belongs to the file itself, so it stays encrypted in transit and wherever it is stored.

    File-level encryption protects the file itself, so it stays encrypted wherever it is copied or stored. Full-disk, volume and partition encryption protect only data stored on one device or storage unit, so the attachment would leave that protection when sent.

    Open this question
  7. Question 57

    General Security Concepts

    Which encryption level protects everything on a single logical drive, such as a BitLocker-protected D: drive?

    Show the answer

    Correct answerD. Volume

    AWhy not this: Protects a database's data, not every item on a drive.

    BWhy not this: Protects chosen files one by one rather than the whole drive with one setting.

    CWhy not this: Protects individual rows or fields, not a whole logical drive.

    DWhy this is right: Encrypts the entire logical drive, so everything stored on it is protected with one setting.

    Volume-level encryption encrypts a whole logical storage unit, such as a drive mounted as D:, with one key and setting. File-level encryption works on individual files and would need to be applied to each one.

    Open this question
  8. Question 58

    General Security Concepts

    A BitLocker-protected data volume is unlocked on a server. An administrator copies a file from it to an unencrypted USB drive. What is the file's state on the USB drive?

    Show the answer

    Correct answerB. Plaintext, because only data stored on the encrypted volume is protected

    AWhy not this: A reboot does not encrypt the copy; it stays plaintext because it is outside the volume.

    BWhy this is right: The protection belongs to the volume, so a copy stored elsewhere is written unencrypted.

    CWhy not this: The volume key never travels with individual files; encryption does not follow a copy.

    DWhy not this: BitLocker protects only the volumes it is enabled on, not other attached drives.

    Volume encryption protects data only while it is stored on that volume. A file copied to another device is written in plaintext because the protection belongs to the volume, not the file. A file-level approach would be needed for protection that travels with the file.

    Open this question
  9. Question 59

    General Security Concepts

    All tables in a production database must be unreadable if its data files are copied from the storage server, and applications must keep working without code changes. Which solution fits?

    Show the answer

    Correct answerC. Database-level encryption (TDE)

    AWhy not this: Needs the application to encrypt and decrypt chosen fields, so code changes are required.

    BWhy not this: Protects data crossing the network, not the data files sitting on the storage server.

    CWhy this is right: Encrypts the database's files at rest while the engine decrypts for queries, so no app changes.

    DWhy not this: One-way hashing would make the stored data unusable for the applications.

    Transparent data encryption encrypts the database's data files at rest, and the database engine decrypts data for queries, so applications need no changes. Record-level encryption would require applications to handle encryption and decryption for chosen fields.

    Open this question
  10. Question 60

    General Security Concepts

    A company creates new customer subdomains under example.com every week. It wants one publicly trusted certificate that covers them without a new request each time. Which should it use?

    Show the answer

    Correct answerC. A wildcard certificate for *.example.com

    AWhy not this: Stapling supplies revocation status and the certificate covers only www.example.com, not the new subdomains.

    BWhy not this: Each new name would need its own CSR and issuance, which is the overhead the company wants to avoid.

    CWhy this is right: The asterisk matches any single subdomain label, so new customer subdomains are covered immediately.

    DWhy not this: Self-signed certificates are not trusted by customers' browsers, so they would show warnings.

    A wildcard certificate for *.example.com covers every single-level subdomain, so new names need no new CSR or certificate. Individual certificates would work but require a new request each time.

    Open this question
  11. Question 61

    General Security Concepts

    A *.example.com certificate is installed on every server. Browsers show a name mismatch error only for app.eu.example.com. What is the cause?

    Show the answer

    Correct answerD. A wildcard covers just one subdomain level

    AWhy not this: Revocation would produce a revoked-certificate error on every server using the certificate, not a mismatch on one name.

    BWhy not this: A missing root would break trust for every host, and the error would not be a name mismatch.

    CWhy not this: An unreachable OCSP responder is a status-check problem that would affect all hosts, not a name mismatch.

    DWhy this is right: The asterisk replaces only one label, so a name with two labels before example.com falls outside the certificate.

    A wildcard matches a single label, so *.example.com covers app.example.com but not app.eu.example.com. A revoked certificate or missing root would fail on every host, not just this one.

    Open this question
  12. Question 62

    General Security Concepts

    A company deploys one wildcard certificate and its private key on 40 web servers. What is the main security risk of this design?

    Show the answer

    Correct answerD. One stolen key impersonates every covered subdomain

    AWhy not this: Public third-party CAs issue wildcard certificates that browsers trust.

    BWhy not this: Wildcard certificates are signed by a CA, and the self-signed type is unrelated to the wildcard feature.

    CWhy not this: Wildcard certificates have serial numbers and can be revoked and listed on a CRL like any other certificate.

    DWhy this is right: The shared private key means one compromised server exposes every subdomain the wildcard covers.

    Every server shares the same private key, so compromising one server lets an attacker impersonate any name the wildcard covers. Wildcards can be revoked like other certificates and are issued by public CAs.

    Open this question
  13. Question 63

    General Security Concepts

    What does an administrator generate and send to a CA to request a certificate for a server?

    Show the answer

    Correct answerA. A certificate signing request

    AWhy this is right: The CSR carries the public key and identity details the CA signs into the certificate.

    BWhy not this: A self-signed certificate is signed by its own key and involves no request to a CA.

    CWhy not this: A CRL is published by the CA to list revoked certificates and is not a request for a certificate.

    DWhy not this: An OCSP response is the CA's answer about a certificate's status and is not created by the requester.

    A certificate signing request (CSR) is generated on the server and sent to the CA, which uses it to issue a signed certificate. A CRL is published by the CA to list revoked certificates and is not used to request one.

    Open this question
  14. Question 64

    General Security Concepts

    An administrator installs a CA-signed certificate, but the server cannot use it because the private key created with the original CSR was deleted. What should the administrator do?

    Show the answer

    Correct answerA. Generate a new key pair and submit a new CSR

    AWhy this is right: A certificate is bound to the public key in its CSR, so a lost private key means a new key pair, a new CSR and a new certificate.

    BWhy not this: OCSP stapling delivers revocation status and has no effect on a missing private key.

    CWhy not this: A trust store holds root certificates to validate chains, but it cannot replace the missing private key.

    DWhy not this: The CA only received the CSR with the public key and never held the private key, so it cannot send it back.

    The key pair is generated with the CSR, and the signed certificate only works with that private key. Without it, the administrator must create a new key pair and CSR. A CA never holds the private key, so it cannot return it.

    Open this question
  15. Question 65

    General Security Concepts

    Which are used to protect data as it travels across a network? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. IPsecD. TLSE. SSH

    AWhy not this: File-level encryption protects stored files and does not secure a network connection.

    BWhy this is right: IPsec encrypts IP traffic between hosts or networks, such as in a VPN tunnel.

    CWhy not this: Full-disk encryption protects data stored on a drive, not data crossing a network.

    DWhy this is right: TLS encrypts communication between clients and servers, such as web traffic.

    EWhy this is right: SSH provides encrypted remote administration and file transfer sessions.

    FWhy not this: Database-level encryption protects stored database data, not network traffic.

    TLS, IPsec and SSH encrypt data in transit between systems. Full-disk, database-level and file-level encryption protect stored data and do not secure it while it crosses a network.

    Open this question
  16. Question 66

    General Security Concepts

    A multi-tenant application stores every customer's rows in one table. Each tenant's rows must be encrypted under that tenant's own key. Which level applies?

    Show the answer

    Correct answerD. Record

    AWhy not this: Volume encryption uses one key for the whole volume and cannot separate rows in a table.

    BWhy not this: Full-disk encryption uses one key for the entire drive, so tenants cannot be separated.

    CWhy not this: Database-level encryption protects the database as a whole, not individual tenants' rows.

    DWhy this is right: Record-level encryption works on individual rows, allowing a different key per tenant's records.

    Record-level encryption encrypts individual rows, so each tenant's records can use a separate key. Database-level encryption uses one key for the whole database's data, so it cannot separate tenants within a table.

    Open this question
  17. Question 67

    General Security Concepts

    A customer database uses transparent data encryption (TDE). An attacker exploits SQL injection in the web application and runs SELECT on the customers table. What is the result?

    Show the answer

    Correct answerB. Plaintext rows are returned

    AWhy not this: The engine decrypts data for sessions it accepts, so results are not returned as ciphertext.

    BWhy this is right: The engine decrypts transparently, so an accepted query gets the readable data.

    CWhy not this: The engine already holds the key for TDE, so the query does not need one from the caller.

    DWhy not this: Masking is a separate control; TDE does not alter the values returned to a query.

    TDE encrypts the stored data files and decrypts transparently for the database engine, so any session the engine accepts, including one hijacked by SQL injection, receives plaintext. TDE protects stolen files and backups, not queries run through the engine.

    Open this question
  18. Question 68

    General Security Concepts

    A company wants every data file and backup produced by its relational data engine to be unreadable without a key. Applications must keep querying the data with no code changes, and the protection must hold no matter which disk or partition stores the files. Which encryption level fits best?

    Show the answer

    Correct answerD. Database

    AWhy not this: Full-disk encryption covers the whole drive, including the OS, not just the database's data.

    BWhy not this: Record-level encryption protects individual rows, not the entire database.

    CWhy not this: Partition encryption protects one disk partition and its contents, not a database as such.

    DWhy this is right: Database-level encryption, such as TDE, covers the entire database's stored contents.

    Database-level encryption, such as TDE, encrypts the database's stored data, so copied data files and backups are unreadable without the key. Record-level encryption is narrower: it protects individual rows, not the whole database.

    Open this question
  19. Question 69

    General Security Concepts

    A payroll table sits in a database already using TDE. Only HR may read executive salary rows; DBAs with full database access must not, and other rows stay queryable. What should be added?

    Show the answer

    Correct answerA. Record-level encryption, keys held by HR

    AWhy this is right: Encrypting only those rows with keys outside DBA control limits them to HR and leaves other rows queryable.

    BWhy not this: The engine still decrypts for anyone with database access, so DBAs can read the rows whatever the key length.

    CWhy not this: Full-disk protection operates below the database, so DBAs working through the engine still see plaintext.

    DWhy not this: Volume encryption is transparent to the database engine and does nothing to restrict DBAs.

    Record-level encryption protects only the chosen rows, and keeping the keys with HR means DBAs cannot decrypt them even with full database access. Lengthening the database key does not help, because the engine still decrypts for DBAs.

    Open this question
  20. Question 70

    General Security Concepts

    An auditor requires that stealing a server's long-term private key today must not expose previously recorded TLS sessions. Which key exchange meets this?

    Show the answer

    Correct answerA. Ephemeral Diffie-Hellman such as ECDHE

    AWhy this is right: Per-session ephemeral keys are discarded, so the long-term key cannot recover past session secrets.

    BWhy not this: With static RSA, a stolen private key decrypts each recorded secret, so past sessions are exposed.

    CWhy not this: A preshared key is reused across sessions, so its compromise exposes all recorded traffic made with it.

    DWhy not this: A longer key resists brute force but is still the same long-term key that decrypts recorded static RSA sessions.

    Ephemeral Diffie-Hellman creates fresh keys for each session and discards them, giving perfect forward secrecy, so a stolen long-term key cannot decrypt past traffic. Static RSA does not, because the stolen key decrypts the recorded secrets.

    Open this question
  21. Question 71

    General Security Concepts

    Two VPN peers have no preshared secret. Which algorithm lets them derive the same shared secret over the internet without ever transmitting it?

    Show the answer

    Correct answerA. Diffie-Hellman

    AWhy this is right: Each side combines its private value with the other's public value to compute the same secret without sending it.

    BWhy not this: AES-GCM encrypts data with a key the peers must already share, so it cannot establish one.

    CWhy not this: A digital signature proves who signed data and its integrity but does not create a shared secret.

    DWhy not this: Hashing produces a fixed-length digest and cannot make two parties agree on a secret.

    Diffie-Hellman lets two parties each combine private values with exchanged public values to compute the same secret, so the secret never crosses the network. A digital signature proves origin but creates no shared secret.

    Open this question
  22. Question 72

    General Security Concepts

    Customers submit payment details to a company's web application over plain HTTP. Which change protects the data while it crosses the internet?

    Show the answer

    Correct answerA. Enable TLS on the web server

    AWhy this is right: TLS encrypts the session between browser and server, so card data cannot be read in transit.

    BWhy not this: File-level encryption protects individual files at rest and does not encrypt network sessions.

    CWhy not this: Full-disk encryption protects stored data if the drive is stolen, not data moving over the network.

    DWhy not this: Database encryption protects stored tables, but the traffic to the web server stays in plaintext.

    TLS encrypts data in transit between the browser and the server, which is what HTTPS provides. Full-disk encryption only protects data at rest on the server and does nothing for traffic crossing the network.

    Open this question
  23. Question 73

    General Security Concepts

    Two branch offices exchange file-share, database and web traffic over the internet. Which solution encrypts all of it in transit without changing each application?

    Show the answer

    Correct answerA. An IPsec site-to-site VPN

    AWhy this is right: IPsec encrypts IP traffic between the sites, covering every protocol regardless of the application.

    BWhy not this: Record-level encryption protects stored fields and does not encrypt traffic between sites.

    CWhy not this: Full-disk encryption protects data at rest on the servers, not data crossing the internet.

    DWhy not this: HTTPS protects only web sessions, so file-share and database traffic would still cross the internet unencrypted.

    IPsec encrypts traffic at the network layer, so every protocol between the sites is covered without application changes. HTTPS only protects web traffic and leaves file-share and database traffic exposed.

    Open this question
  24. Question 74

    General Security Concepts

    What problem does key exchange solve for symmetric encryption?

    Show the answer

    Correct answerB. Getting the same secret key to both parties securely

    AWhy not this: That describes key length, which affects brute-force resistance rather than how the key is shared.

    BWhy this is right: Both sides need the same secret, and key exchange delivers or derives it without exposing it to eavesdroppers.

    CWhy not this: Proving identity is authentication, usually done with certificates or signatures, not key exchange.

    DWhy not this: Protecting stored data is encryption at rest, which is unrelated to sharing keys between parties.

    Symmetric encryption needs both parties to hold the same secret key, and key exchange is how they get it securely over an untrusted network. Key length concerns resistance to brute force, not distribution.

    Open this question
  25. Question 75

    General Security Concepts

    Which algorithm bases its security on the difficulty of factoring the product of two large prime numbers?

    Show the answer

    Correct answerD. RSA

    AWhy not this: ECC is asymmetric but depends on elliptic-curve discrete logarithms, not factoring.

    BWhy not this: 3DES is a symmetric cipher that applies DES three times; it has no factoring basis.

    CWhy not this: AES is a symmetric block cipher built on substitution and permutation rounds, not number theory.

    DWhy this is right: RSA security rests on the hardness of factoring a large product of two primes.

    RSA is an asymmetric algorithm whose private key cannot be derived from the public key without factoring a very large composite number. ECC is also asymmetric, but it relies on the elliptic-curve discrete logarithm problem, not factoring.

    Open this question
  26. Question 76

    General Security Concepts

    Which key length gives the strongest AES encryption?

    Show the answer

    Correct answerB. 256-bit

    AWhy not this: 128 bits is valid and strong, but it has the smallest keyspace of the AES options.

    BWhy this is right: 256 bits is the longest AES key, giving the largest keyspace to brute-force.

    CWhy not this: 192 bits is a valid AES length but gives a smaller keyspace than the maximum.

    DWhy not this: 56 bits is the old DES key length; it is not an AES option and is easily brute-forced.

    AES supports 128-, 192- and 256-bit keys, and 256 bits gives the largest keyspace. 56 bits is the DES key length and is not an AES option.

    Open this question
  27. Question 77

    General Security Concepts

    A firm must send a 5 GB archive to a new partner over the internet. They share no secret, and the method must be fast and meet current standards. Which approach is BEST?

    Show the answer

    Correct answerD. AES-256 for the archive, with its key wrapped by the partner's RSA public key

    AWhy not this: A key sent in plain email can be intercepted, so the archive is not protected.

    BWhy not this: 3DES is deprecated, slow and weaker than AES, so it fails the current-standards constraint.

    CWhy not this: Asymmetric algorithms are slow and limited in the data size they can encrypt, so they are unsuitable for bulk data.

    DWhy this is right: AES-256 handles the bulk data quickly and the partner's public key protects the key, so no shared secret is needed.

    Hybrid encryption uses a fast symmetric cipher, AES-256, for bulk data, and the asymmetric RSA public key protects the AES key with no prior shared secret. 3DES is also wrapped securely but is deprecated and slower than AES.

    Open this question
  28. Question 78

    General Security Concepts

    A team compares key lengths across algorithms for a new design. Which statements are true? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Longer keys generally add processing cost to encryption and key operations.B. Adding one bit to a symmetric key doubles the number of possible keys.D. ECC reaches the strength of a given RSA key with a much shorter key.E. Asymmetric keys must be far longer than symmetric keys for comparable strength.

    AWhy this is right: Larger keys mean more computation, a trade-off against strength.

    BWhy this is right: Keyspace is 2 to the power of the key length, so each extra bit doubles it.

    CWhy not this: A 256-bit ECC key is roughly equal to 128-bit symmetric strength, so it is weaker than AES-256.

    DWhy this is right: Elliptic-curve math is harder per bit, so ECC matches RSA strength with fewer bits.

    EWhy this is right: Public-key math is attackable by shortcuts, so RSA needs about 3072 bits to match AES-128.

    FWhy not this: A design flaw can be exploited without searching the keyspace, so length cannot fix it.

    Each added bit doubles the keyspace, asymmetric algorithms need much longer keys than symmetric ones, ECC needs fewer bits than RSA, and longer keys cost more processing. Bit counts are not comparable across algorithm types, and a long key cannot repair a flawed design.

    Open this question
  29. Question 79

    General Security Concepts

    An auditor flags a 1024-bit RSA key on a public web server. Which change addresses the finding?

    Show the answer

    Correct answerA. Replace it with an RSA key of 2048 bits or longer

    AWhy this is right: A longer RSA key enlarges the work needed to break the key, meeting current minimum guidance.

    BWhy not this: AES is symmetric and cannot replace an RSA key pair in a web server certificate.

    CWhy not this: The hash algorithm affects the signature digest, not the strength of the RSA key.

    DWhy not this: An HSM protects key storage, but a 1024-bit key is still too short.

    1024-bit RSA no longer gives adequate strength, so the finding is fixed by generating a key of 2048 bits or more. An HSM protects where the key is stored but leaves its weak length unchanged.

    Open this question