Docker and more Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is Docker, and how does it reduce the size of development?

A

Docker is a container management service that reduces the size of development by encapsulating applications and their dependencies in containers, providing a consistent and isolated environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the main components of Docker’s architecture?

A

Docker architecture consists of a client, a server, a REST API, and a container runtime. The client communicates with the server, which manages containers using the container runtime and exposes the REST API.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does Docker enable developers to “develop, ship, and run anywhere”?

A

Docker allows developers to create consistent containerized applications that can be easily moved from development to production environments, ensuring they work the same way on any system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the key advantage of Docker in Agile-based projects?

A

n Agile-based projects, Docker’s ability to create, update, and roll back containers easily allows for rapid adaptation to changing project requirements and rapid iterations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does “DC” typically refer to in the context of your previous question about “DC Architecture”?

A

In this context, “DC” typically stands for “Data Center,” which is a facility used to house computer systems, servers, and network equipment for data processing and management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe the key components of a two-tier data center architecture.

A

: A two-tier data center architecture includes the Access layer (where end-user devices connect) and the Core layer (the backbone network for routing traffic). It often uses 1 GE and 10 GE links, with a full mesh core network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is “load balancing using ICMP” in the context of a data center?

A

Load balancing using ICMP involves distributing network traffic across multiple servers based on ICMP requests. ICMP is used to check server health, and traffic is routed to the server with the best response.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some common topics covered in a course on cloud computing?

A

A course on cloud computing covers topics such as cloud architecture, service models (IaaS, PaaS, SaaS), data management, cloud security, performance, cloud economics, and emerging technologies like fog computing and IoT clouds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are containers in the context of application packaging?

A

Containers are an abstraction at the app layer that packages code and dependencies together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do containers differ from virtual machines (VMs) in terms of resource utilization and performance?

A

Containers take up less space than VMs, and they have better performance characteristics. Containers run natively on the host machine’s kernel and are isolated processes, while VMs run guest operating systems and are resource-intensive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an image in the context of containers, and how does it relate to containers?

A

An image is a lightweight, stand-alone, executable package that includes everything needed to run a piece of software. A container is a runtime instance of an image, representing what the image becomes in memory when executed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do containers ensure isolation from the host environment by default?

A

Containers run completely isolated from the host environment by default, only accessing host files and ports if explicitly configured to do so.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the key difference between virtual machines (VMs) and containers regarding their dependencies and configuration?

A

VMs include guest operating systems, making them resource-intensive, and their disk images contain OS settings, dependencies, and patches. Containers, on the other hand, only contain the executable and its package dependencies, avoiding configuration entanglement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why is it said that a containerized app “runs anywhere”?

A

Containerized applications “run anywhere” because they contain all their dependencies, ensuring consistent behavior regardless of the host environment. They are self-contained and do not rely on host-specific configurations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are containers in the context of application packaging?

A

Containers are an abstraction at the app layer that packages code and dependencies together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do containers differ from virtual machines (VMs) in terms of resource utilization and performance?

A

Containers take up less space than VMs, and they have better performance characteristics. Containers run natively on the host machine’s kernel and are isolated processes, while VMs run guest operating systems and are resource-intensive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is an image in the context of containers, and how does it relate to containers?

A

An image is a lightweight, stand-alone, executable package that includes everything needed to run a piece of software. A container is a runtime instance of an image, representing what the image becomes in memory when executed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How do containers ensure isolation from the host environment by default?

A

Containers run completely isolated from the host environment by default, only accessing host files and ports if explicitly configured to do so.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the key difference between virtual machines (VMs) and containers regarding their dependencies and configuration?

A

VMs include guest operating systems, making them resource-intensive, and their disk images contain OS settings, dependencies, and patches. Containers, on the other hand, only contain the executable and its package dependencies, avoiding configuration entanglement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Why is it said that a containerized app “runs anywhere”?

A

Containerized applications “run anywhere” because they contain all their dependencies, ensuring consistent behavior regardless of the host environment. They are self-contained and do not rely on host-specific configurations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Why is Docker needed for applications?

A

