Securing infrastructure and data protection

17 free practice questions for the CompTIA® Security+® (SY0-801) exam, from the architecture domain. Pick an answer, then open the explanation to check it.

Every question is original and written for Gapwise with AI. Two separate AI reviewers answered each one without seeing the answer key and checked it against the cited public sources. These are not real exam questions.

Question 1

A retailer runs fraud analytics on customer records in a public cloud. The records are encrypted on disk and sent over Transport Layer Security (TLS), but the analytics job must work on plaintext values while it runs. The security team worries that a compromised hypervisor could read the job's memory. Which control BEST addresses this concern?
  1. A. Run the job inside a hardware-based trusted execution environment (TEE)
  2. B. Turn on full disk encryption for the cloud volumes that store the records
  3. C. Require mutual TLS between the analytics job and the database it reads
  4. D. Apply dynamic masking to the records displayed in analyst dashboards
Show the answer and explanation

Answer: A. Run the job inside a hardware-based trusted execution environment (TEE)

Data in use is information being processed in memory or by the central processing unit (CPU), and it must usually be in plaintext at that point. Confidential computing protects this state with hardware-enabled features that isolate and process data in memory, shielding it from concurrent workloads and the underlying platform. Disk encryption covers data at rest and TLS covers data in transit, and this scenario already has both. Memory hook: at rest, encrypt the disk; in transit, encrypt the channel; in use, isolate the processing.

Why each option is right or wrong

  • A. Correct. This is confidential computing. A TEE is an enclave protected by the processor, so data in use stays isolated even from the hypervisor and other workloads on the host.
  • B. Incorrect. Wrong. Disk encryption protects data at rest, and the records are already encrypted on disk. Once the job loads plaintext values into memory, disk encryption offers no protection from the hypervisor.
  • C. Incorrect. Wrong. Mutual TLS authenticates both ends and protects data in transit between them. The concern is plaintext in memory after the records arrive, where TLS no longer applies.
  • D. Incorrect. Wrong. Masking hides values from people reading reports. The analytics job still handles full plaintext records in memory, so the hypervisor risk remains.

References

  • CSRC GlossaryGlossary term "Confidential Computing" (NISTIR 8320 definition)
  • CSRC GlossaryGlossary term "Trusted Execution Environment" (NISTIR 8320 definition)

Question 2 Multiple answers

A human resources (HR) team in the European Union (EU) reviews the employee data it holds. Under Article 9 of the General Data Protection Regulation (GDPR), which three items are special categories of personal data? (Select three.)
  1. A. Trade union membership recorded for dues deductions
  2. B. Salary and bonus history kept for payroll
  3. C. Fingerprint templates used to identify staff at entry doors
  4. D. Home address used for mailing tax forms
  5. E. Work email address listed in the staff directory
  6. F. Sick-leave records that state a diagnosis
Show the answer and explanation

Answers: A. Trade union membership recorded for dues deductions; C. Fingerprint templates used to identify staff at entry doors; F. Sick-leave records that state a diagnosis

GDPR treats some personal data as particularly sensitive and, in Article 9, prohibits processing it unless a specific exception applies. The special categories are racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, genetic data, biometric data used to uniquely identify a person, health data, and data about sex life or sexual orientation. Pay, addresses, and work email are personal data that still need protection, but they aren't on that list. Many organizations label special-category data as sensitive and give it their strictest handling.

Why each option is right or wrong

  • A. Correct. Article 9(1) lists trade union membership as a special category of personal data.
  • B. Incorrect. Wrong. Pay data is personal data that deserves strong protection, but Article 9 doesn't list it as a special category.
  • C. Correct. Biometric data processed to uniquely identify a person is a special category, and that is exactly how the door system uses the fingerprint templates.
  • D. Incorrect. Wrong. A home address is ordinary personal data under GDPR. It needs protection, but it isn't a special category.
  • E. Incorrect. Wrong. A work email address is personal data, but it isn't one of the special categories in Article 9.
  • F. Correct. A stated diagnosis is data concerning health, which Article 9(1) lists as a special category.

