Home »
Trending Technologies MCQs
Federated Learning MCQs (Multiple-Choice Questions)
Practice Federated Learning MCQs to test your knowledge of decentralized machine learning, client-server training, Federated Averaging, non-IID data, model aggregation, communication efficiency, privacy, secure aggregation, and federated optimization. These questions are useful for students, machine learning engineers, data scientists, AI developers, and professionals working with privacy-preserving distributed AI systems. The set includes both foundational and practical questions covering modern Federated Learning systems.
Federated Learning MCQs
These Federated Learning multiple-choice questions cover important concepts such as federated clients, servers, local training, Federated Averaging, client selection, local epochs, weighted aggregation, non-IID data, statistical heterogeneity, system heterogeneity, communication constraints, model-update compression, differential privacy, secure aggregation, poisoning attacks, backdoor attacks, personalization, cross-device learning, cross-silo learning, federated analytics, and federated evaluation. This set combines conceptual, technical, and scenario-based questions to help test your understanding of Federated Learning systems.
Federated Learning MCQs cover the technologies and methods used to train machine-learning models across decentralized datasets without requiring all raw training data to be centrally collected. Each question includes an answer and explanation.
List of Federated Learning MCQs
The following Federated Learning multiple-choice questions cover FedAvg, client participation, distributed optimization, privacy mechanisms, communication efficiency, heterogeneous data, security threats, personalization, and practical deployment scenarios.
1. What is the primary objective of Federated Learning?
- Move all training data to a central server
- Train a shared machine-learning model while keeping training data distributed across clients
- Eliminate the need for machine-learning models
- Store all client data in a public database
Answer: B) Train a shared machine-learning model while keeping training data distributed across clients
Explanation:
Federated Learning enables multiple clients to collaboratively train a shared model while keeping their local training data at the participating devices or organizations.
2. In a typical centralized Federated Learning architecture, where is the training data located?
- Only on the central server
- Across participating clients
- Only in a public cloud database
- Only inside the model parameters
Answer: B) Across participating clients
Explanation:
The defining characteristic of Federated Learning is that training data remains distributed across clients instead of being consolidated into a central training repository.
3. What is the role of the central server in a common Federated Learning architecture?
- Collect and store every client's raw training data
- Coordinate training rounds and aggregate client model updates
- Generate all client training examples
- Replace every client optimizer
Answer: B) Coordinate training rounds and aggregate client model updates
Explanation:
The server commonly distributes the current global model, coordinates client participation, receives client updates, and produces an updated global model through aggregation.
4. What is Federated Averaging (FedAvg)?
- An algorithm that aggregates locally trained model updates to produce a new global model
- A method for encrypting model parameters
- A database replication protocol
- A neural-network activation function
Answer: A) An algorithm that aggregates locally trained model updates to produce a new global model
Explanation:
FedAvg is a foundational Federated Learning algorithm in which selected clients perform local training and the server aggregates their resulting model updates, commonly using a data-weighted average.
5. Which sequence best represents a typical FedAvg training round?
- Server selects clients, sends the model, clients train locally, updates are aggregated, and the global model is updated
- Clients upload raw data, server trains, and clients delete their models
- Server permanently trains a separate model for each client
- Clients exchange their raw datasets directly
Answer: A) Server selects clients, sends the model, clients train locally, updates are aggregated, and the global model is updated
Explanation:
A typical round starts with client selection and model distribution, followed by local computation and client-to-server update transmission. The server then aggregates the updates into the next global model.
6. What does a client typically receive at the beginning of a federated training round?
- The current global model parameters
- Every other client's raw dataset
- The server's private training data
- The complete history of every client's examples
Answer: A) The current global model parameters
Explanation:
In standard centralized FL, the server sends the current global model or relevant model parameters to selected clients so they can perform local training.
7. What does a client normally do with the global model before sending an update?
- Train or fine-tune it using its local data
- Publish it publicly
- Delete all model parameters
- Replace it with raw training records
Answer: A) Train or fine-tune it using its local data
Explanation:
The client uses its locally stored data to perform one or more local optimization steps on the received global model before sending an update or resulting model information to the server.
8. Why is communication efficiency particularly important in Federated Learning?
- Clients may have limited bandwidth, intermittent connectivity, or expensive communication
- Federated models never require communication
- All clients always operate inside the same data center
- Communication has no effect on training time
Answer: A) Clients may have limited bandwidth, intermittent connectivity, or expensive communication
Explanation:
Many FL deployments involve mobile or edge devices with constrained networks. Reducing communication rounds and update sizes can therefore have a major impact on system performance.
9. What is a federated training round?
- A coordinated cycle in which selected clients receive a model, perform local computation, and contribute updates
- A single prediction made by one client
- A database backup operation
- A hardware reboot
Answer: A) A coordinated cycle in which selected clients receive a model, perform local computation, and contribute updates
Explanation:
A training round represents one coordinated iteration of federated computation involving a selected group of clients and the server.
10. Why are only a subset of clients commonly selected in a cross-device FL round?
- It is often impractical to coordinate the entire population of potentially available devices at once
- Only one client can ever participate in Federated Learning
- Clients are required to share their passwords
- All clients must be physically located together
Answer: A) It is often impractical to coordinate the entire population of potentially available devices at once
Explanation:
Cross-device FL may involve very large client populations. Sampling a manageable subset per round reduces coordination and communication requirements.
11. What does non-IID data mean in Federated Learning?
- Client datasets may have different statistical distributions
- All clients have identical datasets
- Clients have no training data
- Every client uses a different programming language
Answer: A) Client datasets may have different statistical distributions
Explanation:
Federated datasets are often non-IID, meaning the distribution of features, labels, sample counts, or other characteristics can vary substantially between clients.
12. Why can non-IID data make FedAvg more difficult to optimize?
- Local client updates may point in different optimization directions
- Clients cannot perform local training
- Model parameters become impossible to represent
- Communication automatically becomes free
Answer: A) Local client updates may point in different optimization directions
Explanation:
When clients have different data distributions, their local objectives can differ. Their updates may therefore be inconsistent or biased relative to the global objective.
13. What is statistical heterogeneity in Federated Learning?
- Variation in data distributions, quantities, or characteristics across clients
- Variation in CPU clock speeds only
- Variation in network cables only
- Variation in programming languages only
Answer: A) Variation in data distributions, quantities, or characteristics across clients
Explanation:
Statistical heterogeneity refers to differences in the data held by clients, including different label distributions, feature distributions, sample sizes, and other characteristics.
14. What is system heterogeneity in Federated Learning?
- Differences in client hardware, network connectivity, availability, storage, or computational resources
- Differences only in label distributions
- Differences in database schemas only
- Differences in encryption algorithms only
Answer: A) Differences in client hardware, network connectivity, availability, storage, or computational resources
Explanation:
System heterogeneity occurs because participating devices can differ significantly in their computational capabilities, battery state, network conditions, and availability.
15. What is client drift in federated optimization?
- The divergence of local model updates caused by clients optimizing against different local data distributions
- The physical movement of mobile devices
- The loss of network connectivity only
- The deletion of client datasets
Answer: A) The divergence of local model updates caused by clients optimizing against different local data distributions
Explanation:
With heterogeneous local objectives, clients can move their models in different directions during local training. This divergence is commonly referred to as client drift.
16. What is the effect of increasing the number of local epochs in FedAvg?
- It can reduce communication frequency but may increase local computation and client drift
- It always eliminates non-IID problems
- It guarantees higher global accuracy
- It removes the need for server aggregation
Answer: A) It can reduce communication frequency but may increase local computation and client drift
Explanation:
More local training can make each communication round perform more computation, potentially reducing the number of rounds required. However, excessive local training can worsen divergence between client updates on heterogeneous data.
17. In weighted FedAvg, why might clients contribute different weights to the global update?
- Clients may have different numbers of local training examples
- Clients use different operating systems
- Clients have different screen sizes
- Clients have different IP addresses
Answer: A) Clients may have different numbers of local training examples
Explanation:
A common weighted FedAvg formulation gives client updates weights proportional to the amount of local training data, so clients with more examples can have greater influence on the aggregated model.
18. What is a major advantage of keeping raw training data on clients?
- It reduces the need to centrally collect raw data
- It guarantees that no information can leak through model updates
- It eliminates all security risks
- It guarantees model fairness
Answer: A) It reduces the need to centrally collect raw data
Explanation:
Keeping data local can reduce centralized data exposure and support privacy objectives. However, model updates and system behavior can still create privacy and security risks.
19. Does Federated Learning by itself guarantee complete privacy?
- No, model updates can potentially leak information about local data
- Yes, because raw data never leaves the client
- Yes, because all FL models are encrypted
- No, because FL requires raw data to be uploaded
Answer: A) No, model updates can potentially leak information about local data
Explanation:
Keeping raw data local is not equivalent to a formal privacy guarantee. Updates can potentially expose information, so additional mechanisms such as secure aggregation or differential privacy may be required.
20. What is Secure Aggregation designed to protect in Federated Learning?
- Individual client updates from being directly inspected by the server during aggregation
- The physical location of every client
- The accuracy of the global model
- The model architecture from all clients
Answer: A) Individual client updates from being directly inspected by the server during aggregation
Explanation:
Secure aggregation allows a server to obtain an aggregate of client contributions without directly observing each individual contribution in unaggregated form.
21. What is the main purpose of differential privacy in Federated Learning?
- Limit the information that model training or released results reveal about individual data contributions
- Increase the number of clients automatically
- Replace the model optimizer
- Guarantee perfect model accuracy
Answer: A) Limit the information that model training or released results reveal about individual data contributions
Explanation:
Differential privacy provides a formal framework for bounding privacy loss. In federated training, clipping and noise can be applied to client contributions to provide user-level privacy guarantees under a defined accounting framework.
22. Why is client update clipping useful when applying user-level differential privacy?
- It bounds the maximum influence of an individual client's update before noise is added
- It guarantees that every client has identical data
- It removes the need for aggregation
- It increases the size of every update
Answer: A) It bounds the maximum influence of an individual client's update before noise is added
Explanation:
Clipping limits the norm of individual client updates. This bounds their sensitivity and allows calibrated noise to provide differential privacy.
23. What is a common trade-off when adding differential privacy noise to federated updates?
- Stronger privacy can reduce model utility or accuracy
- Privacy noise always increases accuracy
- Noise eliminates all communication
- Noise makes all client datasets IID
Answer: A) Stronger privacy can reduce model utility or accuracy
Explanation:
Adding noise protects privacy but can make the optimization process less precise. The resulting privacy-utility trade-off must be evaluated for the particular model and workload.
24. What is a poisoning attack in Federated Learning?
- An attack in which malicious clients manipulate training data or model updates to influence the global model
- An attack that only steals server hardware
- A method for compressing model updates
- A technique for increasing client participation
Answer: A) An attack in which malicious clients manipulate training data or model updates to influence the global model
Explanation:
Poisoning attacks attempt to compromise the learning process by manipulating local data or submitted updates, potentially degrading model performance or changing model behavior.
25. What is a backdoor attack in Federated Learning?
- An attack that attempts to make the model behave maliciously for selected trigger inputs while maintaining normal behavior on many other inputs
- An attack against physical server doors
- A communication compression method
- A privacy accounting technique
Answer: A) An attack that attempts to make the model behave maliciously for selected trigger inputs while maintaining normal behavior on many other inputs
Explanation:
Backdoor attacks introduce targeted malicious behavior into the model. The global model may continue performing normally on ordinary validation data, making detection more difficult.
26. Why can simple averaging be vulnerable to malicious client updates?
- A malicious client can submit an unusually manipulated update that influences the aggregate
- Averaging automatically detects every attack
- All clients are guaranteed to be honest
- Simple averaging encrypts every update
Answer: A) A malicious client can submit an unusually manipulated update that influences the aggregate
Explanation:
Basic averaging does not inherently distinguish honest updates from malicious ones. Robust aggregation methods can be used to reduce the influence of anomalous or adversarial contributions.
27. What is robust aggregation in Federated Learning intended to address?
- The influence of anomalous or potentially malicious client updates
- Only network latency
- Only dataset storage
- Only model serialization
Answer: A) The influence of anomalous or potentially malicious client updates
Explanation:
Robust aggregation methods attempt to reduce the impact of abnormal client contributions, helping defend the training process against certain poisoning and Byzantine-style behaviors.
28. What is cross-device Federated Learning?
- Federated Learning involving potentially very large numbers of consumer or edge devices
- Federated Learning limited to two data centers
- A centralized training method using one server
- A technique for database synchronization only
Answer: A) Federated Learning involving potentially very large numbers of consumer or edge devices
Explanation:
Cross-device FL commonly targets large populations of devices such as smartphones or IoT devices, where availability and network conditions can vary substantially.
29. What is cross-silo Federated Learning?
- Federated Learning involving a relatively small number of organizations or data silos
- Federated Learning involving billions of mobile devices only
- Centralized training on one dataset
- Model training without any communication
Answer: A) Federated Learning involving a relatively small number of organizations or data silos
Explanation:
Cross-silo FL is commonly used when organizations such as hospitals, banks, or enterprises collaboratively train models while keeping their institutional data within their own environments.
30. Which characteristic is particularly common in cross-device FL?
- Unreliable client availability and heterogeneous device resources
- All clients having identical hardware
- Unlimited network bandwidth
- Permanent participation of every client
Answer: A) Unreliable client availability and heterogeneous device resources
Explanation:
Mobile and edge devices can be offline, battery-constrained, bandwidth-limited, or computationally heterogeneous. FL systems therefore commonly select clients based on availability and system conditions.
31. What is client dropout?
- The failure of a participating client to complete or submit its expected computation
- The deletion of the global model
- The removal of the server optimizer
- The conversion of raw data to synthetic data
Answer: A) The failure of a participating client to complete or submit its expected computation
Explanation:
Clients may disconnect, run out of battery, lose network access, or otherwise fail to finish a round. Federated protocols need to tolerate such partial participation.
32. Why is partial client participation important in Federated Learning?
- Real-world clients may be unavailable, and coordinating every client can be impractical
- Every client must participate for every round
- It eliminates non-IID data
- It guarantees privacy
Answer: A) Real-world clients may be unavailable, and coordinating every client can be impractical
Explanation:
Federated systems are often designed around a subset of clients participating in each round. The global training algorithm must therefore work despite changing participant sets.
33. What is model-update compression used for in Federated Learning?
- Reducing the amount of information that must be transmitted between clients and the server
- Increasing the number of raw training records
- Removing all model parameters
- Replacing local training with centralized training
Answer: A) Reducing the amount of information that must be transmitted between clients and the server
Explanation:
Quantization, sparsification, structured updates, and other compression approaches can reduce communication costs by decreasing the size of transmitted model information.
34. What is quantization in the context of federated model updates?
- Representing numerical model information with fewer bits or a smaller numerical representation
- Adding more training examples to each client
- Encrypting every model parameter with a different key
- Deleting the model architecture
Answer: A) Representing numerical model information with fewer bits or a smaller numerical representation
Explanation:
Quantization reduces the precision used to represent model updates. This can lower communication costs but may introduce approximation error.
35. What is sparsification of federated model updates?
- Transmitting only a selected subset of update values instead of the complete dense update
- Increasing every model value to maximum precision
- Duplicating every client update
- Replacing model updates with raw training examples
Answer: A) Transmitting only a selected subset of update values instead of the complete dense update
Explanation:
Sparsification reduces communication by transmitting selected model-update components, such as values with large magnitudes, while handling omitted information according to the chosen algorithm.
36. What is personalized Federated Learning?
- Federated Learning approaches that adapt the learned model to individual clients or client groups
- A method that forces every client to use exactly the same final model
- A technique for encrypting personalized data
- A centralized recommendation system
Answer: A) Federated Learning approaches that adapt the learned model to individual clients or client groups
Explanation:
Personalized FL recognizes that different clients may have different data distributions or objectives and therefore may benefit from models adapted to their local characteristics.
37. Why can a single global model perform poorly for some clients?
- Client data distributions may differ substantially from the aggregate distribution
- The global model never receives client updates
- All client datasets are guaranteed to be identical
- Federated models cannot perform inference
Answer: A) Client data distributions may differ substantially from the aggregate distribution
Explanation:
Strong statistical heterogeneity can cause a globally optimized model to perform unevenly across clients. Personalization methods can address this by adapting models to local distributions.
38. What is federated analytics?
- Computing aggregate statistics across decentralized client data without centrally collecting all raw data
- Training only one neural network on a central dataset
- Analyzing server CPU metrics only
- Compressing model parameters
Answer: A) Computing aggregate statistics across decentralized client data without centrally collecting all raw data
Explanation:
Federated analytics applies federated computation concepts to statistics and other aggregate analyses rather than necessarily training a machine-learning model.
39. Which scenario is a good example of federated analytics?
- Computing the frequency of a feature across many devices without collecting every user's raw record centrally
- Copying every device database to a server
- Training a model on one centralized dataset
- Compressing a mobile application
Answer: A) Computing the frequency of a feature across many devices without collecting every user's raw record centrally
Explanation:
Federated analytics can calculate aggregate statistics across distributed datasets while avoiding the need to centralize all underlying records.
40. Which metric is particularly useful for evaluating whether a federated model performs consistently across clients?
- Per-client evaluation metrics
- Server disk capacity only
- Number of network cables
- Model file name
Answer: A) Per-client evaluation metrics
Explanation:
Aggregate accuracy can hide large differences between clients. Evaluating performance across clients can reveal disparities caused by heterogeneous data distributions.
41. A smartphone keyboard model is trained using user typing data that should remain on individual devices. Which architecture is most appropriate?
- Cross-device Federated Learning
- Centralized training with raw keystroke uploads
- Public data publication
- Manual model training on one device
Answer: A) Cross-device Federated Learning
Explanation:
A smartphone keyboard is a typical cross-device FL scenario because training data can remain on devices while locally computed updates contribute to a shared model.
42. Several hospitals want to train a common disease-prediction model while keeping patient records within their own institutions. Which approach best fits this requirement?
- Cross-silo Federated Learning
- Centralized raw-data pooling
- Public database publication
- Single-client training
Answer: A) Cross-silo Federated Learning
Explanation:
Hospitals represent organizational data silos. Cross-silo FL can allow them to collaborate on model training while maintaining local control over their patient datasets.
43. A federated model is performing poorly because each client has a highly different label distribution. Which problem is most directly indicated?
- Statistical heterogeneity
- Network encryption
- Model serialization
- Hardware virtualization
Answer: A) Statistical heterogeneity
Explanation:
Different label distributions across clients are a form of statistical heterogeneity and can make the global optimization problem more challenging.
44. A federated training system has extremely large model updates and expensive mobile network connections. Which optimization is most directly relevant?
- Model-update compression or sparsification
- Increasing raw dataset size
- Publishing all training data
- Adding more model layers without considering communication
Answer: A) Model-update compression or sparsification
Explanation:
Compression and sparsification can reduce the amount of data transmitted during federated rounds, which is particularly valuable for bandwidth-constrained clients.
45. A malicious client repeatedly submits manipulated model updates intended to make a cancer classifier misclassify a specific trigger pattern. What type of attack is this?
- Backdoor attack
- Model compression
- Client dropout
- Federated evaluation
Answer: A) Backdoor attack
Explanation:
A backdoor attack attempts to implant targeted behavior that is activated by a particular trigger while allowing the model to behave normally on many standard inputs.
46. A federated learning system uses secure aggregation but does not use differential privacy. Which statement is most accurate?
- Secure aggregation can hide individual updates from the server during aggregation, but it is not equivalent to differential privacy
- Secure aggregation guarantees formal differential privacy
- Differential privacy is impossible with secure aggregation
- Secure aggregation eliminates all privacy risks
Answer: A) Secure aggregation can hide individual updates from the server during aggregation, but it is not equivalent to differential privacy
Explanation:
Secure aggregation and differential privacy address different privacy concerns. Secure aggregation can prevent direct inspection of individual contributions, while differential privacy provides a mathematical bound on information leakage under defined assumptions.
47. A federated model has good overall accuracy but performs poorly for a small group of clients with uncommon data distributions. What is the most appropriate investigation?
- Analyze per-client performance and consider personalization or methods designed for heterogeneous data
- Ignore the affected clients because aggregate accuracy is high
- Delete the clients' data
- Increase communication without analyzing the data distribution
Answer: A) Analyze per-client performance and consider personalization or methods designed for heterogeneous data
Explanation:
Aggregate metrics can hide poor performance for specific client groups. Per-client evaluation can reveal distribution-related problems and help determine whether personalization or another federated optimization strategy is appropriate.
48. A server selects 100 clients for a round, but only 70 complete local training and return updates. What should a robust federated system generally do?
- Handle partial participation and aggregate the valid updates according to the protocol
- Upload the missing clients' raw data
- Assume the missing clients trained successfully
- Discard the entire global model permanently
Answer: A) Handle partial participation and aggregate the valid updates according to the protocol
Explanation:
Client availability can change during a federated round. Practical FL protocols are designed to tolerate client dropout and proceed using the contributions that successfully satisfy the aggregation requirements.
49. A privacy-sensitive federated system wants to reduce the server's ability to inspect individual client updates while also limiting information leakage from the final model. Which combination is most appropriate to evaluate?
- Secure aggregation together with differential privacy
- Only model compression
- Only client-side caching
- Only increasing the number of local epochs
Answer: A) Secure aggregation together with differential privacy
Explanation:
Secure aggregation can protect individual contributions from direct server inspection, while differential privacy can limit information leakage through model outputs or aggregated updates under a defined privacy mechanism and accounting framework.
50. A company is deploying Federated Learning across millions of mobile devices. The devices have non-IID data, intermittent connectivity, limited bandwidth, and different hardware capabilities. The company also wants strong privacy protection. Which architecture is the most technically appropriate?
- Centralize all raw device data and train one model on the server
- Use client sampling, local training, communication-efficient aggregation, secure aggregation, differential privacy where required, and evaluation that accounts for client heterogeneity
- Require every device to participate in every training round and upload its complete dataset
- Use simple averaging without monitoring client behavior or privacy risks
Answer: B) Use client sampling, local training, communication-efficient aggregation, secure aggregation, differential privacy where required, and evaluation that accounts for client heterogeneity
Explanation:
A large cross-device deployment must account for partial participation, non-IID data, unreliable connectivity, and resource constraints. Communication-efficient training can reduce network costs, while secure aggregation and differential privacy can address different privacy risks. Per-client evaluation is also important because aggregate metrics may hide poor performance on specific client populations.