The answer is the logging host 192.0.2.50 command. This is correct because syslog is the standard protocol used by routers and switches to send event messages to a centralized server, and the logging host command specifically directs the router to forward all syslog messages to the given IP address over UDP port 514. On the AZ-104 exam, this tests your understanding of centralized logging for network devices, often appearing in scenarios where you must distinguish between syslog for event logs and SNMP for monitoring and traps—a common trap is confusing the two, as SNMP uses different commands like snmp-server host for traps. Remember that syslog is for logging messages, while SNMP is for polling and alerts. A helpful memory tip: think of “log host” as “log the host’s story” to a server, whereas SNMP is about “snapping” performance data.
AZ-104 Implement and Manage Virtual Networking Practice Question
This AZ-104 practice question tests your understanding of implement and manage virtual networking. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Goal: Centralized logging server = 192.0.2.50
A network team wants all routers to send log messages to a centralized server at 192.0.2.50. Which command should be added to the router configuration?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "which command"
Why it matters: Tests specific CLI syntax. Recall the exact command and its required context — near-synonyms and partial matches are common distractors.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
logging host 192.0.2.50
The correct command is 'logging host 192.0.2.50' because it configures the router to send syslog messages to a centralized syslog server at that IP address. Syslog is the standard protocol (UDP port 514) used by network devices for event logging, and the 'logging host' command directs the router to forward all configured logging levels to the specified server.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
snmp-server host 192.0.2.50
Why it's wrong here
This is wrong because SNMP is not the standard command for directing Syslog event messages to a centralized logging host.
When this WOULD be correct
If the exam question specified that the routers needed to send SNMP traps to a management system for monitoring purposes, then 'snmp-server host 192.0.2.50' would be the correct command to configure the SNMP trap destination.
✗
archive 192.0.2.50
Why it's wrong here
This is wrong because archive features are not the same as Syslog log forwarding.
When this WOULD be correct
If the question asked about configuring a router to store configuration backups to a centralized server at 192.0.2.50, then 'archive 192.0.2.50' would be the correct command to use for that purpose.
✗
ntp server 192.0.2.50
Why it's wrong here
This is wrong because NTP synchronizes device clocks but does not send the logs themselves to a central server.
When this WOULD be correct
If the exam question asked about configuring a router to synchronize its clock with a time server for logging purposes, then 'ntp server 192.0.2.50' would be the correct command to ensure accurate timestamps in log messages.
✓
logging host 192.0.2.50
Why this is correct
This is correct because `logging host` identifies the destination Syslog server.
Clue confirmation
The clue word "which command" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.
✓logging host 192.0.2.50Correct answer▾
Why this is correct
This is correct because `logging host` identifies the destination Syslog server.
✗snmp-server host 192.0.2.50Wrong answer — click to see why▾
Why this is wrong here
The command 'snmp-server host 192.0.2.50' is used to configure a Simple Network Management Protocol (SNMP) trap destination, not for sending log messages. Therefore, it does not fulfill the requirement of sending logs to a centralized server.
★ When this WOULD be the correct answer
If the exam question specified that the routers needed to send SNMP traps to a management system for monitoring purposes, then 'snmp-server host 192.0.2.50' would be the correct command to configure the SNMP trap destination.
Why candidates choose this
Candidates might be tempted to choose this option because they associate centralized logging with network management protocols, leading them to mistakenly think SNMP is relevant for logging purposes.
✗archive 192.0.2.50Wrong answer — click to see why▾
Why this is wrong here
The command 'archive 192.0.2.50' is incorrect because it is used for configuring archive settings, not for sending log messages to a centralized server. Log messages require the 'logging host' command instead.
★ When this WOULD be the correct answer
If the question asked about configuring a router to store configuration backups to a centralized server at 192.0.2.50, then 'archive 192.0.2.50' would be the correct command to use for that purpose.
Why candidates choose this
Candidates might choose this option because they associate 'archive' with centralized management and logging, leading to confusion about its actual function in router configurations.
✗ntp server 192.0.2.50Wrong answer — click to see why▾
Why this is wrong here
The command 'ntp server 192.0.2.50' is used to configure a Network Time Protocol server for time synchronization, not for sending log messages to a centralized server.
★ When this WOULD be the correct answer
If the exam question asked about configuring a router to synchronize its clock with a time server for logging purposes, then 'ntp server 192.0.2.50' would be the correct command to ensure accurate timestamps in log messages.
Why candidates choose this
Candidates may confuse logging with time synchronization, leading them to select this option because they recognize the importance of accurate time for log entries, even though it does not directly address the logging requirement.
Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Common exam traps
Common exam trap: answer the scenario, not the keyword
Microsoft often tests the distinction between syslog (logging host) and SNMP (snmp-server host), as candidates confuse sending log messages with sending SNMP traps, but SNMP traps are for specific events like interface status changes, not general syslog messages.
Trap categories for this question
Command / output trap
This is wrong because SNMP is not the standard command for directing Syslog event messages to a centralized logging host.
Detailed technical explanation
How to think about this question
Syslog messages are sent as UDP datagrams to port 514 by default, and the 'logging host' command can be repeated to send logs to multiple servers. The router's logging severity level (from emergencies at level 0 to debugging at level 7) is controlled separately via 'logging trap <level>', and without it, only messages at the default level (informational and above) are sent. In real-world scenarios, centralized logging is critical for security auditing and troubleshooting, and syslog servers like Kiwi Syslog or SolarWinds parse these messages for alerting.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Implement and Manage Virtual Networking — This question tests Implement and Manage Virtual Networking — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: logging host 192.0.2.50 — The correct command is 'logging host 192.0.2.50' because it configures the router to send syslog messages to a centralized syslog server at that IP address. Syslog is the standard protocol (UDP port 514) used by network devices for event logging, and the 'logging host' command directs the router to forward all configured logging levels to the specified server.
What should I do if I get this AZ-104 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "which command". Tests specific CLI syntax. Recall the exact command and its required context — near-synonyms and partial matches are common distractors.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A network team wants reliable time, name resolution, centralized logs, and visibility into traffic patterns. Which two services directly match those goals?
medium
✓ A.NTP
✓ B.NetFlow
C.Syslog
D.DHCP
Why A: NTP (Network Time Protocol) is correct because it provides reliable time synchronization across network devices, which is essential for accurate log timestamps and security protocols. This directly matches the goal of reliable time.
Variation 2. An operations team wants device-generated log messages collected centrally so engineers can review interface changes, warnings, and errors from one place. Which technology is most directly associated with that goal?
medium
✓ A.Syslog
B.NetFlow
C.DHCP relay
D.Port security
Why A: Syslog (A) is the standard protocol for collecting and centralizing log messages from network devices, servers, and other infrastructure. It allows engineers to forward interface changes, warnings, and errors to a central syslog server, enabling unified review and alerting. This directly matches the goal of centralized device-generated log collection.
Last reviewed: Jun 30, 2026
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.