š SNMP manager and agent architecture (10 MCQs)
Central Management Applications and Device-Side Agents
SNMP manager-agent architecture separates the system that supervises a network from the device-side entity that exposes management information. A manager application runs on a management station, while an agent operates on a managed device or management proxy. Their interaction enables centralized polling, remote configuration of permitted objects and notification of significant events. This division supports scalable monitoring across devices from different locations.
Managed Resources, MIB Views and SNMP Engines
The manager contains applications that decide which information to retrieve or modify. The agent provides access to local managed objects through an SNMP engine and its associated MIB definitions. The agent does not necessarily make independent network-wide decisions; it responds to protocol operations and reports events according to its implementation and configuration.
How Requests and Notifications Cross the Network
The manager sends a request to the agent's SNMP service, typically at UDP port 161. The agent checks the request, accesses the named object and returns a response. For an event, the agent can send a trap or inform toward the notification receiver, commonly using UDP port 162. An inform expects acknowledgement; a trap does not.
Example: A Manager Polling Several Switches
A management station polls three switches for interface status and input counters. Each switch's agent reads its local values and sends a response to the manager. If one interface changes state, the agent can also send a notification, allowing the manager to display an alarm without waiting for the next polling interval.
Manager-Agent Roles in Distributed Administration
This architecture supports centralized visibility while leaving forwarding decisions inside routers and switches. A manager may poll many agents, compare their values and coordinate administrative work. Proxies can represent devices that do not directly support the management protocol, but the manager still relies on accurate object definitions and access permissions.
Clarifying Agent Independence and Device Control
'The manager forwards every user packet' confuses management with data-plane forwarding. 'The agent is always a separate physical computer' is false because it commonly runs inside the managed device. 'All notifications are replies to polling' is incorrect because traps and informs can report events independently of a request. The manager analyzes returned data rather than switching user traffic.
Architecture Diagrams and Message-Flow Questions
When reading an architecture diagram, identify the management station, manager application, agent, managed object and direction of each message. Be ready to label request/response traffic separately from notifications, explain the usual ports, and distinguish the SNMP management plane from normal user-data forwarding. Also trace request direction, response direction and the separate path for notifications.
SNMP Manager-Agent Architecture Terms
- Manager - Application initiating network management requests.
- Agent - Device-side entity responding to management operations.
- Managed object - An item of management information.
- Polling - Periodic requests for device information.
- Notification receiver - System accepting traps or informs.
- Proxy agent - Entity representing another managed device.
š All SNMP manager and agent architecture MCQs
Q1. A manager delegates a sales task to an agent who possesses private information about market conditions. Which agency problem is most likely to arise?
š Explanation: Moral hazard arises because after delegation the agentās effort is unobservable, allowing the agent to shirk while the manager cannot directly monitor actions. The private information about market conditions exacerbates this issue, leading to a divergence between the agentās optimal behavior and the principalās objective.
Q2. In the principalāagent framework, who is the party that hires and pays for the agentās services?
š Explanation: In the principalāagent model the principal is the party that hires the agent, provides compensation, and bears the outcomes of the agentās actions. The principal sets the contract terms and seeks to align the agentās incentives with its own objectives, making it the hiring entity.
Q3. When output is perfectly observable, which contract form best aligns the agentās incentives with the principalās goals?
š Explanation: When output can be perfectly measured, a pieceārate contract directly ties payment to the amount produced, giving the agent a clear incentive to increase effort. This alignment of financial rewards with performance ensures that the agentās interests mirror the principalās goal of maximizing output.
Q4. Compare a fixedāsalary contract with a pieceārate contract when the agent is riskāaverse but output is noisy. Which statement is most accurate?
š Explanation: With noisy output, a riskāaverse agent dislikes variability, yet a pieceārate contract still offers stronger incentives than a fixed salary because it rewards higher output despite risk. The principal balances the incentive benefits against the agentās aversion to risk, making the pieceārate contract the more accurate description.
Q5. If two agents work on independent projects and the principal cannot observe individual effort, what is the likely equilibrium outcome?
š Explanation: When effort cannot be observed for each agent, each faces a temptation to shirk while hoping the other exerts effort. Since both have the same incentive to freeāride, the equilibrium outcome is that both agents choose low effort, resulting in mutual shirking as the dominant strategy.
Q6. How does an increase in monitoring cost affect the optimal contract offered by a riskāneutral principal to a riskāaverse agent?
š Explanation: Higher monitoring costs reduce the principalās willingness to invest in observation. To compensate, the contract shifts toward a larger fixed salary component, providing the agent with income security while minimizing the need for costly monitoring. This adjustment aligns with the principle that when monitoring is expensive, risk sharing increases.
Q7. Which of the following best captures the tradeāoff between risk sharing and incentive provision in an agency contract?
š Explanation: Providing stronger incentives (e.g., higher variable pay) exposes the agent to greater income variability, which is undesirable for a riskāaverse agent. Consequently, the principal must balance the desire for high effort against the agentās preference for risk sharing, meaning that increasing incentives inevitably reduces risk sharing.
Q8. In a simple agency game where the agent chooses effort eāÆāāÆ{0,1} and the principal sets wage w if output is high, the Nash equilibrium involves which combination?
š Explanation: Given the agentās hidden effort choice and the principalās wage contingent on observed high output, the agent prefers to exert low effort to avoid cost, and the principal anticipates this by offering a low wage. Hence the Nash equilibrium consists of the agent shirking (e=0) and the principal setting a low wage.
Q9. Designing an optimal contract under hidden action and a riskāaverse agent typically results in which structure?
š Explanation: Optimal contracts under hidden action and riskāaverse agents combine a modest base salary to provide insurance with a performanceābased bonus that motivates effort. The bonus is typically proportional to output, ensuring incentives, while the base salary mitigates the agentās risk exposure, achieving a balance between incentive provision and risk sharing.
Q10. When comparing agency problems in the private sector versus the public sector, which statement is most accurate?
š Explanation: Private sector principals can directly tie compensation to profit, creating strong financial incentives for agents. In contrast, public sector agents often operate under budgetary constraints and less flexible incentive structures, making it harder to employ profitābased rewards. Therefore, profit incentives are more effective in the private sector.