Question
What is the primary advantage of using container
orchestration tools like Kubernetes over traditional virtual machines (VMs) for managing applications in a production environment?ÂSolution
Containers are designed to encapsulate only the application and its dependencies, without the need for an entire operating system like in virtual machines. This lightweight nature makes them portable across environments, faster to deploy, and much more efficient in using system resources. Container orchestration tools like Kubernetes manage these containers at scale, automating deployment, scaling, and management, which provides an edge in modern production environments. Why other options are wrong: A) Containers are lighter than VMs, so they actually require fewer resources. B) Containers share the host OS kernel, making them more efficient but not necessarily more secure than VMs, which run isolated OS environments. C) Containers do not run multiple OSes simultaneously; they share the host OS. E) Containers have faster startup times due to their lightweight nature.
In a 5-stage pipeline (Fetch, Decode, Execute, Memory, Write-back), how many instructions can be in various stages of processing at the same time?
A transformer has a primary coil with 300 turns and a secondary coil with 150 turns. If the primary voltage is 240V, calculate the secondary voltage.
Which of the following is a common problem that synchronization mechanisms address in multi-threaded or multi-process environments?
What happens when a program accesses data that is not currently in physical memory (RAM) due to virtual memory management?
Which of the following is not a valid keyword in C++ language?
XML is designed to ____ and ____ data)
What is the main purpose of a digital signature in public key cryptography?
The best case time complexity of selection sort?
What is the space complexity of an algorithm?
Which functions are declared inside a class have to be defined separately outside the class?