JNCIA-DevOps: Juniper Networks Certified Associate – Automation and DevOps — Question 26

Which statement is correct about Python?

Answer options

Correct answer: A, C

Explanation

Option A is correct because Python uses a garbage collection mechanism to automatically manage memory by deleting unused objects. Option C is also true as Python's behavior can vary depending on the operating system it is running on. Options B and D are incorrect; the Python interpreter is primarily implemented in C, and Python code does not need to be compiled specifically on a Junos device.