열렬히.뛰기

질문 : Docker and Cloud

취업 준비 > 기술면접 : 예상 > 질문 : Docker and Cloud

클라우드

  1. 왜 클라우드를 사용하셨나요?
    • Once built, one can write code and compile it anywhere.
  2. 클라우드의 장점(strength) & 단점(weakness) / 왜 클라우드를 사용할까요
    1. (pros) flexibility and scalability : allow to easily increase / decrease resource, meet demands without purchasing additional hardware
    2. (pros) accessibility : access data from anywhere
    3. (cons) security issues : accessibility
    4. (cons)
  3. 구글 클라우드를 고른 이유는?
    1. For their free-tier service.
  4. 혹시 로드밸런서에 대해 들어봤나요?
    1. No. But I have heard about them.
  5. 클라우드를 사용하면서 어려웠던 점은?
    1. Since I had use free-tier cloud, it became slow when the RAM is full.
    2. Therefore, I figure out how to set up the swap memory.
    3. It was the opportunity to apply the knowledges that I’ve learned from 42 school and college.

도커

  1. what is docker image / docker container?
    1. Docker image is a package that has files, settings, and libraries.
    2. Docker container is an instance that is based on Docker image. It runs app in the capsulized environment.
  2. what is dockerfile used for?
    1. It is a type of script file that is written about information about docker image. (basic image, commands, and files to be included)
  3. difference between docker and virtual machine
    1. They serve for similar purposes but in fundamentally different ways.
    2. virtual machine : simulate complete HW, hypervisor manages them
    3. docker : share the host system’s kernel but run in isolated user spaces, require less overhead.
    4. Docker is more resource-efficient and faster, making it ideal for environments where speed and efficiency are critical
  4. Docker Image와 Container의 차이, Docker Hub
    1. Dockerfile : a file, contains, package, source code, command, etc
    2. Docker-Compose : a file, control, several dockerfile at once.
mindmajix.com/docker-interview-questions