exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 275 discussion

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


Refer to the exhibit. An engineer must create a configuration that executes the show run command and then terminates the session when user CCNP logs in.
Which configuration change is required?

  • A. Add the access-class keyword to the username command.
  • B. Add the autocommand keyword to the aaa authentication command.
  • C. Add the access-class keyword to the aaa authentication command.
  • D. Add the autocommand keyword to the username command.
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
hex2
Highly Voted 2 years, 9 months ago
I've been a CCNP for 11 years, and doing Cisco networking for almost 25. Today, right now, is the first time I have ever heard of this capability.
upvoted 69 times
juancarlosdlar
1 year, 9 months ago
If someone had told me that certification exams would be as stupid as Cisco exams, I would have studied something different.
upvoted 15 times
...
myhdtv6
8 months, 2 weeks ago
first of all, proud of you, you've achieved a feet already. I failed my first attempt to CCNP, I marks were average 70% in all still failed, I don't know y. currently working as a ICT service engineers Team Lead wants to go in MSP-ISP network engineer, but getting rejected from everywhere. One day will become like you
upvoted 1 times
...
danny_f
2 years, 5 months ago
I HATE thet we get tested on the most random commands that are never used. What a wasted opportunity.
upvoted 26 times
DiscardedPacket
2 years, 4 months ago
agreed, it really is stupid.
upvoted 10 times
...
...
wr4net
1 year, 5 months ago
if this command wasn't so obscure and dumb, I would feel dumb at this point too, having worked on cisco gear for 20+ years. :) at least i wont forget this if it comes up on a test.
upvoted 3 times
...
...
McBeano
Highly Voted 2 years, 3 months ago
questions like this are why I visit sites like this. It doesn't matter how much you study, this question would have screwed me over everytime, I've never heard of it
upvoted 22 times
...
[Removed]
Most Recent 4 months, 3 weeks ago
Selected Answer: D
D is correct The "autocommand" keyword in Cisco IOS allows you to specify a command or a series of commands to be executed automatically when a user logs in. For example, if you configure "autocommand show run" for a specific user, let's say "CCNP," whenever the user "CCNP" logs in, the command "show run" will be executed automatically, displaying the current running configuration of the device.
upvoted 1 times
...
danman32
1 year, 2 months ago
Clearly D is the answer, but there is a problem with how the answer is worded. It says to ADD the sutocommand to the username command. But you can't add anything to the command once you specify the password, otherwise what you intended to be an option becomes the password So you have to have a separate line for username CCNP autocommand since here too autocommand has to be the last option.
upvoted 1 times
...
dragonwise
1 year, 7 months ago
Cisco exams are for testing real skills anymore. That is too sad
upvoted 3 times
...
Asymptote
1 year, 9 months ago
Selected Answer: D
Cisco IOS long had the autocommand option by which you could attach any command to a username and have it execute after successful login. For example, username x autocommand show ip interface brief command would configure the router to display the interface status after someone would log in as user x. After the autocommand is executed, the user is logged out and the session is disconnected, unless you configure the username user nohangup option, which causes the session to remain active, giving the operator another login prompt.
upvoted 5 times
...
nushadu
1 year, 10 months ago
Selected Answer: D
cisco_R3(config)#do s runn | s aaa aaa new-model aaa authentication banner ^C aaa authentication login default local aaa authentication login test_0 group tacacs+ line aaa authentication login Q_275 local-case aaa authorization exec default local if-authenticated aaa session-id common cisco_R3(config)# cisco_R3(config)#do s runn | s vty line vty 0 4 exec-timeout 30 0 password 7 06030B logging synchronous login authentication Q_275 transport input telnet cisco_R3(config)# cisco_R3(config)#do s runn | i username username test privilege 15 password 7 044F0E151B761B19 username ed privilege 15 password 7 082448 username CCNP secret 5 $1$s5fj$YMDYM1MdeEEr/Kt2O5spv/ username CCNP autocommand sho users cisco_R3(config)#
upvoted 2 times
nushadu
1 year, 10 months ago
login from remote linux: root@eve-ng:~# telnet 192.168.255.3 Trying 192.168.255.3... Connected to 192.168.255.3. Escape character is '^]'. Username: CCNP Password: Line User Host(s) Idle Location 0 con 0 ed idle 00:00:32 * 2 vty 0 CCNP idle 00:00:00 192.168.255.1 Interface User Mode Idle Peer Address Connection closed by foreign host. root@eve-ng:~#
upvoted 3 times
...
...
Lucky1313
2 years, 2 months ago
Selected Answer: D
The command we want to apply can be any length, so the autocommand keyword must be the last option of the line - username CCNP autocommand sh run
upvoted 2 times
...
Duck2Duck
2 years, 3 months ago
The only real use for the autocommand feature today is to issue "term mon" on login and disable the hangup option.
upvoted 2 times
...
sayywhat
2 years, 4 months ago
Lol at this question and the responses. Answer is correct though.
upvoted 1 times
...
youtri
2 years, 9 months ago
autocommand (Optional) Causes the specified command to be issued automatically after the user logs in. When the command is complete, the session is terminated. Because the command can be any length and contain imbedded spaces, commands using the autocommand keyword must be the last option on the line.
upvoted 1 times
...
youtri
2 years, 9 months ago
username name [autocommand command]
upvoted 2 times
...
anonymous1966
3 years, 2 months ago
Correct. Reference: https://www.cisco.com/E-Learning/bulk/public/tac/cim/cib/using_cisco_ios_software/cmdrefs/username.htm
upvoted 3 times
...
SmartForNothing
3 years, 3 months ago
if you answered this question wrong then you shouldn't take the exam
upvoted 1 times
Asymptote
1 year, 9 months ago
So...what is the purpose you visit this site?
upvoted 2 times
...
Dead_Adriano
3 years ago
If you answer this question right then why would you need any exam?
upvoted 8 times
...
koptos
3 years ago
Why is that?
upvoted 1 times
...
...
[Removed]
3 years, 5 months ago
The given answer is correct
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago