exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 442 discussion

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


Refer to the exhibit. A network engineer must configure NETCONF. After creating the configuration, the engineer gets output from the command show line, but not from show running-config. Which command completes the configuration?

  • A. Device(config)# netconf max-sessions 100
  • B. Device(config)# no netconf ssh acl 1
  • C. Device(config)# netconf lock-time 500
  • D. Device(config)# netconf max-message 1000
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
FrameRelay
Highly Voted 2 years, 3 months ago
is this Q in the exam, I'm not sure why I bought the book, this level of NETCONF is not covered.
upvoted 24 times
Feliphus
2 years, 1 month ago
Only our collaboration work as testers help us reading and contributing in the discussion. I totally agree, there is no sense, Cisco wants you to pay the (very) expensive specialized course and forget the OCG books. But they can't say it blatantly It must be that they don't earn enough money, it's shameful
upvoted 19 times
...
Badger_27
1 year, 10 months ago
Yeah its completely absurd.
upvoted 8 times
...
...
zbeugene7
Most Recent 3 months, 2 weeks ago
The correct answer is A. Please check the following configuration link with examples: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cns/configuration/15-s/cns-15-s-book/netconf-sshv2.html Number of sessions can't be lower than 4, D. is not correct because default message limit is infinite, 1000 would only unnecessary limit the size. Lock has no impact on the issue , we don't know anything about the ACL, how do you know removing it would solve the issue
upvoted 1 times
zbeugene7
3 months, 2 weeks ago
i missed that default is not used for max-message, however mas sessions =1 is no correct anyway, whereas 10 may be enough for message size
upvoted 1 times
zbeugene7
1 week ago
Diference between show line and show running-config is only in the amount of the output produced , #netconf max-message 10 means 10K bytes, why would n't that be enough for show running-config ? Although it's impossible to tell... Rediculous question
upvoted 1 times
zbeugene7
1 week ago
My guess they have it wrong for number of sessions , should be 10 not 100.... This is the only explanation
upvoted 1 times
...
...
...
...
AbdullahMohammad251
4 months, 2 weeks ago
Selected Answer: B
We must allow all users to establish a session with the Netconf server. Example: Device(config)# access-list 100 permit ip 192.168.1.0 255.255.255.0 Device(config)# netconf ssh acl 100 This configuration creates an ACL named 100 that allows IP addresses from the 192.168.1.0/24 network to access the NETCONF server. Only devices or users with IP addresses in this range can establish NETCONF sessions with the device. Option B will remove any IP restrictions on the Netconf server, allowing all users to access the Netconf server.
upvoted 1 times
AbdullahMohammad251
3 months ago
Coming back to this question, I think the correct answer is "D" The user was able to issue the command "show line" which indicates that he successfully accessed the Netconf server (device) through SSH. The current configuration sets netconf max-message to 10, which limits the maximum message size to 10 bytes. This is too small to handle the output of larger commands like "show running-config." Increasing the message size with the command "netconf max-message 1000" will allow larger NETCONF messages to be exchanged, including the output from show running-config, to be returned.
upvoted 3 times
Lse
17 hours, 48 minutes ago
very reasonable analysis, By increasing the message size to 1000 bytes, the NETCONF session can handle larger responses like show running-config, making sure that the output is visible. -------------------- correct answer D
upvoted 1 times
...
...
...
[Removed]
7 months, 3 weeks ago
Selected Answer: D
D is correct
upvoted 1 times
...
mgiuseppe86
1 year, 4 months ago
Cisco probably puts this question in the exam even though it's not covered by OCG because they want to know if people are brain dumping it and answering it. It's entirely plausible. These questions are BS and should never dictate anyone becoming a successful Network Engineer as a career.
upvoted 2 times
adamzet33
1 year, 1 month ago
i bet guys writing OCG has nothing to do with these questions and noone is checking anything but income from books and exam, since good why change?
upvoted 1 times
...
CCNPWILL
1 year, 3 months ago
Possibly, but some people do have work experience or work on a daily with such protocols and could genuinely know the answer. or we could just " get lucky " and answer it correctly :D
upvoted 1 times
...
...
Cynthia2023
1 year, 5 months ago
- `max-sessions`: The valid range is 4 to 16 sessions. - `lock-time`: The valid range is 1 to 300 seconds. - `max-message`: The valid range is 1 to 2147483. The default value is infinite, meaning there is no limit imposed by default on the size of messages. These are the valid ranges for these parameters in the context of NETCONF configuration on Cisco devices. If you issue the command `netconf max-sessions 1`, the device will recognize this as an invalid command and will not apply it. As a result, the device will maintain the default value for the maximum number of concurrent NETCONF sessions, which is typically 4.
upvoted 2 times
Cynthia2023
1 year, 5 months ago
The size of a general configuration file can vary widely depending on the complexity of the configuration, the number of devices being configured, and the specific commands used. Configuration files can range from a few kilobytes (KB) to several megabytes (MB) in size. It's important to note that some network devices or platforms might have limitations on the maximum size of configuration files they can handle. ------------------------------------------------------------------------------------------------------------------------------- Device(config)# netconf max-message 1000 This command increases the maximum NETCONF message size to 1000 kilobytes, which is a common practice to ensure that larger messages can be exchanged as needed.
upvoted 2 times
...
...
danman32
1 year, 5 months ago
The scenario is that output is available for 'show line' but not for 'show run'. So what's different about these two scenarios and which answer addresses that? Difference is the size of the message and only answer D addresses that. I thought perhaps answer B, remove ssh acl 1 as perhaps the ACL is wrong, but then you wouldn't get an output for 'show line' as well as 'show run'
upvoted 3 times
...
Dannyboy7
1 year, 7 months ago
D is correct
upvoted 1 times
...
Anas_Ahmad
2 years, 1 month ago
Selected Answer: D
Device(config)# netconf max-message 1000 is the right answer
upvoted 3 times
...
luctieuphung
2 years, 1 month ago
D is correct. Command: netconf max-message <1-2147483> Kbytes. The engineer gets output from the command show line, but not from show running-config, because max-message is too small, it is not enough for data of running-config.
upvoted 4 times
...
dogdoglee
2 years, 1 month ago
Selected Answer: D
A : The valid range is 4 to 16 (X B : Disable netconf over sshv2 (X C : The valid range is 1 to 300 (X D : The valid range is 1 to 2147483. The default value is infinite. (O
upvoted 3 times
...
Tacolicious
2 years, 1 month ago
Selected Answer: D
D is correct
upvoted 1 times
...
Summo
2 years, 3 months ago
NETCONF over SSHv2 requires that a vty line be available for each NETCONF session as specified in the netconf max-sessioncommand
upvoted 1 times
...
RREVECO
2 years, 3 months ago
Selected Answer: D
I think "D" is correct ref https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cns/configuration/xe-16-9/cns-xe-16-9-book/netconf-sshv2.html A) netconf max-sessions 100 "value out of range" (range 4-16 default is 4) B) y C) the question does not refer to access to the equipment) D) Specifies the maximum size, in kilobytes (KB), for the messages received in a NETCONF session. (makes sense relative to the size of a show running-config)
upvoted 4 times
AbdullahMohammad251
4 months, 2 weeks ago
Tested in GNS3 The default value for the maximum concurrent netconf sessions is 4. Although the command 'netconf max-sessions 1' will display an error message '% Invalid input detected at '^' marker.,' it will not affect Netconf's configuration and the max-sessions will be set to the default value.
upvoted 1 times
...
...
uzbin
2 years, 4 months ago
D - looks to be the best answer. max-message is the size in KB of Netconf messages / response. 10KB too small for whol config..?
upvoted 4 times
...
Deu_Inder
2 years, 4 months ago
A: 'netconf max-sessions 100' is not valid on C7200-ADVENTERPRISEK9-M version 15.2(4)M7. Tested in GNS3. C: 'netconf lock-time 500' is not valid on C7200-ADVENTERPRISEK9-M version 15.2(4)M7. Tested in GNS3. D: 'netconf max-message 1000' is valid. Do not yet understand how this would help. Would be great if someone can give a hand here.
upvoted 3 times
...
wendolin
2 years, 4 months ago
sorry A should be changed, but no valid answer is supplied
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