Exam Information
Free practice questions with explanations
WGU Introduction-to-Cryptography Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 15
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Cryptographic Algorithms and Techniques
A logistics company encrypts sensor telemetry on constrained devices that send small packets continuously over a lossy cellular link. Each packet must be decrypted independently, packets can arrive out of order, and the devices have limited memory and no hardware AES acceleration. The security team requires authenticated encryption and rejects any mode in which a single corrupted bit could cascade into the rest of the stream. Which approach BEST meets these requirements?
Correct Answer: CExplanationAES-GCM is an authenticated encryption mode that provides confidentiality and integrity, and each packet can be decrypted independently when the nonce travels with it, so out-of-order delivery is not a problem. CBC with a separate HMAC is authenticated only if the MAC is computed and verified correctly, and CBC decryption of a corrupted block damages the following block, which conflicts with the stated cascade constraint. The stream cipher option has no integrity protection and depends on synchronised counters that break under loss and reordering. ECB leaks patterns between identical blocks, and a plaintext digest sent in the clear provides no authentication or confidentiality.
-
2 Question 2 Single choice Cryptographic Algorithms and Techniques
A records-management application stores hashes of customer documents to detect tampering. The development team proposes using a fast, unkeyed hash with a 32-bit output so the nightly verification job finishes quickly. An auditor notes that the same application later accepts user-supplied document versions and that an attacker could submit a crafted document with the same digest as a legitimate one. Which change BEST addresses the auditor's finding while keeping verification practical?
Correct Answer: BExplanationA 32-bit digest is far too small, since birthday collisions become practical after roughly 2^16 documents, so a 256-bit collision-resistant hash such as SHA-256 is the appropriate fix. Storing two 32-bit digests is still weak against collisions and is not equivalent to a larger hash. CRC-32 is an error-detecting code, not a cryptographic hash, and an attacker can forge matching CRC values deliberately. Base64 is a reversible encoding with no integrity property at all and does not reduce storage or comparison problems.
-
3 Question 3 Single choice Cryptographic Foundations
A regional clinic exchanges patient referral files with three partner hospitals. Each hospital already owns an RSA key pair. The clinic wants any recipient to confirm that a referral file came from the clinic and was not altered, and it does not need the file itself to be hidden from the courier network because transport is already protected by TLS. The compliance officer insists that the clinic must never use its private key to decrypt incoming files. Which design BEST satisfies these constraints?
Correct Answer: AExplanationA digital signature over a hash of the file gives origin authentication and integrity, and verification needs only the clinic public key, which matches the requirement that recipients confirm origin without confidentiality from the courier. Encrypting with the clinic private key is not a valid confidentiality mechanism and misuses the key pair in a way that exposes it to anyone holding the public key. Sending a shared HMAC key over the same channel fails because a shared secret provides no non-repudiation and any partner could forge the clinic's messages. Signing a symmetric key with a hospital private key makes no sense because the hospitals are not the sender and this would expose the clinic to impersonation.
-
4 Question 4 Single choice Cryptography Implementation and Security
A fintech team reviews a payment service that uses AES-256-GCM. Their code generates a 96-bit nonce using a counter that resets to zero whenever the service restarts, and the same key is loaded from the same configuration on every restart. Over six months the service has processed several hundred million transactions across many restarts. The team asks what the SINGLE most serious consequence of this implementation is and what should change first. Which response is correct?
Correct Answer: AExplanationReusing a nonce with the same key in GCM is catastrophic: the keystream repeats, so an attacker can recover plaintext XORs and forge authentication, which is why the key must be rotated and nonce generation fixed before any further use. The tag length is not the weakness here, and GCM tags are conventionally 128 bits in any case. A counter reset is a correctness and security defect, not merely a performance issue. ECB removes the nonce requirement but provides no semantic security and is far weaker than GCM with a proper nonce.
-
5 Question 5 Multiple choice Cryptography Implementation and Security
A healthcare software vendor stores encryption keys for tenant databases in a shared configuration repository so that deployments can read them automatically. A penetration tester reports that developers can read production keys from the repository history. The vendor must remediate without breaking automated deployments. (Choose two.)
Correct Answer: A, CExplanationCentralising keys in a managed key or secrets service with scoped, short-lived access removes the need to store key material in source control, which is the root cause. Rotating keys that were exposed in history is required because anyone who had read access may already hold them, and re-encrypting data limits the exposure. Base64 is an encoding, not encryption, so it hides nothing. Branch protection does not remove the keys already present in history. Increasing key length does not help against a key that is already known.
-
6 Question 6 Single choice Cryptography Implementation and Security
A university IT group runs a web application that accepts user passwords and stores them in a database for login. An engineer proposes using SHA-256 with a single unsalted hash per password, arguing it is a strong modern hash. A colleague argues this is insufficient because stolen database copies could be attacked quickly. The application must run on modest hardware and login latency should stay under one second. Which storage approach BEST meets these needs?
Correct Answer: AExplanationPassword storage needs a salt for each user so identical passwords do not produce identical hashes, and a deliberately slow, memory-hard or cost-tunable function such as Argon2 or bcrypt so offline guessing is expensive, with the cost set to fit the one-second login budget. A single application-wide HMAC key is a reasonable additional layer but does not replace per-user salting and slow hashing on its own. A global static salt still allows precomputation across the whole user base. Encrypting passwords with a key derived from the user name is reversible and makes the protection depend on information attackers already know.
-
7 Question 7 Single choice Legal, Ethical, and Operational Considerations
A European retailer stores customer payment tokens and encrypted personal data in a cloud region. A regulator asks the company to demonstrate that encryption keys cannot be accessed by the cloud provider's operators and that key destruction is verifiable when a customer exercises its right to erasure. Engineers propose keeping keys in the same account as the data, relying on provider-managed keys with no customer control. Which operational approach BEST satisfies the regulator's requirements?
Correct Answer: AExplanationCustomer-managed keys held in an external or hardware-backed store give the company control over key access and produce audit trails, and destroying the key version makes encrypted backups and replicas unreadable, which is verifiable crypto-erasure. Relying on provider-managed keys does not demonstrate operator-inaccessible keys, and deleting rows leaves backups recoverable. Embedding keys in source code exposes them to everyone with repository access. A key derived from a public value offers no confidentiality because anyone can recompute it.
-
8 Question 8 Single choice Legal, Ethical, and Operational Considerations
A security team finds that a legacy reporting tool uses an export format that embeds a cryptographic key derived from a predictable employee identifier. Analysis shows that an insider could recover keys for other departments' exports. The team must decide the FIRST action before a full redesign. Which action BEST balances legal exposure, operational risk, and containment?
Correct Answer: AExplanationBecause personal data may be exposed to insiders who lack authorisation, the immediate priority is governance: involving the data protection officer and counsel, containing access to exports, and assessing breach notification obligations within the regulatory deadlines, which often run from awareness of the incident. Rewriting the format first delays legal assessment that may have time limits. Deleting exports without recording the incident destroys the evidence needed for compliance. Public disclosure before containment would advertise the weakness to the same insiders who could exploit it.
-
9 Question 9 Single choice Public Key Infrastructure and Certificates
An enterprise runs an internal certificate authority with an offline root and an online intermediate that issues TLS server certificates for internal services. A new intermediate is issued and the old one must be retired. Some legacy clients pin the old intermediate and cannot be updated for six weeks. The security team wants to stop trusting the compromised intermediate immediately while keeping those clients working. Which action is the BEST choice?
Correct Answer: AExplanationRevoking the compromised intermediate and publishing the revocation through CRL and OCSP stops it being trusted by validators that check revocation, and serving the new intermediate in the chain lets updated clients build a valid path. The pinned legacy clients need a planned migration, which is why the answer addresses both immediate revocation and transition. Leaving the old intermediate valid keeps the compromised trust path open. Removing the root breaks every service at once. Issuing from the offline root defeats its purpose and creates an operational bottleneck.
-
10 Question 10 Single choice Public Key Infrastructure and Certificates
A DevOps team automates TLS certificate issuance for a fleet of microservices using short-lived certificates valid for 24 hours. During an incident, an engineer discovers that a service's private key was copied to a logging system two days ago, and the certificate is still within its validity window. The team has no way to push a trust-store update to every consumer within the hour. Which response is MOST appropriate?
Correct Answer: AExplanationShort validity reduces exposure but does not eliminate it, so the compromised certificate and key still need explicit revocation through the CA, with relying parties checking revocation, and a fresh key pair should be issued because the old key is known to be exposed. Waiting for expiry leaves a window in which the stolen key is valid. Extending validity makes the exposure longer. Deleting the copy does not establish whether it was accessed, so assuming safety is unjustified.
-
11 Question 11 Multiple choice Public Key Infrastructure and Certificates
A company's certificate management process has failed several times because certificates expired without warning. The operations manager wants controls that catch expiry and enforce correct certificate validation by clients. Which TWO actions BEST address these needs? (Choose two.)
Correct Answer: B, EExplanationContinuous expiry monitoring with early alerts and automated renewal prevents outages before the not-after date, and enforcing chain validation with hostname matching ensures clients trust only legitimately issued certificates. Disabling validation removes the security guarantee that the server is who it claims to be. A 100-year validity is poor practice because it prevents timely rotation and extends compromise exposure. Storing private keys on a shared file server exposes them unnecessarily and is not an operational control.
-
12 Question 12 Single choice Cryptographic Foundations
A startup must choose a key exchange method for a mobile messaging app. Two clients that have never met must derive a shared session key over an untrusted network, and the design must provide forward secrecy so that recording traffic today and later compromising a long-term key does not reveal past sessions. Bandwidth and battery use are constrained, and the protocol may use the existing identity signing keys for authentication. Which approach BEST meets these requirements?
Correct Answer: AExplanationEphemeral elliptic-curve Diffie-Hellman generates a new key pair per session, so compromise of long-term keys does not reveal past session keys, and signing the exchanged values with identity keys authenticates the parties against man-in-the-middle attacks. RSA key transport lacks forward secrecy because a later compromise of the server's private key decrypts recorded sessions. Static Diffie-Hellman reuses long-term secrets across sessions, eliminating forward secrecy. A pre-shared master key does not allow strangers to establish a key and provides no forward secrecy.
-
13 Question 13 Single choice Cryptographic Foundations
A developer implements message authentication for an API. Clients and the server share a secret key. The developer computes a plain SHA-256 hash of the secret concatenated with the message body and sends the result as the authentication tag. A reviewer warns this construction is vulnerable to length extension attacks. The team wants the smallest change that corrects the flaw while keeping SHA-256. Which change is correct?
Correct Answer: AExplanationHMAC uses a nested two-pass construction with padded keys, which is specifically designed to resist length extension, and it is the standard way to build a keyed message authentication code from SHA-256. Appending the key at the end still permits some constructions to be attacked and is not a sound fix. Hashing twice does not address the underlying structure of the Merkle-Damgard function. Truncating the output reduces security without addressing the length-extension issue.
-
14 Question 14 Single choice Cryptographic Algorithms and Techniques
A video streaming service must protect a live feed encrypted with a symmetric cipher. Frames arrive continuously and the decoder can tolerate occasional lost packets but cannot tolerate buffering delay. Engineers consider a block cipher in CBC mode, a stream cipher with a keystream indexed by frame position, and a block cipher in CTR mode. Hardware offers AES acceleration, and the team wants parallel encryption across cores. Which choice is BEST?
Correct Answer: CExplanationCTR mode turns AES into a keystream generator, so keystream blocks can be generated in parallel on multiple cores, and a lost packet affects only its own data rather than the whole subsequent stream, which suits lossy live video. CBC encryption is inherently sequential and CBC decryption propagates errors into the next block. A position-indexed stream cipher reuses keystream if positions repeat across sessions, so it is unsafe without a unique nonce per stream. ECB reveals structure in repeated image regions, which is a clear confidentiality failure.
-
15 Question 15 Single choice Cryptography Implementation and Security
A mobile app developer embeds an API key and a symmetric encryption key directly in the app binary so that offline features can decrypt cached data. Security testers extract the binary and recover both keys in minutes. The product owner says the app must work offline for up to seven days and cannot call a server for each decryption. Which design BEST resolves the flaw within these constraints?
Correct Answer: CExplanationDeriving the key from the user's passphrase with a memory-hard KDF means no secret ships with the binary, and wrapping device keys inside the platform's hardware-backed or secure key storage protects them at rest while still allowing seven days of offline use. Obfuscation is not a security control because extracted keys remain recoverable. Longer keys do not help if the key itself is readable from the binary. Splitting a key across files in the same package still lets an attacker who extracts the app recover both halves.
These are 15 of the 93 questions in the full Introduction-to-Cryptography pack.
Get All 93 QuestionsGet all 93 questions & answers
Full access options for WGU Introduction-to-Cryptography
Self-study
PDF Version
- 93 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 93 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 93 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Introduction-to-Cryptography Exam (WGU Introduction to Cryptography) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.