nerdexam
Juniper

JN0-422 · Question #68

What is the correct syntax to define a device using a PyEZ connection to a Junos device?

The correct answer is B. dev = Device(host='host01.example.com'). Explanation/Reference:

PyEZ

Question

What is the correct syntax to define a device using a PyEZ connection to a Junos device?

Options

  • Adev = JunosDevice(device='host01.example.com')
  • Bdev = Device(host='host01.example.com')
  • Cdev = Device(device_ip='10.1.254.11')
  • Ddev = JunosDevice(device_ip='10.1.254.11')

How the community answered

(57 responses)
  • A
    4% (2)
  • B
    75% (43)
  • C
    16% (9)
  • D
    5% (3)

Explanation

Explanation/Reference:

Topics

#PyEZ#Device class#connection syntax#Junos PyEZ

Community Discussion

No community discussion yet for this question.

Full JN0-422 Practice