1. Home
  2. Explore
  3. Computer Science
  4. Securing Digital Accounts

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Securing Digital Accounts

  • 93Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Account Foundations

What is authentication in cybersecurity?

93 questions

  1. 1

    What is authentication in cybersecurity?

    Model answer

    Authentication is the process of digitally proving who you are.

    Explanation

    Entering a username and password is one common way to authenticate an account holder.

  2. 2

    What is authorization, and how does it differ from authentication?

    Model answer

    Authorization determines whether an authenticated user should have access to a particular resource. Authentication establishes identity, while authorization determines permitted access.

    Explanation

    A person may prove that they are David but still be authorized to access only part of a system.

  3. 3

    Why is a physical key a useful analogy for an account password?

    Model answer

    A key allows its holder to enter a building, just as a password allows someone who knows it to access an account. Anyone who obtains the key or password may gain access.

    Explanation

    The analogy demonstrates why secret access credentials must be protected from others.

  4. 4

    Why can a username or email address generally be public while a password should remain private?

    Model answer

    A username identifies the account, whereas the password is intended to prove that the person logging in is the legitimate account holder.

    Explanation

    Authentication usually depends on knowing both the public identifier and the private secret.

  5. 5

    Why should passwords ideally be distinct across websites and applications?

    Model answer

    Unique passwords prevent a breach of one service from allowing an adversary to access other services through the same credentials.

    Explanation

    Reusing passwords creates vulnerability to credential stuffing.

  6. 6

    What is a dictionary attack?

    Model answer

    A dictionary attack tries words from a prepared list, such as English words or previously used passwords, until one matches the account password.

    Explanation

    Passwords that are ordinary dictionary words can be discovered more quickly than random passwords.

  7. 7

    Why are dictionary words poor password choices?

    Model answer

    They are vulnerable because adversaries can efficiently test large lists of common words instead of guessing randomly.

    Explanation

    Using a word that appears in a language dictionary reduces the number of likely possibilities an attacker must try.

  8. 8

    What is a brute-force attack?

    Model answer

    A brute-force attack uses software to try every possible password in a defined search space.

    Explanation

    Even a random password can eventually be found if the search space is small enough or the adversary has sufficient resources.

  9. 9

    Why can a short random password still be vulnerable to brute force?

    Model answer

    A short password has a relatively small number of possible combinations, so an adversary may be able to test them all.

    Explanation

    Randomness helps, but password length strongly affects the size of the search space.

  10. 10

    What is the difference between a dictionary attack and a brute-force attack?

    Model answer

    A dictionary attack prioritizes likely words or known passwords, while a brute-force attack systematically tests every possible combination.

    Explanation

    Dictionary attacks exploit predictability; brute-force attacks rely on exhaustive searching.

  11. 11

    How many possible four-digit passcodes exist when each position can contain any decimal digit from 0 through 9?

    Model answer

    There are 104=10,00010^4 = 10{,}000104=10,000 possible passcodes.

    Explanation

    Each of the four positions has 10 choices, including leading zeros such as 0000.

  12. 12

    Why are there 10,000 rather than 9,999 possible four-digit passcodes?

    Model answer

    The count includes 0000 as a valid passcode, so the possibilities range from 0000 through 9999.

    Explanation

    Counting only the numerical difference between 9999 and 0000 would omit the first possibility.

  13. 13

    How is the number of possible passwords calculated when each position has the same number of choices?

    Model answer

    Multiply the number of choices for each position; if there are nnn choices for each of kkk positions, the total is nkn^knk.

    Explanation

    Each position independently contributes another factor to the total number of combinations.

  14. 14

    Why can a four-digit passcode often be cracked quickly?

    Model answer

    Its search space contains only 10,000 possibilities, which software can test extremely quickly on a connected device.

    Explanation

    A stolen phone may be connected to a computer that automatically submits possible passcodes.

  15. 15

    How many four-character passwords are possible when each character is an uppercase or lowercase English letter?

    Model answer

    There are 524=7,311,61652^4 = 7{,}311{,}616524=7,311,616 possible passwords.

    Explanation

    Each position has 26 lowercase and 26 uppercase choices, for 52 choices per position.

  16. 16

    Why does adding uppercase letters to lowercase letters increase password security?

    Model answer

    It increases the number of choices available at each position, which expands the total search space.

    Explanation

    For four characters, the possibilities grow from 26426^4264 to 52452^4524.

  17. 17

    How many four-character passwords are possible using 94 letters, digits, and punctuation symbols?

    Model answer

    There are 944=78,074,89694^4 = 78{,}074{,}896944=78,074,896 possible passwords.

    Explanation

    The 94-character set consists of 26 lowercase letters, 26 uppercase letters, 10 digits, and 32 punctuation symbols.

  18. 18

    Why does expanding a four-character password from letters to letters, digits, and punctuation provide only a limited defense?

    Model answer

    Although the search space grows to about 78 million possibilities, modern software may still test that many combinations relatively quickly.

    Explanation

    Increasing character variety helps, but four characters remains a short password.

  19. 19

    How many eight-character passwords are possible when each character can be any of 94 symbols?

    Model answer

    There are 948=6,095,689,385,410,81694^8 = 6{,}095{,}689{,}385{,}410{,}816948=6,095,689,385,410,816, or roughly 6 quadrillion, possibilities.

    Explanation

    Increasing the length from four to eight raises the search space dramatically because the 94 choices are multiplied for each additional position.

  20. 20

    How does password length affect resistance to brute-force attacks?

    Model answer

    Longer passwords create a much larger search space, requiring the adversary to spend more time and resources testing possibilities.

    Explanation

    The number of combinations grows exponentially as more character positions are added.

  21. 21

    Why should a long password still avoid predictable patterns such as repeated zeros?

    Model answer

    Predictable patterns can be tested early by intelligent adversaries, even when the password technically has many possible combinations.

    Explanation

    A password's theoretical search space does not help if the chosen password is an obvious guess.

  22. 22

    What does the resource-based view of password security mean?

    Model answer

    Security depends on making the time, money, effort, and technical resources required to attack an account greater than the adversary is willing or able to spend.

    Explanation

    The goal is often to make cracking impractical before the password changes or the account loses value.

  23. 23

    What trade-off exists between password security and usability?

    Model answer

    More complex and longer passwords are generally harder to guess but harder for people to remember and use.

    Explanation

    Security policies must balance protection against the risk that users forget passwords or avoid using the system.

  24. 24

    What minimum memorized-secret length does the cited NIST recommendation specify?

    Model answer

    Memorized secrets should be at least eight characters long.

    Explanation

    The recommendation reflects the increased protection provided by longer passwords.

  25. 25

    What maximum password length should websites and applications permit according to the cited NIST recommendation?

    Model answer

    Verifiers should permit subscriber-chosen memorized secrets of at least 64 characters.

    Explanation

    Allowing long passwords supports secure passphrases and passwords generated by password managers.

  26. 26

    Which character sets should websites accept in passwords under the cited recommendation?

    Model answer

    They should accept all printable ASCII characters, spaces, and Unicode characters.

    Explanation

    Unicode support includes accented characters, symbols, and emoji from languages and writing systems beyond basic English ASCII.

  27. 27

    Why can a long passphrase be preferable to a short password containing many character types?

    Model answer

    A long phrase may be easier to remember while still creating a large search space, even without unusually complicated punctuation.

    Explanation

    Length can provide strong protection while reducing the usability problems caused by complex short passwords.

  28. 28

    What kinds of passwords should verifiers reject by comparing them with a blocklist?

    Model answer

    They should reject passwords that are commonly used, expected, compromised, found in breach databases, dictionary-based, repetitive, sequential, or related to the service or username.

    Explanation

    These choices are especially likely to be guessed before an adversary attempts exhaustive brute force.

  29. 29

    Why should passwords found in previous data breaches be rejected?

    Model answer

    Adversaries can download breached password lists and try those known credentials against other accounts.

    Explanation

    A breached-password list functions like a highly effective dictionary of real passwords.

  30. 30

    Why should repetitive and sequential passwords such as aaaaaa or 1235abcd be avoided?

    Model answer

    They follow simple patterns that adversaries can predict and test early.

    Explanation

    Patterned passwords provide much less protection than their nominal length suggests.

  31. 31

    What are context-specific passwords, and why are they unsafe?

    Model answer

    They use information related to the service, username, or account, such as using the service name in its password. They are unsafe because adversaries can easily infer and test those relationships.

    Explanation

    A password containing a service name or username is not an original secret.

  32. 32

    Why should websites avoid password hints that are visible to unauthenticated users?

    Model answer

    A visible hint can reveal information that helps an adversary reconstruct the password.

    Explanation

    A hint such as the name of a user's first pet may expose the answer rather than protect it.

  33. 33

    Why should websites avoid requiring users to answer questions such as the name of their first pet?

    Model answer

    Answers to personal questions are often discoverable through social media or other public information.

    Explanation

    Personally identifiable information should not be treated as a strong secret when others may research it.

  34. 34

    Why does NIST discourage arbitrary periodic password changes?

    Model answer

    Frequent forced changes encourage users to make minimal predictable modifications, such as changing Password1 to Password2, and increase the chance of forgetting passwords.

    Explanation

    Past passwords can help adversaries predict the next one, while frequent changes reduce usability.

  35. 35

    What is rate limiting in account authentication?

    Model answer

    Rate limiting restricts the number or frequency of failed authentication attempts allowed for an account or device.

    Explanation

    The system may impose delays, lockouts, or other restrictions after repeated failures.

  36. 36

    How does rate limiting defend against brute-force attacks?

    Model answer

    It slows the rate at which an adversary can test passwords, increasing the time, cost, and risk of the attack.

    Explanation

    A search that would otherwise take less than a second can become impractical when attempts are delayed.

  37. 37

    Why might a phone lock after repeated incorrect passcodes?

    Model answer

    After many failed attempts, it becomes more likely that someone other than the owner is trying to access the phone.

    Explanation

    Lockouts protect the device even though they can occasionally inconvenience the legitimate owner.

  38. 38

    What additional responses may devices use after repeated failed authentication attempts?

    Model answer

    They may progressively increase waiting periods or, if enabled, erase the device's data.

    Explanation

    Increasing delays and remote or automatic wiping further raise the cost and risk of continued attacks.

  39. 39

    What is multifactor authentication?

    Model answer

    Multifactor authentication requires two or more authentication factors from fundamentally different categories.

    Explanation

    Using multiple factors reduces the chance that possession of one compromised credential is enough to access the account.

  40. 40

    What are the three main categories of authentication factors?

    Model answer

    They are knowledge factors, possession factors, and inherence factors.

    Explanation

    These correspond to something you know, something you have, and something you are.

  41. 41

    What is a knowledge factor?

    Model answer

    A knowledge factor is secret information known by the user, such as a password.

    Explanation

    Its security depends on the assumption that only the legitimate user knows it.

  42. 42

    What is a possession factor?

    Model answer

    A possession factor is a physical object or device the user has, such as a phone, key fob, or security key.

    Explanation

    An attacker generally needs to obtain the physical item in addition to learning the password.

  43. 43

    What is an inherence factor?

    Model answer

    An inherence factor is a characteristic inherent to the user, such as a fingerprint or face.

    Explanation

    Biometric authentication relies on a feature presumed to be unique to the individual.

  44. 44

    Why is two-factor authentication stronger than using two passwords?

    Model answer

    True two-factor authentication combines different factor categories, whereas two passwords are both knowledge factors.

    Explanation

    Compromising one knowledge-based secret may make another password easier to compromise, while a possession or biometric factor adds a different barrier.

  45. 45

    How does a possession factor narrow the group of potential attackers?

    Model answer

    The attacker must obtain the physical device or object, so the threat is narrowed from anyone online to people who can access that possession.

    Explanation

    A phone or security key is much less widely available than a password that may be guessed over the internet.

  46. 46

    What is a one-time password (OTP)?

    Model answer

    An OTP is a temporary authentication code intended to be used once, often delivered by text message, an application, or a hardware token.

    Explanation

    The code may change periodically and is synchronized with the service's server.

  47. 47

    How does a hardware token generate or provide authentication codes?

    Model answer

    It displays a changing code synchronized with a server; entering the currently matching code demonstrates possession of the token.

    Explanation

    The changing value is not a permanent password that the user repeatedly remembers.

  48. 48

    Why are authenticator applications generally preferable to SMS-based one-time passwords?

    Model answer

    An authenticator application communicates through the device or data connection rather than relying on a phone number that may be redirected through a SIM swap.

    Explanation

    The recommendation is to prefer a native application or hardware key when available.

  49. 49

    What is a SIM swap attack?

    Model answer

    A SIM swap attack occurs when an adversary persuades a mobile carrier to associate the victim's phone number with the adversary's SIM card.

    Explanation

    Once the swap occurs, text messages containing authentication codes may be delivered to the adversary.

  50. 50

    Why can personal information enable a SIM swap attack?

    Model answer

    An adversary may use gathered personal information to convince the mobile carrier that they are the legitimate account holder.

    Explanation

    Carrier support processes can be exploited when identity verification relies on discoverable information.

  51. 51

    What is malware?

    Model answer

    Malware is malicious software that can infect computers or phones and perform harmful actions.

    Explanation

    Examples include viruses, worms, and software designed to record keystrokes or steal data.

  52. 52

    What is key logging?

    Model answer

    Key logging is the malicious recording of what a user types or taps on a device.

    Explanation

    The recorded input may be uploaded to a server controlled by an adversary.

  53. 53

    How can key logging defeat password-based authentication?

    Model answer

    It can capture and transmit the user's username and password, allowing an adversary to reuse those credentials.

    Explanation

    The malware observes the secret while it is entered rather than trying to guess it.

  54. 54

    How could key logging threaten an account protected by multifactor authentication?

    Model answer

    If the malware captures the password and a newly entered one-time code quickly enough, the adversary may use both to log in.

    Explanation

    A second factor does not fully protect an account if malicious software observes the authentication process in real time.

  55. 55

    What device-use practice reduces the risk of key logging?

    Model answer

    Log in primarily from personal devices whose software and security practices you control, rather than from public, shared, or unfamiliar computers.

    Explanation

    Internet-café, laboratory, or borrowed computers may contain malware that records credentials.

  56. 56

    What is credential stuffing?

    Model answer

    Credential stuffing is the automated use of previously stolen usernames and passwords against other websites or applications.

    Explanation

    The attack succeeds when users reuse credentials across multiple services.

  57. 57

    How does credential stuffing differ from brute force?

    Model answer

    Credential stuffing uses real credentials obtained elsewhere, whereas brute force generates and tests possible credentials.

    Explanation

    Credential stuffing does not need to search the entire password space if a victim reused a breached password.

  58. 58

    What is the primary defense against credential stuffing?

    Model answer

    Use a different, unique password for every website and application.

    Explanation

    A breach at one service then does not directly expose accounts at other services.

  59. 59

    Why is reusing an email address less dangerous than reusing a password?

    Model answer

    An email address is generally an account identifier and may be public, while a reused password can let an attacker authenticate to multiple services.

    Explanation

    The critical credential that should remain unique across services is the password.

  60. 60

    What is social engineering?

    Model answer

    Social engineering manipulates people into revealing information or performing actions by exploiting trust, authority, or social circumstances.

    Explanation

    It is primarily an attack on human behavior rather than a direct technical attack.

  61. 61

    Why should people respond skeptically to unexpected requests for passwords or personal information?

    Model answer

    The request may be an attempt to exploit trust and obtain information that can be used to access an account.

    Explanation

    People should consider why the information is needed and verify the request before responding.

  62. 62

    What is phishing?

    Model answer

    Phishing is a form of social engineering that uses deceptive messages or websites to trick people into revealing information or taking an unsafe action.

    Explanation

    Phishing commonly uses convincing emails that impersonate banks, technology companies, schools, or public figures.

  63. 63

    Why do phishing messages often imitate familiar companies or institutions?

    Model answer

    They exploit the recipient's trust in recognizable organizations and familiarity with their interfaces.

    Explanation

    A convincing imitation can make a victim more likely to click a link or enter credentials.

  64. 64

    How can a social media post asking for a favorite childhood song function as phishing?

    Model answer

    The post may collect answers that people use for account security questions, allowing others to learn those supposedly secret answers.

    Explanation

    Information that appears harmless can provide authentication details when users reuse it elsewhere.

  65. 65

    What should a user inspect before entering credentials on a login page reached through a link?

    Model answer

    The user should inspect the browser's URL and confirm that the domain is the legitimate service domain.

    Explanation

    A fraudulent page can look identical to a real login page while using a different domain.

  66. 66

    How can hovering over a link help detect phishing?

    Model answer

    Hovering can reveal the destination URL, which may differ from the text displayed on the page.

    Explanation

    A link that appears to lead to a trusted service may actually direct the user to an attacker-controlled site.

  67. 67

    What is a safer alternative to clicking a sensitive link in an email?

    Model answer

    Open a new browser tab and manually enter the trusted service's known web address.

    Explanation

    This avoids relying on a potentially deceptive link supplied by the message.

  68. 68

    How can a sophisticated phishing attack defeat a one-time code?

    Model answer

    A fake login page can collect the username, password, and one-time code, then immediately submit them to the real service.

    Explanation

    This attack relays the victim's authentication data before the code expires or is used elsewhere.

  69. 69

    What is a machine-in-the-middle attack?

    Model answer

    It is an attack in which an intermediary machine between a user and a service observes, stores, or interferes with their communications.

    Explanation

    Internet traffic may pass through routers, provider systems, university networks, or other machines before reaching its destination.

  70. 70

    Why may communication with a website involve more machines than the user realizes?

    Model answer

    Internet traffic commonly passes through intermediary routers and servers operated by providers, universities, homes, or other organizations.

    Explanation

    The apparent connection between a user and a website may actually traverse many systems.

  71. 71

    What general defense is used to mitigate machine-in-the-middle attacks?

    Model answer

    Cryptography and encryption help protect communications from being read or altered by intermediary machines.

    Explanation

    Encryption is a core mechanism for securing data as it travels across networks.

  72. 72

    What is single sign-on (SSO)?

    Model answer

    Single sign-on allows a user to register for or access one service using an account already established with another service.

    Explanation

    Examples include choosing to log in with an existing Google or Facebook account.

  73. 73

    How can single sign-on improve usability?

    Model answer

    It reduces the need to create another account, remember another password, and complete another registration process.

    Explanation

    Users can rely on an existing account that they already know how to access.

  74. 74

    How can single sign-on improve security?

    Model answer

    It allows a new service to benefit from the user's stronger security practices, such as a well-protected primary account and multifactor authentication.

    Explanation

    Fewer separately managed passwords can reduce weak-password and password-reuse problems.

  75. 75

    What happens to a user's password when they select a legitimate Log in with Google or similar SSO option?

    Model answer

    The user enters the password on the identity provider's site, and the third-party service receives confirmation of successful authentication rather than the password itself.

    Explanation

    The browser is redirected to the provider, such as Google or Facebook, for the login step.

  76. 76

    What is a password manager?

    Model answer

    A password manager is software that stores, generates, and often automatically enters passwords for the user's accounts.

    Explanation

    It enables users to maintain unique passwords without memorizing every one.

  77. 77

    How does a password manager help defend against credential stuffing?

    Model answer

    It makes it practical to generate and store a unique password for every website and application.

    Explanation

    Unique stored passwords prevent a breach at one service from being reused elsewhere.

  78. 78

    How does a password manager help users create stronger passwords?

    Model answer

    It can automatically generate passwords of a chosen length and character complexity, including letters, numbers, and symbols.

    Explanation

    The user does not need to invent or memorize each generated password.

  79. 79

    How can password managers help defend against phishing?

    Model answer

    They can associate credentials with the legitimate URL and refuse to autofill them on a look-alike site with a different URL.

    Explanation

    This prevents automatic entry of credentials into many fraudulent login pages.

  80. 80

    What is the main password-manager security trade-off?

    Model answer

    A password manager protects many credentials in one place, but the primary password becomes a critical target and single point of failure.

    Explanation

    If an adversary obtains the primary password, they may gain access to the stored accounts.

  81. 81

    What qualities should the primary password for a password manager have?

    Model answer

    It should be especially long, difficult to guess, and sufficiently complex because it protects all stored credentials.

    Explanation

    Although it may be inconvenient to enter, it is the one password the user must protect most carefully.

  82. 82

    How do password managers differ from ordinary browser password storage?

    Model answer

    Password managers typically provide stronger cross-device synchronization, password generation, sharing features, and URL-aware autofill than basic browser storage.

    Explanation

    Browser storage may be limited to one browser or device and may not offer the same management capabilities.

  83. 83

    Give examples of password-management systems built into major platforms.

    Model answer

    Examples include Apple's iCloud Keychain, Google's password manager, and Microsoft's credential manager.

    Explanation

    These tools can securely store credentials and synchronize them across a user's devices.

  84. 84

    When might using a password manager be a net negative?

    Model answer

    It may be a net negative for someone who already uses strong, unique, securely stored passwords and would be exposed to the risk of putting them all behind one primary credential.

    Explanation

    The benefit depends on the user's existing practices and the risks of the available alternatives.

  85. 85

    What is a practical strategy for improving account security when changing every password at once is unrealistic?

    Model answer

    Start with the most important accounts and gradually migrate additional accounts to unique passwords, a password manager, and stronger authentication.

    Explanation

    Incremental improvement is more usable and realistic than attempting to change hundreds or thousands of accounts immediately.

  86. 86

    Why should antivirus and other malware defenses still be used when a password manager is available?

    Model answer

    Malware can perform harms beyond stealing passwords, including encrypting, deleting, or misusing data and sending spam.

    Explanation

    A password manager addresses credential management but does not replace general device security.

  87. 87

    Why is voice recognition a risky authentication method in the era of deepfakes?

    Model answer

    Adversaries may use recorded samples and voice-generation technology to imitate a person's voice and pass a voice-based security check.

    Explanation

    If a safer alternative such as an authenticator application is available, voice authentication should generally be disabled.

  88. 88

    What are deepfakes, and why do they matter for account security?

    Model answer

    Deepfakes are generated or manipulated audio or video that can imitate real people, potentially allowing adversaries to impersonate users during authentication or social engineering.

    Explanation

    Publicly available recordings can provide material for creating convincing imitations.

  89. 89

    What is a passkey?

    Model answer

    A passkey is a device-managed authentication credential consisting of mathematically related private and public values.

    Explanation

    The user's phone, computer, or other device generates and uses the credential without requiring the user to memorize it.

  90. 90

    How are passkeys used during later logins?

    Model answer

    The user's device uses the stored private and public values to authenticate automatically to the website or application.

    Explanation

    The user generally verifies access through the device rather than typing a conventional password.

  91. 91

    Why are passkeys easier for users to manage than conventional passwords?

    Model answer

    The device generates and stores them, so users do not need to invent, remember, or repeatedly type the credential.

    Explanation

    Passkeys reduce the usability problems associated with managing many complex passwords.

  92. 92

    How can passkeys support authentication across multiple devices?

    Model answer

    The passkey values can be synchronized as needed across devices such as a phone, computer, and tablet.

    Explanation

    Synchronization allows the user to authenticate from more than one approved device.

  93. 93

    Why are passkeys connected to public-key cryptography?

    Model answer

    They use a mathematically related private value and public value, requiring cryptographic methods to authenticate without sharing the private value with the service.

    Explanation

    Understanding the full operation of passkeys requires concepts from cryptography and encryption.

1 of 93
Question 1 of 93

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent