Made with ScholarlyMake flashcards like these from your own notes
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.
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.
Question:Qual è la differenza principale tra cloud pubblico, privato e ibrido?
Answer:Pubblico: multi-tenant, privato: proprietà aziendale, ibrido: combinazione di entrambi.
Question:Cosa permette di fare il modello SaaS nel cloud?
Answer:Usare applicazioni via internet come Google Docs o Microsoft 365.
Question:Quale servizio cloud offre controllo su sistema operativo, storage, ma non su hardware?
Answer:IaaS (Infrastructure as a Service).
Question:Cosa sono le vCPU e come si calcolano?
Answer:Virtual CPU, calcolate con (thread x core) x CPU fisica.
Question:Qual è la funzione di un Hypervisor di tipo 1?
Answer:Gestisce direttamente l'hardware, creando ambienti VM bare-metal.
Question:Cosa consente la tecnica di CPU virtualization chiamata Trap and Emulate?
Answer:Controlla le istruzioni privilegiate tramite trap, per sicurezza e virtualizzazione.
Question:Qual è il ruolo di Hyper-V e KVM nelle virtualizzazioni?
Answer:Sono hypervisor che gestiscono VM, rispettivamente su ambiente Windows e Linux.
Question:Perché i container sono più leggeri delle VM?
Answer:Usano il kernel dell'host, senza emulare un sistema operativo completo.
Question:Come assicura Linux che i container siano isolati?
Answer:Attraverso CGroups e User Namespaces.
Question:Cos'è un Docker Image e come si crea?
Answer:Template immutabile da cui si avvia un container, esteso tramite Dockerfile.
Question:Qual è la funzione di Docker Swarm?
Answer:Gestisce cluster di Docker, permette orchestrazione, scaling e load balancing.
Question:Come funziona il load balancer Least Connections?
Answer:Assegna richieste al server con meno connessioni attive.
Question:Quali sono i vantaggi di usare Podman rispetto a Docker?
Answer:Deamonless, non richiede privilegi di root, gestisce container senza daemon.
Question:Cosa permette di fare il tool Cloud-Init?
Answer:Automatizza configurazione, installazioni e setup delle VM all'avvio.
Question:Qual è lo scopo principale dell'Infrastructure as Code?
Answer:Gestire e configurare risorse tramite file read-only, automatizzando il provisioning.
Question:Perché il Disaster Recovery nei data center è cruciale?
Answer:Per garantire continuità e alta disponibilità contro rischi come inondazioni, incendi, terremoti.
Question:Qual è uno standard di riferimento per i requisiti di un Data Center?
Answer:ANSI/TIA-942.
Question:Quale differenza c'è tra risorse dedicate e condivise nelle VM?
Answer:Dedicate sono interamente assegnate, condivise sono condivise tra più VM.
Question:Quale metodo di provisioning risponde bene a carichi imprevedibili?
Answer:Auto-scaling e resource pooling.
Question:Che funzione ha HAProxy in un'infrastruttura cloud?
Answer:Load balancing e alta disponibilità.
Question:In Docker, what is the maximum number of layers allowed in an image?
Answer:127 layers
Question:What is the purpose of Docker's internal DNS?
Answer:Allow containers to communicate using symbolic names instead of IPs
Question:Why should RUN instructions be concatenated with '&&' in Dockerfiles?
Answer:To reduce the number of layers by combining commands
Question:What is the advantage of using GUI tools like Portainer?
Answer:Manage containers across multiple hosts with support for orchestrators
Question:What is a key benefit of Portainer supporting multiple orchestrators?
Answer:Flexible management in both standalone and production environments
Question:Why is the Docker image size affected by excessive layers?
Answer:Due to metadata and obsolete files increasing size and transfer time
Question:In Docker image optimization, what is the role of 'dockerignore'?
Answer:Exclude unnecessary files to reduce image size and layers
Question:What are the characteristics each layer should meet for optimal Docker performance?
Answer:Idempotent, deterministic, minimal
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
Question:How does Portainer facilitate container management across environments?
Answer:Supports multiple orchestrators like Docker, Swarm, Kubernetes, and Podman
Question:Why should one organize instructions from less to more mutable in a Dockerfile?
Answer:To optimize cache and reduce rebuild times
Question:What is the purpose of 'docker history' and 'docker dive'?
Answer:'docker history' shows layer sizes, 'docker dive' analyzes layer content for optimization
Question:What does Docker Slim automate in container optimization?
Answer:Removes unnecessary files to minimize image size
Question:In container management, what are the main features of Docker Desktop?
Answer:Log access, GUI management of volumes, images, and containers
Question:What is the benefit of using GUI tools like GUI software for container management?
Answer:More intuitive management of containers and related resources
Question:What does the technique of 'concatenamento dei RUN' help achieve?
Answer:Reduces image size by decreasing the number of layers
Question:How does the internal DNS in Docker improve scalability?
Answer:Simplifies communication and management by using container names instead of IPs
Question:Why should instructions be ordered from least to most volatile in Dockerfiles?
Answer:To cache layers effectively and optimize rebuild time