What is the pickling?
(a) It is used for object serialization
(b) It is used for object deserialization
(c) None of the mentioned
(d) All of the mentioned
(a) It is used for object serialization
(b) It is used for object deserialization
(c) None of the mentioned
(d) All of the mentioned
Right answer is (a) It is used for object serialization
The explanation: Pickle is the standard mechanism for object serialization. Pickle uses a simple stack-based virtual machine that records the instructions used to reconstruct the object. This makes pickle vulnerable to security risks by malformed or maliciously constructed data, that may cause the deserializer to import arbitrary modules and instantiate any object.