Docker is needed for applications because it provides application-level virtualization, allowing a single host to run several isolated applications, enabling the “build once, deploy anywhere, run anywhere” principle, and facilitating better collaboration during application development.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the purpose of a Docker image?

A

A Docker image is a persisted snapshot that can be run. It serves as a portable package containing all the necessary components to execute a piece of software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What are some common Docker image management commands?

A

Common Docker image management commands include:

images: List all local images.
run: Create a container from an image and execute a command in it.
tag: Tag an image.
pull: Download an image from a repository.
rmi: Delete a local image. This also removes intermediate images if no longer used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

How would you define a Docker container?

A

A Docker container is a runnable instance of a Docker image. It runs as an isolated process, encapsulating an application and its dependencies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What are some common Docker container management commands?

A

Common Docker container management commands include:

ps: List all running containers.
ps -a: List all containers, including stopped ones.
top: Display processes running within a container.
start: Start a stopped container.
stop: Stop a running container.
pause: Pause all processes within a container.
rm: Delete a container.
commit: Create an image from a container.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What is a Dockerfile, and how is it used in Docker?

A

A Dockerfile is used to create images automatically using a build script. It can be versioned in a version control system like Git or SVN, along with all dependencies. Docker Hub can automatically build images based on Dockerfiles hosted on GitHub.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

What is Docker Hub, and how is it used in Docker?

A

Docker Hub is a public repository of Docker images where automated images have been built from Dockerfiles. The source for the build is available on GitHub, making it a convenient resource for sharing and distributing Docker images.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

How is Docker used in various contexts, such as by developers, operators, and enterprises?

A

Developers use Docker to eliminate “works on my machine” problems and collaborate on code. Operators use Docker to run and manage apps in isolated containers for better compute density. Enterprises use Docker to build agile software delivery pipelines, ensuring faster, more secure feature deployment across various platforms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

hat is the primary advantage of using Docker for application development and deployment?

A

Docker eliminates “works on my machine” problems and ensures consistency in application behavior, making it easier for developers to collaborate and deploy applications reliably.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

How does Docker help achieve better compute density in the context of operators?

A

Operators use Docker to run and manage applications in isolated containers, allowing them to maximize resource utilization and achieve better compute density on a single host.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What is the key principle behind Docker, i.e., “build once, deploy anywhere, run anywhere”?

A

The key principle of Docker is to create application containers that can be built once, deployed on various environments, and run consistently anywhere, ensuring that an application behaves the same way across different systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

What are the advantages of using Docker containers for better collaboration during application development?

A

Docker containers enable better collaboration by providing isolated development environments that are consistent across team members. This ensures that everyone is working with the same set of dependencies and configurations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

What is a Docker image, and how is it related to containers?

A

A Docker image is a lightweight, stand-alone package that contains everything needed to run a piece of software. A container is a runtime instance of an image, representing the software as it runs in memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

What is the purpose of tagging an image in Docker?

A

Tagging an image in Docker provides a way to give it a user-friendly and recognizable name. It allows for easier reference and sharing of images.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

How is Docker Hub beneficial for the Docker community?

A

Docker Hub serves as a public repository of Docker images, making it easy to share, distribute, and collaborate on containerized applications. It also provides automation for building images based on Dockerfiles hosted on GitHub.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

In what way does Docker help eliminate the “works on my machine” problem for developers?

A

Docker encapsulates an application and its dependencies, ensuring that it behaves consistently across different development environments, effectively eliminating the “works on my machine” issue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

Green cloud

A

Green cloud

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

What is the concept of “Green Cloud” in cloud computing?

A

Green Cloud is the practice of environmentally responsible and eco-friendly use of computing resources, aiming to reduce energy consumption and minimize the environmental impact of cloud computing.

39
Q

What are some advantages of using cloud computing?

A

Advantages of cloud computing include reducing spending on technology infrastructure, globalizing the workforce, streamlining processes, reducing capital costs, improving accessibility, minimizing software licensing, and enhancing flexibility.

40
Q

What challenge did Gartner and the U.S. EPA report regarding IT and data centers in 2007?

A

