exam questions

Exam 350-601 All Questions

View all questions & answers for the 350-601 exam

Exam 350-601 topic 1 question 246 discussion

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


Refer to the exhibit. Which information must be added to the script to complete the POAP operation on the Cisco Nexus 9000 Series Switch?

  • A. MD5SUM d41d8cd98f00b20449800998ecf8427e of the script file.
  • B. MD5SUM d41d8cd98f00b204e9800998ecf8427e of the Python code.
  • C. API token d41d8cd98f00b77986331998ecf8427e of the Cisco Nexus 9000 Series Switch.
  • D. API token d41d8cd98f00b41051968198ecf8427e of the Cisco APIC.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Gayan84
Highly Voted 2 years, 2 months ago
The Answer is << A >>> Update the MD5 checksum of the POAP script as shown using shell commands f=poap_nexus_script.py ; cat $f | sed '/^#md5sum/d' > $f.md5 ; sed -i "s/^#md5sum=.*/#md5sum=\"$(md5sum $f.md5 | sed 's/ .*//')\"/" $f
upvoted 5 times
...
Rollizo
Most Recent 9 months, 4 weeks ago
Selected Answer: A
In a Cisco Nexus 9000 Series switch, during the POAP (Power-On Auto-Provisioning) process, the switch uses an MD5 checksum to verify the integrity of the configuration script that it downloads from the TFTP server. The MD5 checksum ensures that the script has not been corrupted or tampered with during the download. The specific MD5SUM mentioned (d41d8cd98f00b20449800998ecf8427e) would need to be added to the POAP process to verify the integrity of the script file.
upvoted 1 times
...
PacketLife
2 years, 5 months ago
Agreeing to the fact the answer is md5sum, the question that I have is, is that used to check the integrity of the script file or the python code? Essentially, we want to make sure that the script file is not tampered with and that we are using the validated script file. If the file's integrity is maintained, the code's integrity is also maintained. So why not go with answer (B)?
upvoted 1 times
PacketLife
2 years, 5 months ago
I meant to say, Answer (A) A. MD5SUM d41d8cd98f00b20449800998ecf8427e of the script file.
upvoted 5 times
hcsaba1982
2 years, 4 months ago
https://github.com/datacenter/nexus9000/blob/master/nx-os/poap/poap.py If any changes are made to this script, please run the below command in bash shell to update the above md5sum. This is used for integrity check. f=poap_nexus_script.py ; cat $f | sed '/^#md5sum/d' > $f.md5 ; sed -i \ "s/^#md5sum=.*/#md5sum=\"$(md5sum $f.md5 | sed 's/ .*//')\"/" $f the required md5 update procedure refer to file, so the answer is A.
upvoted 3 times
...
...
...
g_kuchima
2 years, 5 months ago
Selected Answer: B
I guess its B
upvoted 2 times
...
C4rlos
2 years, 7 months ago
Selected Answer: B
B is the correct answer.
upvoted 2 times
...
HRNK
2 years, 8 months ago
It is B. Check below sample code. https://github.com/datacenter/nexus9000/blob/master/nx-os/poap/poap.py
upvoted 2 times
...
GuyThatTakesDumps
2 years, 9 months ago
Its B! "This procedure replaces md5sum in poap_fabric.py with a new value if there was any change in that file." https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/fundamentals/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_Fundamentals_Configuration_Guide_7x/b_Cisco_Nexus_9000_Series_NX-OS_Fundamentals_Configuration_Guide_7x_chapter_0100.html#:~:text=This%20procedure%20replaces%20md5sum%20in%20poap_fabric.py%20with%20a%20new%20value%20if%20there%20was%20any%20change%20in%20that%20file.
upvoted 1 times
...
mendieta
3 years, 1 month ago
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/fundamentals/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_Fundamentals_Configuration_Guide_7x/b_Cisco_Nexus_9000_Series_NX-OS_Fundamentals_Configuration_Guide_7x_chapter_0100.html#id_53294
upvoted 1 times
...
mendieta
3 years, 1 month ago
md5sum are made on behalf of configuration files or python script files and stored on the switch as .md5, this file will check the integrity while downloading the configuration or .py file, sometimes i see the number copied in the script as reference but once u add this number to the script u change the script file and because of that also the md5 number so is not valid anymore. I'll go for A, even if the wording is not 100% accurate.
upvoted 2 times
mendieta
3 years, 1 month ago
sorry the md5sum in the python script can the valid one using some shell commands proposed by cisco. A still valid.
upvoted 2 times
...
...
mauchi
3 years, 2 months ago
I would only chose C bcs the MD5 doesnt make sense inside the script, and bcs APIC uses grep instead of include, but any other clues?
upvoted 1 times
cypher9
3 years, 1 month ago
I am leaning towards B...but unsure of syntax. Every time you make a change to the configuration script, ensure that you recalculate the MD5 checksum by running # f=poap_fabric.py ; cat $f | sed '/^#md5sum/d' > $f.md5 ; sed -i "s/^#md5sum=.*/#md5sum=\"$(md5sum $f.md5 | sed 's/ .*//')\"/" $f using a bash shell. This procedure replaces md5sum in poap_fabric.py with a new value if there was any change in that file. https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/fundamentals/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_Fundamentals_Configuration_Guide_7x/b_Cisco_Nexus_9000_Series_NX-OS_Fundamentals_Configuration_Guide_7x_chapter_0100.html
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 ...