Download SE 4455 - Cloud Computing Midterm. and more Exams Advanced Education in PDF only on Docsity!
SE 4455 - Cloud Computing Midterm.
What is the difference between a cloud region and a cloud zone? - ANSWERA region is a specific geographical location where a cloud provider maintains a cluster of data centers. A zone is a data center or cluster of data centers within a region. Main differences:
- geographical scope (large vs small)
- regions are isolated from each other vs. zones that work together to provide redundancy and failover capabilities
- Customers often choose a region based on location or compliance needs, and they might use multiple zones within that region for high availability and backup. What are the five characteristics of cloud computing? - ANSWER1. On- demand self-service
- Broad network access
- Resource pooling
- Rapid elasticity
- Measured service What is on-demand self-service? - ANSWERUsers can provision computing resources like server time and network storage as needed, automatically, without requiring human interaction with the service provider.
What is broad network access? - ANSWERCloud services, accessible over networks through standard mechanisms, accommodate diverse client platforms, from mobile phones to laptops, promoting widespread usage. What is a thin vs thick client platform? - ANSWERWhether a device is a thin client (with limited processing power and resources, such as a smartphone) or a thick client (with more computing power and capabilities, such as a laptop), users can still access and utilize cloud services effectively. What is resource pooling? - ANSWERA benefit of cloud computing. Servers serve multiple clients so there's nothing wasted. The provider utilizes pooled computing resources in a multi-tenant model, dynamically allocating and reallocating physical and virtual resources based on consumer demand, with customers generally lacking control or knowledge of the exact resource location but having the ability to specify a higher-level location abstraction. What is rapid elasticity? - ANSWERCustomers can easily scale their resource usage up or down as needed, sometimes automatically, to match demand, with the appearance of limitless and on-demand provisioning. What is measured service? - ANSWERCloud systems efficiently manage and optimize resource utilization by employing metering capabilities tailored to the service type, allowing for monitoring, control, and transparent reporting of resource usage for both providers and consumers. What is IaaS? - ANSWERInfrastructure as a Service (IaaS) offers virtualized computing resources like virtual machines, storage, and networks in a cloud
What is PaaS? - ANSWERPlatform as a Service (PaaS) offers developers an internet-accessible framework to build and customize applications, comprising infrastructure, middleware, development tools, and additional services, aiming to streamline the application development lifecycle by simplifying coding, testing, deployment, and management processes. ex. Heroku, Google App Engine What are the key features of PaaS? - ANSWER- Development Framework (develop, test, deploy, manage)
- Built-in services
- Multi-language support
- Automated scaling
- Collaboration-friendly What is a cloud deployment model? - ANSWERDefine how cloud computing services are made available and accessed - outlining the architecture, operation, and scope of cloud resources, determining the level of control, management, accessibility, and size of the cloud environment What are the 4 main types of cloud deployment models? Give an example of each. - ANSWERPublic (GCP, AWS, Azure) Private (Banks, Government) Hybrid (Software Dev company) Community (Government agencies, educational institutions) What are the 5 key aspects of cloud deployment models? - ANSWER1. Ownership and management
- Accessibility
- Location
- Scale and Cost
- Security and Compliance Name 5 benefits of cloud computing. - ANSWER- Cost Efficiency
- Accessibility and Flexibility
- Business Continuity
- Disaster Recovery
- Collaboration Efficiency
- Automatic Updates
- Environmentally Friendly
- Pay-Per-Use Model
- Increased Competitiveness
- Enhanced Security Name 5 challenges of cloud computing - ANSWER- Security and Privacy
- Compliance and Legal Issues
- Technical Issues
- Vendor Lock-in
- Data Mobility and Portability
- Performance and Latency
- Management Complexity:
- Limited Customization and Flexibility
- mix of on-site and off-site resources
- cost varies based on usage
- balance of control
- balanced security
- scalable, depending on setup What are some characteristics of the community cloud model? - ANSWER- ownership is shared among orgs with common interests
- restricted access to specific community members
- can be on or off-site
- cost distributed among members
- control shared among participating organizations
- tailored security based on community requirements
- scalability based on the community arrangement What are the key features of GCP? - ANSWER- Scalability
- Security
- Different Technologies (AI, ML, DevOps, Hardware...) GCP offers robust, scalable, and cost-effective cloud solutions. What are compute services? What does GCP offer? - ANSWERScalable computing infrastructure for deploying and managing applications and virtual machines.
- Compute Engine (high performance, scalable VMs)
- Kubernetes Engine (containerized apps)
- App Engine (web apps and mobile backends)
- Cloud Functions (serverless) What are storage and database services? What does GCP offer? - ANSWERProvides a range of storage solutions for any amount of data.
- Cloud Storage (Object storage, ideal for backup, archive, and disaster recovery)
- Persistent Disk (Block storage for VM instances)
- Cloud SQL (Relational database service)
- Firestore (NoSQL) What are big data and ML services? What does GCP offer? - ANSWERA suite of tools for processing and analyzing large datasets, as well as developing and deploying machine learning models.
- BigQuery (Fully-managed, serverless data warehouse for large-scale data analytics)
- Cloud Dataflow (Stream and batch data processing)
- AI Platform (Suite of ML services for training and deploying models) What are networking services? What does GCP offer? - ANSWEROffers a range of networking products for setting up and managing a global, private network. Includes services for connectivity, scaling, and network security, ensuring optimal performance and protection for cloud resources.
- Cloud Code
- Online Code Editor
- Pre-installed utilities What is gcloud? - ANSWERa command-line tool that provides the primary CLI (Command Line Interface) to Google Cloud Platform enables you to manage GCP resources and services, such as VM instances, storage, and databases, directly from the terminal or script What are the key differences between AWS, Azure, and GCP? - ANSWERAWS
- oldest
- 32% market share
- global reach, scalable, extensive services
- ideal for scalable and diverse apps Azure
- newest
- 23% market share
- largest number of regions
- integrates with Microsoft products GCP
- strategically allocated data centers, high performance network
- Good for data analytics and ML, kubernetes management
What is virtualization? - ANSWERThe creation of a virtual (rather than actual) version of physical resources (like hardware platforms, storage devices, and network resources)
- includes hardware virtualization (like VMs), as well as storage, network, and memory virtualization What are VMs? - ANSWERan abstraction of a physical computer system, created through the process of virtualization. It behaves and operates as a distinct computer system, capable of running its own operating system and applications. What are the three core characteristics of VMs? - ANSWER- Abstraction (VM abstracts the hardware of a physical computer)
- Independence (VMs operate independently of each other)
- Flexibility (VMs can be configured with various operating systems and hardware environments) What are the components of a VM? - ANSWER- Virtual CPU
- Memory
- Hard drive
- Network Interface What is simulation? - ANSWERModeling the behavior or characteristics of a system without necessarily replicating the hardware or software environment, commonly used in computer science to mimic the behavior of programs or processes.
Networking What are the different types of hypervisors? - ANSWERBare-metal hypervisors: run directly on the host's hardware - no need for underlying host OS (can directly access host's hardware) Hosted hypervisors: run as an app on a conventional operating system. Rely on underlying OS for hardware access & resource management What is snapshotting? - ANSWERCapturing the state of a VM at a specific point in time What are some common uses for VMs? - ANSWERServer Consolidation Development Environments Legacy Application Support Explain server consolidation with VMs and it's benefits. - ANSWERThe process of combining multiple small physical servers into fewer, larger servers.
- Cost efficiency
- Energy savings
- Improved management Explain the development environment use case for VMs and its benefits. - ANSWERDevelopment Environments within the context of VMs refer to creating isolated and customizable spaces on a computer system where
developers can build, test, and refine applications without affecting the primary operating system or production environment.
- Flexibility
- Replicability
- Rapid provisioning Explain the legacy application support use case for VMs and its benefits. - ANSWERLegacy Application Support refers to the use of technology (like VMs) to continue the operation and maintenance of older software applications that may not be compatible with current hardware or operating systems.
- Running old software
- Isolation
- Cost-effective What are the types of virtual machines? - ANSWERSystem, Process, Hardware, Paravirtual What is a system VM? - ANSWERprovide a complete virtual platform that emulates all the hardware components of a physical machine. Capable of running a full operating system (OS) and multiple instances can run simultaneously on a single host. What is a process VM? - ANSWERdesigned to execute a single program or process
Are containers simulators or emulators? - ANSWERContainers are neither traditional simulators nor emulators. They provide an isolated environment for running applications, but they do not simulate or emulate an entire hardware system. In simple terms, how do containers work? - ANSWERContainers create isolated environments for applications. They simulate separate operating systems but share the host's kernel. What are the three key characteristics of containers? - ANSWEROS-Level Simulation - Containers simulate at the operating system level, not at the hardware level Resource Sharing - Containers efficiently utilize resources by sharing the host's OS kernel, memory, storage, and common binaries and libraries, optimizing resource usage and minimizing redundancy. Isolation Mechanism - Containers use advanced isolation mechanisms to create separate, secure environments within the same host OS. What are the two isolation mechanisms used by containers? - ANSWERNamespaces - Namespaces are a technology used to provide isolated workspaces within the same host OS, ensuring that processes in one container cannot interfere with those in another.
Resource Management - Containers use resource management tools to allocate and limit resources like CPU, memory, and I/O, ensuring fair resource usage and preventing resource hogging by any single container. What is a container image? - ANSWERTemplate used to make containers
- cannot be changed once created (immutable) What is a container registry? - ANSWERHubs or catalogs of container images (where the images are stored and shared) ex. Docker Hub What is a container engine? - ANSWERThe runtime engine used to build, run, and manage containers Ex. Docker Engine What is a container instance? - ANSWERActual running instances of containers that are instantiated from container images What are some advantages of containerization? - ANSWER- lightweight (efficient use of host's kernel, low overhead)
- portable (can run across any platform or cloud)
- More enviro-friendly
- better utilization of data centers What's the difference between VM vs container isolation and security? - ANSWER- VMs are more secure b/c they provide strong isolation due to separation at hardware level
- Containers offer process-level isolation, which is usually fine but might be less secure What's the difference between VM vs container scalability and portability? - ANSWER- VMs are less scalable and portable, way more resource-intensive
- Containers are highly scalable and portable What's the difference in VM vs container use cases? - ANSWERVM are good for apps that need:
- full isolation
- extensive OS customization
- running multiple OS on same hardware Containers are better for:
- microservices architectures
- application development
- CI/CD workflows
What's Docker? - ANSWERPlatform that uses containerization to develop, deploy, and run apps
- allows apps to be packaged with all their dependencies into a container, ensuring consistency across various computing environments What is the Docker Engine? - ANSWERClient-server application with a server that's a type of long-running program called a daemon process What is the Docker Daemon? - ANSWERThe background service that manages Docker containers, images, networks, and volumes What is Docker Client? - ANSWERThe command-line interface tool that allows users to interact with the Docker daemon What are Docker Images? - ANSWERImmutable templates used to create containers, built from Dockerfiles
- lightweight, standalone, executable What are the two types of Docker Registries? - ANSWERDocker Hub - public Private Registries - manage proprietary images securely What are the main characteristics of Docker Images? - ANSWER- Immutable
- Layered architecture (speeds up the build process and saves storage by reusing layers)