Logo/

Cloud Virtualization Docker Concepts

Log in

Made with ScholarlyMake flashcards like these from your own notes

Cloud Virtualization Docker Concepts

Questions and answers

40 cards
  1. Question:Quali sono le caratteristiche fondamentali di un sistema in cloud secondo il NIST?

    Answer:On demand, broad network access, resource pooling, rapid elasticity, measured service.

  2. Question:Perché alcuni software come Tesla autopilot o software avionico non sono adatti per il cloud?

    Answer:Necessitano di alta banda, stabilità e assenza di downtime per questioni di sicurezza.

  3. Question:Qual è la differenza principale tra cloud pubblico, privato e ibrido?

    Answer:Pubblico: multi-tenant, privato: proprietà aziendale, ibrido: combinazione di entrambi.

  4. Question:Cosa permette di fare il modello SaaS nel cloud?

    Answer:Usare applicazioni via internet come Google Docs o Microsoft 365.

  5. Question:Quale servizio cloud offre controllo su sistema operativo, storage, ma non su hardware?

    Answer:IaaS (Infrastructure as a Service).

  6. Question:Cosa sono le vCPU e come si calcolano?

    Answer:Virtual CPU, calcolate con (thread x core) x CPU fisica.

  7. Question:Qual è la funzione di un Hypervisor di tipo 1?

    Answer:Gestisce direttamente l'hardware, creando ambienti VM bare-metal.

  8. Question:Cosa consente la tecnica di CPU virtualization chiamata Trap and Emulate?

    Answer:Controlla le istruzioni privilegiate tramite trap, per sicurezza e virtualizzazione.

  9. Question:Qual è il ruolo di Hyper-V e KVM nelle virtualizzazioni?

    Answer:Sono hypervisor che gestiscono VM, rispettivamente su ambiente Windows e Linux.

  10. Question:Perché i container sono più leggeri delle VM?

    Answer:Usano il kernel dell'host, senza emulare un sistema operativo completo.

  11. Question:Come assicura Linux che i container siano isolati?

    Answer:Attraverso CGroups e User Namespaces.

  12. Question:Cos'è un Docker Image e come si crea?

    Answer:Template immutabile da cui si avvia un container, esteso tramite Dockerfile.

  13. Question:Qual è la funzione di Docker Swarm?

    Answer:Gestisce cluster di Docker, permette orchestrazione, scaling e load balancing.

  14. Question:Come funziona il load balancer Least Connections?

    Answer:Assegna richieste al server con meno connessioni attive.

  15. Question:Quali sono i vantaggi di usare Podman rispetto a Docker?

    Answer:Deamonless, non richiede privilegi di root, gestisce container senza daemon.

  16. Question:Cosa permette di fare il tool Cloud-Init?

    Answer:Automatizza configurazione, installazioni e setup delle VM all'avvio.

  17. Question:Qual è lo scopo principale dell'Infrastructure as Code?

    Answer:Gestire e configurare risorse tramite file read-only, automatizzando il provisioning.

  18. Question:Perché il Disaster Recovery nei data center è cruciale?

    Answer:Per garantire continuità e alta disponibilità contro rischi come inondazioni, incendi, terremoti.

  19. Question:Qual è uno standard di riferimento per i requisiti di un Data Center?

    Answer:ANSI/TIA-942.

  20. Question:Quale differenza c'è tra risorse dedicate e condivise nelle VM?

    Answer:Dedicate sono interamente assegnate, condivise sono condivise tra più VM.

  21. Question:Quale metodo di provisioning risponde bene a carichi imprevedibili?

    Answer:Auto-scaling e resource pooling.

  22. Question:Che funzione ha HAProxy in un'infrastruttura cloud?

    Answer:Load balancing e alta disponibilità.

  23. Question:In Docker, what is the maximum number of layers allowed in an image?

    Answer:127 layers

  24. Question:What is the purpose of Docker's internal DNS?

    Answer:Allow containers to communicate using symbolic names instead of IPs

  25. Question:Why should RUN instructions be concatenated with '&&' in Dockerfiles?

    Answer:To reduce the number of layers by combining commands

  26. Question:What is the advantage of using GUI tools like Portainer?

    Answer:Manage containers across multiple hosts with support for orchestrators

  27. Question:What is a key benefit of Portainer supporting multiple orchestrators?

    Answer:Flexible management in both standalone and production environments

  28. Question:Why is the Docker image size affected by excessive layers?

    Answer:Due to metadata and obsolete files increasing size and transfer time

  29. Question:In Docker image optimization, what is the role of 'dockerignore'?

    Answer:Exclude unnecessary files to reduce image size and layers

  30. Question:What are the characteristics each layer should meet for optimal Docker performance?

    Answer:Idempotent, deterministic, minimal

  31. Question:What is the main difference between Docker Desktop and Podman Desktop?

    Answer:Docker Desktop uses a daemon and is GUI-centric, while Podman can run rootless containers without a daemon

  32. Question:How does Portainer facilitate container management across environments?

    Answer:Supports multiple orchestrators like Docker, Swarm, Kubernetes, and Podman

  33. Question:Why should one organize instructions from less to more mutable in a Dockerfile?

    Answer:To optimize cache and reduce rebuild times

  34. Question:What is the purpose of 'docker history' and 'docker dive'?

    Answer:'docker history' shows layer sizes, 'docker dive' analyzes layer content for optimization

  35. Question:What does Docker Slim automate in container optimization?

    Answer:Removes unnecessary files to minimize image size

  36. Question:In container management, what are the main features of Docker Desktop?

    Answer:Log access, GUI management of volumes, images, and containers

  37. Question:What is the benefit of using GUI tools like GUI software for container management?

    Answer:More intuitive management of containers and related resources

  38. Question:What does the technique of 'concatenamento dei RUN' help achieve?

    Answer:Reduces image size by decreasing the number of layers

  39. Question:How does the internal DNS in Docker improve scalability?

    Answer:Simplifies communication and management by using container names instead of IPs

  40. Question:Why should instructions be ordered from least to most volatile in Dockerfiles?

    Answer:To cache layers effectively and optimize rebuild time