exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 753 discussion

Actual exam question from Cisco's 350-401
Question #: 753
Topic #: 1
[All 350-401 Questions]

An engineer applies this EEM applet to a router:



What does the applet accomplish?

  • A. It generates a syslog message every 600 seconds on the status of the specified MAC address.
  • B. It compares syslog output to the MAC address table every 600 seconds and generates an event when no match is found.
  • C. It compares syslog output to the MAC address table every 600 seconds and generates an event when there is a match.
  • D. It checks the MAC address table every 600 seconds to see if the specified address has been learned.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TroyMcLure
Highly Voted 1 year, 11 months ago
Selected Answer: D
This one is tricky. Please, pay attention to the wordings. With the command “show ip arp | in 0005.4278.9866”, the “ARPR” text is only found if this MAC address has been learned in the router. Answer A is not correct as the syslog message is only generated if the specific MAC address is found (not every 600 seconds).
upvoted 9 times
...
Burik
Highly Voted 1 year, 11 months ago
Selected Answer: D
It's D. The ARP table is checked every 600 seconds, but the syslog message is generated only if the specific MAC address is found, it's not generated every 600 seconds. If the MAC isn't found, no syslog message is generated. if $_regexp_result eq 1 <-- if the MAC is found... syslog msg $_cli_result <-- ...then generate a syslog entry, otherwise do nothing
upvoted 6 times
...
AbdullahMohammad251
Most Recent 8 months, 2 weeks ago
Selected Answer: D
The Syslog msg will be generated only if we find a match for the MAC address (0005.4210.0049) in the ARP table.
upvoted 1 times
...
Zendahr
10 months, 2 weeks ago
Selected Answer: A
The following example shows how to specify that an event is triggered every 5 hours: Router(config)# event manager applet timer-watch Router(config-applet)# event timer watchdog time 18000 https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/command/eem-cr-book/eem-cr-e2.html
upvoted 1 times
...
[Removed]
12 months ago
Selected Answer: D
D is more accurate as it describes the regular checking behavior without implying that a syslog message is always generated. A is incorrect because the applet will only send a syslog message if the specified MAC address is found in the ARP table, not every 600 sec. If the MAC address is not present in the ARP table, the syslog message will not be generated, but the applet will continue to check every 600 seconds.
upvoted 1 times
...
supershysherlock
1 year, 2 months ago
Selected Answer: A
The EEM applet checks the ARP table every 10 minutes for a specific MAC address. If an ARP entry is found for that MAC address, it logs the entire line containing that ARP entry to the syslog server. This could be used for monitoring when a specific device (identified by its MAC address) is active on the network and logging its IP address assignments over time.
upvoted 1 times
...
mgiuseppe86
1 year, 8 months ago
It's A Read Engish. It generates a syslog message. None of the other answers say that. and action 7 generates a syslog message. I tested this in my lab. D does NOT check a mac address table, it checks the arp table.
upvoted 4 times
gorillaenhanced
1 year, 3 months ago
(A) says it generates a syslog unconditionally which is not the case. the log is generated if the condition 7.0 is verified correct answer is D
upvoted 2 times
...
...
Chuckzero
1 year, 9 months ago
The correct answers are A and D. This question should have a (choose two) options answer. They must have forgotten to say, "choose two". The EEM script does A and D.
upvoted 1 times
...
Asombrosso
1 year, 9 months ago
Selected Answer: D
A. It DOESN'T generate a syslog message every 600 seconds - if only MAC exists B. it DOESN'T It compare syslog output- it compares cli output C. It DOESN'T compare syslog output - it compares cli output D. It DOESN'T check the MAC address table - it checks ARP
upvoted 2 times
...
artemiwwe
1 year, 10 months ago
Poorly described ansers :( None is correct. It does not *generete every 600 seconds*, it *checks every 600 seconds* if the MAC address is present in ARP table, and *IF* it is present, generates syslog. https://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-xe-16/216091-best-practices-and-useful-scripts-for-ee.html Useful EEM Scripts -> Track Specific MAC Address for MAC Address Learn
upvoted 2 times
...
Dv123456
1 year, 10 months ago
THe most probable answer is A: B and C-> Seems there si no such a syslog output to compare with. D - > The check is made in the arp table, not in the mac address-table
upvoted 1 times
...
rogue_user
1 year, 10 months ago
D is wrong since it checks ARP table
upvoted 1 times
...
danman32
1 year, 11 months ago
Answer A seems plausible but it says a syslog message is generated every 600 seconds, reporting the status (exists or not) of the MAC address. But that's not what the script is doing. A syslog message is generated ONLY if the MAC address is found.' I agree with those pointing out that answers B-D are addressing the MAC table, which isn't quite right. It is the ARP table that is checked. But that's Cisco for you. Best fit if you overlook table terminology is answer D.
upvoted 2 times
danman32
1 year, 11 months ago
Plus answers B and C assume the script is checking syslog messages. It doesn't CHECK syslog messages, it GENERATES a syslog message IF. And the IF check is done every 600 seconds.
upvoted 1 times
...
...
CKL_SG
1 year, 11 months ago
Selected Answer: D
Tested in GNS3 syslog message is generated only if the specific MAC address is found, it's not generated every 600 seconds. If the MAC isn't found, no syslog message is generated.
upvoted 4 times
...
Entivo
1 year, 11 months ago
Selected Answer: D
Burik is correct, the answer is D.
upvoted 2 times
...
Splashisthegreatestmovie
1 year, 12 months ago
Answers A and D are splitting hairs to me
upvoted 2 times
Burik
1 year, 11 months ago
They are not. This question wants to check our knowledge of the use of the IF statement in EEM applets. Answer A is wrong because Action 7.0 will run only *IF* Action 6.0 returns 1. The answer is D.
upvoted 2 times
...
...
JackDRipper
2 years, 2 months ago
Selected Answer: A
B and C are obviously wrong. D seems correct at first glance, but the EEM is reading the ARP table, not the MAC address table A is the only valid answer.
upvoted 2 times
Burik
1 year, 11 months ago
So what? The show ip arp command shows MAC addresses as well. It's D.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...