Gartner reported that the IT industry contributes 2% of the world’s total CO2 emissions, and the U.S. EPA reported that 1.5% of total U.S. power consumption is used by data centers, which has more than doubled since 2000 and costs $4.5 billion.

41
Q

What are the typical energy consumption components in a data center?

A

In a typical data center, energy consumption components include IT equipment (40%), power distribution (15%), and the cooling system (45%).

42
Q

Why is there a need for “Green Cloud Computing”?

A

Green Cloud Computing is needed to address the high energy consumption and environmental impact of data centers. It aims to achieve efficient processing and utilization of computing infrastructure while minimizing energy consumption.

43
Q

What is the Power Usage Effectiveness (PUE) metric used in data centers?

A

PUE is a metric used to evaluate the efficiency of a data center’s energy usage. It measures the total energy consumed by the data center and compares it to the energy used by the IT equipment alone.

43
Q

What are the past and present architectures of data centers?

A

In the past, data centers often used a two-tier architecture with access and core layers. Presently, the most widely used architecture is a three-tier architecture with access, aggregation, and core layers.

44
Q

How does Green Cloud benefit cloud service providers (CSPs) in terms of energy costs?

A

CSPs need to adopt measures to ensure that their profit margins are not dramatically reduced due to high energy costs. This includes optimizing energy-related costs and exploring cost-efficient power sources.

45
Q

What are the key takeaways regarding cloud computing and Green Cloud?

A

Clouds are data centers hosting application services but consume high energy, leading to high operational costs and environmental impact. The adoption of Green Cloud practices and frameworks is essential to mitigate these issues.

45
Q

What is the primary goal of Green Cloud computing?

A

The primary goal of Green Cloud computing is to reduce the environmental impact of computing by minimizing energy consumption, reducing carbon emissions, and promoting eco-friendly practices.

46
Q

How does Green Cloud address the environmental impact of data centers and cloud computing?

A

Green Cloud addresses the environmental impact by optimizing energy consumption, improving data center efficiency, and exploring cleaner and more sustainable power sources, reducing the carbon footprint of cloud services.

47
Q

What is Power Usage Effectiveness (PUE), and why is it important in data centers?

A

PUE is a metric that measures the efficiency of a data center’s energy usage. It is important because it helps data center operators assess and improve their energy efficiency, aiming for a PUE as close to 1 as possible.

48
Q

What are the key components of typical data center energy consumption, and what percentage do they represent?

A

Typical data center energy consumption components include IT equipment (40%), power distribution (15%), and the cooling system (45%).

49
Q

How has data center architecture evolved from the past to the present?

A

In the past, data centers often used a two-tier architecture with access and core layers. Presently, the most widely used architecture is a three-tier architecture with access, aggregation, and core layers.

50
Q

What are some of the energy cost dynamics associated with data centers and cloud computing?

A

Energy accounts for 10% of data center operational expenses (OPEX) and can rise to 50% in the next few years. Additionally, the accompanying cooling system costs approximately $2-$5 million per year.

51
Q

Why do cloud service providers (CSPs) need to adopt measures to manage energy costs?

A

CSPs need to adopt measures to ensure that their profit margins are not significantly reduced due to high energy costs. This includes optimizing energy-related costs and exploring cost-efficient power sources.

52
Q

What is the significance of a Carbon Aware Green Cloud Framework?

A

A Carbon Aware Green Cloud Framework is designed to improve the carbon footprint of cloud computing, promoting more energy-efficient and eco-friendly cloud services.

53
Q

What role does a Green Cloud broker play in cloud computing?

A

A Green Cloud broker helps lease cloud services, schedule applications, analyze user requirements, calculate costs, assess the carbon footprint of services, and engage in carbon-aware scheduling.

54
Q

Why is there a need to shift focus from optimizing data center resource management for performance to energy efficiency?

A

The need arises as energy costs increase while availability decreases, making it crucial to optimize data center resource management for energy efficiency while maintaining high service level performance.

55
Q

Sensor Cloud Computing

A

Sensor Cloud Computing

56
Q

What is the primary goal of Sensor Cloud Computing?

A