References

Question 3

A retail company will link a branch local area network (LAN) to headquarters with an Internet Protocol Security (IPsec) virtual private network (VPN) between two gateways. The branch gateway sits behind its internet service provider's network address translation (NAT). Traffic must be encrypted, and observers must not learn which internal hosts, protocols or ports are communicating. Which IPsec configuration meets these requirements?
  1. A. Authentication Header (AH) in transport mode
  2. B. Encapsulating Security Payload (ESP) in transport mode
  3. C. Encapsulating Security Payload (ESP) in tunnel mode
  4. D. Authentication Header (AH) in tunnel mode
Show the answer and explanation

Answer: C. Encapsulating Security Payload (ESP) in tunnel mode

Only ESP encrypts, and only tunnel mode encrypts the original IP header together with its payload. The new outer header names just the two gateways, so observers can't see internal addresses, protocols or ports. SP 800-77r1 adds that tunnel mode is required when IPsec must cross NAT, while transport mode is incompatible with NAT. AH protects integrity only, so neither AH option meets the confidentiality requirement.

Why each option is right or wrong

  • A. Incorrect. AH provides integrity only and no confidentiality, so the traffic stays readable. Transport mode also keeps the original IP header, which leaves the internal addresses visible.
  • B. Incorrect. ESP encrypts the payload, but transport mode reuses the original IP header, so internal addresses stay visible. SP 800-77r1 also notes that transport mode is incompatible with NAT.
  • C. Correct. Tunnel mode encrypts the entire original packet, header included, and adds a new header that names only the gateways. SP 800-77r1 says this conceals source, destination, protocol and ports, and that tunnel mode is required to traverse NAT.
  • D. Incorrect. Tunnel mode wraps the original packet, but AH offers only integrity algorithms and no confidentiality. The inner addresses, ports and data would cross the internet unencrypted.

References

Question 4

An employee moves from accounts payable to marketing. Two months later, the twice-yearly access review finds the employee can still approve vendor payments. The company's account process disables access when people leave but does nothing when they change roles. Which change would have removed the payment access at the time of the move?
  1. A. Trigger account changes from transfer events as well as departures
  2. B. Run the access review every quarter instead of twice a year
  3. C. Require multifactor authentication for every sign-in to the payment application
  4. D. Expire the employee's password when the transfer is recorded
Show the answer and explanation

Answer: A. Trigger account changes from transfer events as well as departures

User management has to follow people through role changes, not just departures. SP 800-53 AC-2 asks organizations to notify account managers when users are transferred and to align account management with transfer processes. Without that link, access piles up as people move, which is how privilege creep happens. Access reviews are a backstop that catches leftover access later; they don't remove it at the move.

Why each option is right or wrong

  • A. Correct. SP 800-53 AC-2 asks organizations to notify account managers when users are transferred and to align account management with transfer processes. Linking the two removes old access when the move happens.
  • B. Incorrect. More frequent reviews shorten how long leftover access lasts, but they still find it after the fact rather than at the move.
  • C. Incorrect. Multifactor authentication confirms identity. The employee is still authorized for payments, so it doesn't remove the access.
  • D. Incorrect. A new password changes the authenticator, not the privileges attached to the account.

Reference

Question 5

At an engineering firm, the director of product design has final authority over the firm's design files. She decides how the files are classified and which teams may open them. The information technology (IT) department runs the servers that store the files. Which data protection role does the director hold?
  1. A. Data steward
  2. B. Data custodian
  3. C. Data owner
  4. D. Data controller
Show the answer and explanation

Answer: C. Data owner

The data owner is the senior person accountable for a set of information. NIST's glossary describes the information owner as having statutory or operational authority over the information and responsibility for establishing its controls, including classification. Custodians, here the IT department, carry out the owner's decisions day to day. Memory hook: the owner decides, the custodian keeps.

