exam questions

Exam JN0-221 All Questions

View all questions & answers for the JN0-221 exam

Exam JN0-221 topic 1 question 21 discussion

Actual exam question from Juniper's JN0-221
Question #: 21
Topic #: 1
[All JN0-221 Questions]

Click the Exhibit button.
>>> print(hardware_count)
{"˜MX960':10, "˜SRX300': 22, "˜QFX5100': 4}
Referring to the exhibit, what is the correct method to retrieve the value associated only with "MX960"?

  • A. hardware_count.keys()
  • B. hardware_count.values()
  • C. hardware_count[0]
  • D. hardware_count["MX960"]
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
shiiitboi
Highly Voted 4 years, 2 months ago
Option D is the correct answer
upvoted 5 times
...
Evangelist69
Most Recent 2 years, 10 months ago
Selected Answer: D
D. hardware_count["MX960"]
upvoted 1 times
...
rodobrian
3 years, 5 months ago
Python 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> hardware_count = {"mx960":10, 'srx':3, "qfx":20} >>> print(hardware_count["mx960"]) 10 >>>
upvoted 3 times
...
[Removed]
3 years, 12 months ago
Option D is the correct answer
upvoted 4 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