Sensor Cloud Computing aims to seamlessly integrate sensor networks with cloud computing infrastructures, allowing users to collect, access, process, and share large amounts of sensor data in real time.

57
Q

What are the limitations of Sensor Networks?

A

Limitations of Sensor Networks include scalability challenges, proprietary vendor-specific designs, limited interconnection, and difficulty in sharing sensor data among different user groups.

57
Q

How does Sensor Cloud Computing address the limitations of both sensor networks and cloud computing?

A

Sensor Cloud Computing integrates sensor networks with cloud computing, allowing real-time data acquisition, processing, and sharing on a large scale while leveraging the computational and storage resources of the cloud.

58
Q

What is a virtual sensor, and why is it used in Sensor Cloud Computing?

A

A virtual sensor is an emulation of a physical sensor that obtains its data from underlying physical sensors. Virtual sensors are used to provide a customized view to users, enhancing distribution and location transparency.

59
Q

What are the key configurations of virtual sensors in Sensor Cloud Computing?

A

Virtual sensors can be configured as one-to-many, many-to-one, many-to-many, and derived. These configurations enable different interactions between virtual and physical sensors to provide diverse data views and functionalities.

60
Q

What is the role of a Sensor-Cloud Proxy in the Sensor Cloud Infrastructure?

A

The Sensor-Cloud Proxy acts as an interface between sensor resources and the cloud, managing sensor network connectivity, exposing sensor resources as cloud services, and handling data management and cleaning.

61
Q

Why is Sensor Cloud Computing essential in providing real-time and data-driven services to users?

A

Sensor Cloud Computing is crucial for enabling real-time data acquisition, processing, and sharing, facilitating quick responses and data-driven services based on sensor data from various sources.

62
Q

How does Sensor Cloud Computing enable cross-disciplinary applications and collaborations?

A

Sensor Cloud Computing allows users to easily collect, access, process, and share sensor data from different applications, enabling collaborations that span organizational boundaries and promoting data-driven decision support systems.

63
Q

What is the main goal of the Sensor Cloud Infrastructure?

A

The Sensor Cloud Infrastructure’s primary goal is to provide a seamless and integrated platform for sensor networks and cloud computing, enabling the collection, management, and utilization of sensor data.

64
Q

What is the significance of virtual sensors in Sensor Cloud Computing?

A

Virtual sensors play a crucial role in Sensor Cloud Computing by providing a flexible and versatile way to interact with physical sensors, allowing users to create complex queries and virtually sense phenomena.

65
Q

What is the primary goal of Sensor Cloud Computing?

A

Sensor Cloud Computing aims to seamlessly integrate sensor networks with cloud computing infrastructures, allowing users to collect, access, process, and share large amounts of sensor data in real time.

66
Q

What are the limitations of Sensor Networks?

A

Limitations of Sensor Networks include scalability challenges, proprietary vendor-specific designs, limited interconnection, and difficulty in sharing sensor data among different user groups.

67
Q

How does Sensor Cloud Computing address the limitations of both sensor networks and cloud computing?

A

Sensor Cloud Computing integrates sensor networks with cloud computing, allowing real-time data acquisition, processing, and sharing on a large scale while leveraging the computational and storage resources of the cloud.

68
Q

What is a virtual sensor, and why is it used in Sensor Cloud Computing?

A

A virtual sensor is an emulation of a physical sensor that obtains its data from underlying physical sensors. Virtual sensors are used to provide a customized view to users, enhancing distribution and location transparency.

69
Q

What are the key configurations of virtual sensors in Sensor Cloud Computing?

A

Virtual sensors can be configured as one-to-many, many-to-one, many-to-many, and derived. These configurations enable different interactions between virtual and physical sensors to provide diverse data views and functionalities.

70
Q

What is the role of a Sensor-Cloud Proxy in the Sensor Cloud Infrastructure?

A

The Sensor-Cloud Proxy acts as an interface between sensor resources and the cloud, managing sensor network connectivity, exposing sensor resources as cloud services, and handling data management and cleaning.

71
Q

Why is Sensor Cloud Computing essential in providing real-time and data-driven services to users?

A

