ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 326 - 350-901 discussion

Report
Export

Refer to the exhibit.

A developer must review an intern's code for a script they wrote to automate backups to the storage server. The script must connect to the network device and copy the running-config to the server.

When considering maintainability, which two changes must be made to the code? (Choose two.)

A.

Rename the class to "ArchiveManager".

Answers
A.

Rename the class to "ArchiveManager".

B.

The code is incorrect because the class does not have an__init__() method.

Answers
B.

The code is incorrect because the class does not have an__init__() method.

C.

The command sent to the network device is incorrect.

Answers
C.

The command sent to the network device is incorrect.

D.

Refactor the code placing the "for" loop steps inside a single nc method.

Answers
D.

Refactor the code placing the "for" loop steps inside a single nc method.

E.

The intern must use IP addresses because DNS is unreliable.

Answers
E.

The intern must use IP addresses because DNS is unreliable.

Suggested answer: C, D
asked 10/10/2024
Tim Wersinger
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first