Set1 Flashcards
learning
Which library would you leverage to support backup of multiple devices concurrently?
Python asyncio library
This library allows for asynchronous programming, enabling multiple tasks to run at the same time.
What version of Python should the environment be updated to for the backup tool?
Python 3
Updating to Python 3 is necessary for compatibility with modern libraries and features.
What optional argument should be added to the script to limit backup jobs?
—device
This argument allows users to specify which devices to back up.
What should be compared before saving a new backup to disk?
The checksum from the last stored backup and the latest one
This ensures data integrity and prevents unnecessary backups.
What tool can be used to automatically update the script code to support Python 3 syntax?
2to3
This tool is designed to convert Python 2 code to Python 3.
What should be done with the network inventory for running instances of the backup script?
Split into four pieces
This allows for parallel execution, improving efficiency.
What configuration should be checked before executing a backup?
Last modified time on the device
Skipping backups if there has been no change saves resources.
True or False: The script should run regardless of whether the configuration has changed since the last backup.
False
The script should skip backups if there have been no changes.