Sensor Cloud Computing is crucial for enabling real-time data acquisition, processing, and sharing, facilitating quick responses and data-driven services based on sensor data from various sources.

72
Q

How does Sensor Cloud Computing enable cross-disciplinary applications and collaborations?

A

Sensor Cloud Computing allows users to easily collect, access, process, and share sensor data from different applications, enabling collaborations that span organizational boundaries and promoting data-driven decision support systems.

73
Q

What is the main goal of the Sensor Cloud Infrastructure?

A

The Sensor Cloud Infrastructure’s primary goal is to provide a seamless and integrated platform for sensor networks and cloud computing, enabling the collection, management, and utilization of sensor data.

74
Q

What is the significance of virtual sensors in Sensor Cloud Computing?

A

Virtual sensors play a crucial role in Sensor Cloud Computing by providing a flexible and versatile way to interact with physical sensors, allowing users to create complex queries and virtually sense phenomena.

75
Q

What is the Internet of Things (IoT)?

A

The Internet of Things (IoT) refers to the scenario in which objects or people are provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.

76
Q

What types of “Things” can be part of the Internet of Things?

A

“Things” in the Internet of Things can include various objects, such as individuals with heart monitors, farm animals with biochip transponders, vehicles with built-in sensors, or any other natural or man-made object that can be assigned an IP address for data transfer over a network.

77
Q

What are some key applications of the Internet of Things (IoT)?

A

IoT applications encompass a wide range of areas, including home/daily-life devices, businesses, public infrastructure, healthcare, and more.

78
Q

What are the primary components of an IoT platform?

A

An IoT platform typically comprises three building blocks: Things, Gateways, and Network/Cloud. These components work together to enable IoT systems.

79
Q

What are the key aspects and challenges of IoT systems?

A

Key aspects and challenges of IoT systems include scalability, big data processing, the role of cloud computing, real-time data handling, high distribution, and heterogeneous systems.

80
Q

How does cloud computing relate to IoT?

A

Cloud computing is often used to support IoT systems. Cloud platforms offer scalable storage and processing capabilities for IoT data, making it an integral part of IoT cloud systems.

81
Q

What is the main goal of an IoT Cloud System?

A

An IoT Cloud System aims to provide a seamless integration between IoT and cloud services, allowing data management, storage, and computation in a uniform infrastructure for IoT cloud applications.

82
Q

What are some examples of IoT-based services and applications?

A

Examples of IoT-based services include intelligent parking cloud services and vehicular data mining cloud services, which leverage IoT and cloud technologies for real-world applications.

83
Q

What is the key role of cloud computing in IoT?

A

Cloud computing provides IoT systems with elastic computation and data management capabilities. It offers scalable storage and processing resources for handling large quantities of IoT data.

84
Q

What are the main challenges in IoT systems?

A

IoT systems face challenges related to scalability, big data processing, real-time operation, high distribution, heterogeneity, and the need for cloud services for data analysis and management.

85
Q

What are the three primary components of an IoT platform?

A

An IoT platform typically consists of Things (devices), Gateways (IoT edge devices), and Network/Cloud services that manage data and computation.

86
Q

Why is cloud computing essential for IoT-based applications?

A

Cloud computing allows for the offloading of data and applications, enabling data storage and processing “anywhere.” It offers flexibility and scalable resources.

87
Q

How do IoT and cloud computing integrate to provide IoT Cloud Systems?

A

IoT Cloud Systems provide a uniform infrastructure by integrating IoT and cloud services to enable data management, analysis, and processing for IoT applications.

88
Q

What are some examples of IoT applications that leverage cloud computing?

A

IoT-based applications include intelligent parking cloud services, vehicular data cloud platforms, and various services that utilize IoT data for real-time decision-making.

89
Q

What are the typical building blocks of IoT platforms?

A

The building blocks of an IoT platform include Things (devices), Gateways (IoT edge devices), and Network/Cloud services that facilitate data transfer and computation.

90
Q

What are the benefits of integrating IoT with cloud computing?

A

Integrating IoT with cloud computing offers scalability, data storage and processing capabilities, real-time operation, and the ability to handle heterogeneous IoT components.