Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam JN0-221 All Questions

View all questions & answers for the JN0-221 exam

Exam JN0-221 topic 1 question 27 discussion

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

Click the Exhibit button.

Referring to the exhibit, which two statements are correct? (Choose two.)

  • A. The configuration will be retrieved in JSON format
  • B. The retrieved configuration will be from the Junos active configuration
  • C. The retrieved configuration will be from the Junos candidate configuration
  • D. The configuration will be retrieved in XML format
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
penguin02007
1 year ago
Selected Answer: AB
Output json from active config.
upvoted 1 times
...
Evangelist69
2 years, 5 months ago
Selected Answer: BD
B) retrieve: 'committed' -> active configuration D) i have doubt https://www.juniper.net/documentation/us/en/software/junos-ansible/ansible/topics/topic-map/junos-ansible-configuration-retrieving.html By default, the module returns configuration data as formatted text, which uses newlines, tabs and other white space, braces, and square brackets to indicate the hierarchical relationships between the statements. To specify the format in which to return the configuration data, set the format parameter equal to the desired format. To explicitly request text format, or to request Junos XML elements, Junos OS set commands, or JSON format, set the format value to 'text', 'xml', 'set', or 'json', respectively.
upvoted 2 times
...
fakrulalam
3 years, 1 month ago
Answer A & B. output will be in JSON retrieve: 'committed' -> active configuration
upvoted 3 times
...
shabbir1282
3 years, 6 months ago
By default, the module returns configuration data as formatted text, which uses newlines, tabs and other white space, braces, and square brackets to indicate the hierarchical relationships between the statements. https://www.juniper.net/documentation/en_US/junos-ansible/topics/topic-map/junos-ansible-configuration-retrieving.html text is not in the answer. the next candidate is XML, in pyez default is xml, for json, {'format': 'json'} is used.
upvoted 1 times
...
lucaboban
3 years, 9 months ago
Correction - not AC, but AB
upvoted 2 times
...
lucaboban
3 years, 9 months ago
Correct answer will be: AC active configuration = current committed configuration of a device. Thus, it cant be a candidate configuration.
upvoted 3 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 ...