Q16
Drag & drop
DRAG DROP
An engineer must expose basic DNS resolution to an AI agent through an MCP server for quick network triage. The engineer must implement a FastMCP server that defines a resolve_hostname tool and runs over stdio so MCP clients can call it.
Drag and drop the code snippets from the bottom onto the boxes in the code to construct the script. Not all options are used.
Drag each option into the matching blank slot.