Why each option is right or wrong

  • A. Incorrect. Wrong. A data steward maintains data definitions and quality and helps enforce data policy. Final authority to decide classification and access goes beyond stewardship.
  • B. Incorrect. Wrong. The IT department is closer to the custodian role: it stores and safeguards the files and carries out the director's decisions. The director is the one making those decisions.
  • C. Correct. The data owner is the person with authority over specific information who decides how it is classified and who may access it.
  • D. Incorrect. Wrong. Controller is a privacy-law role for the person or organization that determines why and how personal data is processed. Design files aren't personal data, and a manager who decides classification and access is acting as the owner.

References

Question 6

A water utility labels data, from lowest to highest, as Public, Internal, Confidential, or Restricted. Restricted is for data whose disclosure could cause severe harm to the utility or the public. Each pumping station's network diagram, firewall rules, and remote access settings are labeled Confidential on their own. An engineer combines all of them, for every station, into one workbook. How should the workbook be labeled?
  1. A. Confidential, because a copy keeps the label of the files it came from
  2. B. Restricted, because the compiled set is more damaging than any part alone
  3. C. Internal, because only the engineering staff will ever use the workbook
  4. D. Confidential for now, then reconsidered at the next annual label review
Show the answer and explanation

Answer: B. Restricted, because the compiled set is more damaging than any part alone

Aggregation raises sensitivity: items that are Confidential one by one can, once compiled, reveal enough to cause severe harm. RFC 4949 describes aggregation as a collection that must be classified higher than any of its items individually. A classification label tells the degree of harm from disclosure, so the workbook takes the utility's top label, Restricted. Memory hook: the whole can be more sensitive than its parts.

Why each option is right or wrong

  • A. Incorrect. Wrong. Labels don't simply carry over when items are combined. The workbook reveals far more than any single source file, so its sensitivity has to be judged as a whole.
  • B. Correct. This is aggregation: a collection can require a higher level than any of its items individually. One map of every station's network, rules, and remote access could guide an attack, which fits the top label.
  • C. Incorrect. Wrong. A label reflects the harm that disclosure would cause, not who plans to use the data. Limiting the audience is a handling rule that follows from the label.
  • D. Incorrect. Wrong. The workbook is more sensitive the moment it is created, so it needs the higher label now. Waiting for a scheduled review leaves it under-protected in the meantime.

Reference

Question 7 Multiple answers

A manufacturer's data transfer gateway applies policy filters to files and records sent from its engineering network to a supplier portal. Which two filters check data content rather than data structure? (Select two.)
  1. A. Block any file that mentions the code name of an unreleased product
  2. B. Reject any file larger than 25 megabytes
  3. C. Allow only image and plain-text file types to pass
  4. D. Reject records whose unit price falls outside the range 0 to 10,000
  5. E. Reject records whose part-number field is longer than 20 characters
Show the answer and explanation

Answers: A. Block any file that mentions the code name of an unreleased product; D. Reject records whose unit price falls outside the range 0 to 10,000

Filtering blocks or permits data items according to a security policy, and a filter can examine either structure or content. NIST SP 800-53 AC-4(8) gives examples: structure filters check maximum file lengths, maximum field sizes, and data or file types. Content filters check for specific words, enumerated values or data value ranges, and hidden content. A price range check reads the values themselves, so it is a content filter even though it looks like simple validation.

Why each option is right or wrong

  • A. Correct. Searching for specific words is a content filter. It looks at what the data says, not at its format or size.
  • B. Incorrect. Wrong. A maximum file length is a structure check. It limits size without looking at what the file says.
  • C. Incorrect. Wrong. Restricting data or file types is a structure check, even though it narrows what kinds of content can get through.
  • D. Correct. Checking that values fall within an allowed range is a content filter, because it evaluates the data values themselves.
  • E. Incorrect. Wrong. A maximum field size is a structure check. It tests the field's length, not the meaning of the value in it.

References

Question 8

