interview questions AWS - sitapriyanka/aws GitHub Wiki

Q1. Difference between docker and virtual machine A. Virtual machine uses its own OS. > Machine hardware - Machine OS - Hypervisor - Virtual machines with their own OS Docker containers use underlying hardware's OS. there is no hypervisor to separate the computing power. **> Machine Hardware - Machine OS - docker containers. **

Q2. Differene between AMI and docker image? When both can be installed in Ec2? A. * AMI is a Full machine image. We can start a machine using AMI. Whereas docker is more lightweight. and it mainly carries all software needed for an application to run. And it is easily portable between providers unlike AMI.

  • AMI is a VM image. i.e virtual machine image. And EC2 instance we cannot create without AMI. Whereas Docker image runs in a EC2 instance.

Q3.