A distribution center reaches the internet through the company's edge firewall. A robotics vendor installed a cellular router on the warehouse network so it can support its robots remotely. This gives the warehouse network a second path to the internet. Which action BEST addresses the risk?
  1. A. Add an intrusion detection sensor on the main internet link beside the edge firewall
  2. B. Change the cellular router's default administrator password and update its firmware
  3. C. Filter the cellular link with a firewall that enforces the edge policy
  4. D. Tighten the edge firewall's inbound rules for the warehouse network's subnet
Show the answer and explanation

Answer: C. Filter the cellular link with a firewall that enforces the edge policy

Every path into a network needs the same enforcement. SP 800-41 notes that networks meant to have one ingress often gain ad hoc ones, and malicious traffic can enter through them unless each has a properly configured firewall. Each such path also adds to the attack surface. Changes at the main edge do nothing for traffic that never reaches it.

Why each option is right or wrong

  • A. Incorrect. Traffic over the cellular link never crosses the main internet link. A sensor there wouldn't see it.
  • B. Incorrect. Hardening protects the router itself. It would still pass traffic between the internet and the warehouse network without the company's filtering.
  • C. Correct. SP 800-41 warns that without a properly configured firewall at each entry point, traffic the main ingress would block can enter by other means. Filtering the new path with the same policy closes the gap.
  • D. Incorrect. The edge firewall governs only traffic that passes through it. Traffic through the cellular router bypasses it entirely.

References

Question 9

A development lead is reviewing the methods used to secure data with a new team. Which statement BEST describes obfuscation?
  1. A. It hides or transforms information so that an attacker struggles to find or understand it
  2. B. It inspects a flow of data and blocks the items that a security policy doesn't permit
  3. C. It ensures that no one, not even the data's owner, can ever recover the original value
  4. D. It removes the link between records and the specific people they describe
Show the answer and explanation

Answer: A. It hides or transforms information so that an attacker struggles to find or understand it

Obfuscation hides, transforms, or obscures information so that an adversary has a harder time finding or understanding it. NIST's examples include encryption, steganographic encoding, and masking or replacing identifiers, so it is an umbrella goal rather than one algorithm. It raises attacker effort, but it shouldn't be the only control on valuable data.

Why each option is right or wrong

  • A. Correct. NIST SP 800-160 Vol. 2 Rev. 1 defines obfuscation as hiding, transforming, or otherwise obscuring the contents, properties, or presence of information. Its aim is to make information difficult for the adversary to find and understand.
  • B. Incorrect. Wrong. That describes filtering, which selectively blocks or permits data items according to a security policy. Obfuscation doesn't block anything; it makes information harder to find or understand.
  • C. Incorrect. Wrong. Obfuscation raises the effort needed to find or understand information, but it promises no irreversibility. Encryption, which NIST calls a key method for obfuscation, is reversible by design for anyone holding the key.
  • D. Incorrect. Wrong. That describes deidentification, which removes or transforms identifiers to break the association between data and individuals. Obfuscation is broader: it obscures any information or asset from an adversary.

References

Question 10

A retailer's loyalty program export drops customers' names and email addresses. It keeps each customer's full date of birth, five-digit ZIP code, and gender. A manager says the export now holds no personally identifiable information (PII). Under the U.S. government definition of PII that NIST uses, is the manager right?
  1. A. Yes, because PII requires a direct identifier such as a name or account number
  2. B. Yes, because each of those values is shared by many other people
  3. C. No, because anything a retailer collects about its customers is PII
  4. D. No, because the values can identify customers when combined with other information
Show the answer and explanation

Answer: D. No, because the values can identify customers when combined with other information

PII isn't limited to names and account numbers. Under the U.S. definition that NIST uses, information is PII if it can distinguish or trace an identity alone or when combined with other linked or linkable information. Removing direct identifiers while keeping quasi-identifiers often leaves data identifiable.

Why each option is right or wrong

  • A. Incorrect. Wrong. The definition covers information that can distinguish or trace an identity alone or when combined with other linked or linkable information. A name isn't required.
  • B. Incorrect. Wrong. Each value alone is common, but together they narrow the group sharply. NIST calls such fields quasi-identifiers because they can identify a person through association with other variables.
  • C. Incorrect. Wrong. Not everything a company collects is PII; for example, sales totals that can't be traced to anyone aren't. The export is PII because of what these specific fields can do in combination.
  • D. Correct. Birth date, ZIP code, and gender are quasi-identifiers. Combined with other linkable records, they can single out individual customers, which fits the definition of PII.

References

  • CSRC GlossaryGlossary term "personally identifiable information" (NIST SP 800-53 Rev. 5 and SP 800-188 definition, from OMB Circular A-130)
  • CSRC GlossaryGlossary term "quasi-identifier" (NIST SP 800-188 definition)
  • CSRC GlossaryGlossary term "linkable information" (NIST SP 800-122 definition)

Question 11

An insurer's policy allows members' Social Security numbers only in its claims database. Over the years, staff have pasted the numbers into spreadsheets, wiki pages, and old email archives. The insurer must learn every place the numbers now reside so that it can apply controls. Which approach BEST meets this need?
  1. A. Ask each department head to list the files that hold the numbers
  2. B. Block outgoing email that contains the numbers at the mail gateway
  3. C. Label the claims database Restricted and review who can access it
  4. D. Run automated tools that search systems for that type of data
Show the answer and explanation

Answer: D. Run automated tools that search systems for that type of data

Managing data means knowing where it is, and data spreads beyond its approved home over time. NIST SP 800-53 control CM-12 calls for identifying and documenting where information is processed and stored. Its enhancement CM-12(1) adds automated tools that find information by type on system components. The findings then drive protection or removal; gateway filters and labels help, but they don't locate existing copies.

Why each option is right or wrong

  • A. Incorrect. Wrong. Managers rarely know every copy their staff made, especially in old archives. A manual survey would miss locations and wouldn't scale.
  • B. Incorrect. Wrong. Gateway filtering stops some new copies from leaving the company. It doesn't find the copies already stored inside it.
  • C. Incorrect. Wrong. This protects the approved location. The problem is the copies that ended up everywhere else.
  • D. Correct. Automated discovery tools can scan system components for a given information type. Their results show where the data sits and where controls are missing.

Reference

Question 12 Multiple answers

A U.S. federal agency sometimes discloses records about individuals to other organizations. For each disclosure, it keeps an accounting with the date, purpose, and recipient. Which two purposes does this accounting serve? (Select two.)
  1. A. Lets individuals find out which organizations received their information
  2. B. Shows which of the agency's own employees opened each record
  3. C. Proves that each recipient deleted the records when it was finished
  4. D. Gives a basis for telling recipients about later corrections or disputes
  5. E. Replaces the need for written agreements with the recipients
Show the answer and explanation

Answers: A. Lets individuals find out which organizations received their information; D. Gives a basis for telling recipients about later corrections or disputes

Distribution is the stage where data leaves its holder's direct control, so tracking it matters. NIST SP 800-53 control PM-21 calls for an accurate accounting of disclosures of personally identifiable information (PII), with the date, nature, purpose, and recipient of each. It lets individuals learn who received their data, supports advising recipients of corrections, and provides an audit trail. For federal agencies, the Privacy Act requires it.

Why each option is right or wrong

  • A. Correct. A main purpose of the accounting is to let individuals learn to whom their information was disclosed. The agency must make it available to the individual on request.
  • B. Incorrect. Wrong. Tracking internal access is the job of audit logging. An accounting of disclosures records releases to outside recipients.
  • C. Incorrect. Wrong. The accounting records what was disclosed, when, why, and to whom. It says nothing about what recipients later did with the records.
  • D. Correct. Because the agency knows who received each record, it can advise those recipients if the record is later corrected or disputed.
  • E. Incorrect. Wrong. The accounting documents disclosures after they happen. Terms for how a recipient must protect the data are set before sharing, not by a record kept afterward.

References

Question 13

Engineers at an aerospace supplier decide on their own when to send technical files to subcontractors. Some files may go only to partners approved for that category of information, and approvals differ from one subcontractor to the next. Which control BEST supports the engineers' sharing decisions?
  1. A. Encrypt every file sent to a subcontractor with a strong cipher
  2. B. Log every outbound file transfer and review the log each month
  3. C. Let engineers check a partner's access rights against each file's limits
  4. D. Have every subcontractor sign the same nondisclosure agreement
Show the answer and explanation

Answer: C. Let engineers check a partner's access rights against each file's limits

Distributing data safely means sending it only to recipients who may have it. NIST SP 800-53 control AC-21 calls for enabling authorized users to determine whether a sharing partner's access authorizations match the information's access and use restrictions. Automated mechanisms or manual processes can assist those decisions. Encryption and logging protect or record a transfer, but neither decides whether the transfer should happen.

Why each option is right or wrong

  • A. Incorrect. Wrong. Encryption protects the file on its way. If it goes to a partner that isn't approved for that category, the partner can still decrypt and read it.
  • B. Incorrect. Wrong. A monthly review finds mistakes after the files are gone. It doesn't help engineers decide correctly before they share.
  • C. Correct. When users decide what to share, they need a way to tell whether a sharing partner's access authorizations match the information's access and use restrictions. Automated or manual aids can support that check.
  • D. Incorrect. Wrong. One standard nondisclosure agreement (NDA) treats every partner the same. It doesn't show which partners are approved for which categories of files.

Reference

Question 14

A restaurant chain's office PCs handle only staff scheduling and never store, process, or transmit card data. They sit on the same flat network as the point-of-sale (POS) servers that process card payments. An assessor rules that the office PCs are part of the cardholder data environment (CDE). Which change would BEST take them out of the CDE?
  1. A. Isolate the POS servers on their own network segment, apart from the office PCs
  2. B. Encrypt the office PCs' hard drives with full-disk encryption
  3. C. Add a network intrusion detection system (IDS) sensor to the shared network
  4. D. Forbid staff from typing card numbers on the office PCs
Show the answer and explanation

Answer: A. Isolate the POS servers on their own network segment, apart from the office PCs

Under the Payment Card Industry Data Security Standard (PCI DSS), the CDE includes the systems that store, process, or transmit cardholder data. It also includes systems that don't touch card data but have unrestricted connectivity to systems that do. Segmentation isolates card-handling systems from the rest, which shrinks the CDE. PCI DSS applies to entities that store, process, or transmit card data or could affect the CDE's security.

Why each option is right or wrong

  • A. Correct. The PCs fall into the CDE only because they have unrestricted connectivity to systems that process card data. Segmentation isolates the card-handling systems from the systems that don't handle card data.
  • B. Incorrect. Wrong. The PCs hold no card data, so disk encryption doesn't touch the reason they're in the CDE. Their network connectivity to the POS servers stays the same.
  • C. Incorrect. Wrong. An IDS watches traffic but doesn't restrict it. The office PCs keep unrestricted connectivity to the POS servers, so they stay in the CDE.
  • D. Incorrect. Wrong. The PCs already don't handle card data. A usage rule doesn't change the network path that links them to the POS servers.

References

Question 15 Multiple answers

A U.S. company runs a commercial reading app directed to children under 13. It already gives parents notice and gets verifiable parental consent before it collects any child's data. Under the amended Children's Online Privacy Protection Act (COPPA) Rule, which two further obligations apply? (Select two.)
  1. A. Store children's data only on servers located in the United States
  2. B. Designate staff to coordinate a written information security program
  3. C. Register the app with the Federal Trade Commission (FTC) before launch
  4. D. Delete a child's data once it's no longer reasonably needed for its purpose
  5. E. Appoint a data protection officer as the contact for a supervisory authority
Show the answer and explanation

Answers: B. Designate staff to coordinate a written information security program; D. Delete a child's data once it's no longer reasonably needed for its purpose

The COPPA Rule, as amended in 2025, sets security and retention duties alongside notice and verifiable parental consent. Operators must keep a written information security program, with designated staff, regular risk assessments, and safeguards matched to the data's sensitivity. They must also keep children's data only as long as reasonably necessary, never indefinitely, under a written retention policy. The rule applies to operators of commercial services directed to children under 13 or with actual knowledge of collecting from them.

Why each option is right or wrong

  • A. Incorrect. Wrong. The rule requires reasonable safeguards, not storage in a particular country. Data localization isn't one of its obligations.
  • B. Correct. The amended rule requires a written information security program, with one or more employees designated to coordinate it.
  • C. Incorrect. Wrong. The rule has no registration step for apps. The FTC enforces the rule, and only industry groups seeking approval for safe harbor programs apply to it.
  • D. Correct. Operators may keep children's personal information only as long as reasonably necessary for the purpose it was collected for. After that they must delete it, and they may not keep it indefinitely.
  • E. Incorrect. Wrong. The COPPA Rule creates no data protection officer role. That role comes from the European Union's General Data Protection Regulation (GDPR), not from this U.S. rule.

References

Question 16

Three banks want to know the combined amount they have lent to a shared list of borrowers. Each bank's loan figures are confidential. No bank, and no outside server, may learn another bank's figures. Which technique lets them compute the total?
  1. A. Each bank sends its figures over TLS to a neutral server that adds them
  2. B. One bank's homomorphic key encrypts all figures, and that bank computes the total
  3. C. Each bank masks its figures before pooling them in a shared spreadsheet
  4. D. Secure multi-party computation (MPC) across servers run by the three banks
Show the answer and explanation

Answer: D. Secure multi-party computation (MPC) across servers run by the three banks

MPC protects data in use when several parties each hold part of the input. The parties agree in advance on the computation, run it across their own servers, and learn only the output. Homomorphic encryption suits one data owner outsourcing a computation, because whoever holds the key can decrypt. Outputs can still reveal information, so sensitive results may need added privacy protection.

Why each option is right or wrong

  • A. Incorrect. Wrong. Transport Layer Security (TLS) protects the figures on the way, but the neutral server decrypts them and sees every bank's inputs. That breaks the requirement.
  • B. Incorrect. Wrong. With homomorphic encryption, only the key holder can decrypt. Here that's one of the banks, which could decrypt the other banks' encrypted inputs.
  • C. Incorrect. Wrong. Masking hides parts of values from view. Masked figures can't be added into a correct total, and unmasked ones would expose each bank's data.
  • D. Correct. MPC lets several servers jointly compute a function, each supplying one input, while no server learns the others' inputs. The banks learn only the agreed result.

References

Question 17

A company runs its payroll service on three Windows servers under one group Managed Service Account (gMSA). To avoid future setup work, an administrator made every computer in the domain a member host of the gMSA. An attacker later gains administrative control of a receptionist's workstation. What does this configuration let the attacker do?
  1. A. Obtain the gMSA's current password by requesting it from a domain controller
  2. B. Nothing more, because only domain controllers ever hold gMSA passwords
  3. C. Obtain only the gMSA's preceding password, which no longer works
  4. D. Use the gMSA only after Windows next changes its password
Show the answer and explanation

Answer: A. Obtain the gMSA's current password by requesting it from a domain controller

Windows manages a gMSA's password so administrators never handle it. Member hosts, though, can obtain the current and preceding password values from a domain controller, because that's how the service on each server signs in. Making every domain computer a member host turns any compromised workstation into a source of the payroll service's credentials. Limit member hosts to the servers that run the service, in line with least privilege.

Why each option is right or wrong

  • A. Correct. Microsoft's gMSA overview says member hosts can obtain the current and preceding password values by contacting a domain controller. Control of any member host therefore yields the payroll service's working credentials.
  • B. Incorrect. Domain controllers compute gMSA passwords, but they hand them to member hosts so the service can sign in on each server. Every member host is a place the password can be retrieved.
  • C. Incorrect. Member hosts receive the current password as well as the preceding one. The current value is the one the payroll service signs in with.
  • D. Incorrect. No wait is needed. A member host can retrieve the password value in use now, and it can retrieve each new value after Windows changes it.

References