Python Fundamentals – Practical Exercise 5: Building a Cloud Resource Monitor Simulator
1. Introduction Welcome to the fifth practical exercise in our Python Fundamentals series! In our previous exercises, we developed a Class Grades Summary Calculator, a Shopping Cart Total Calculator, an Inventory Management System, and a Simple Network Scanner. This time, we'll apply our Python knowledge to a cloud computing scenario by building a Cloud Resource Monitor Simulator . Cloud environments commonly use virtual machines (VMs) to run applications, services, and workloads. Monitoring their resource consumption is important for identifying performance issues and understanding how infrastructure resources are being utilized. In this exercise, we'll simulate monitoring multiple virtual machines by collecting their CPU, memory, and storage usage percentages. Our program will organize the collected information using dictionaries, convert input values into integers, identify high resource utilization, and calculate average usage across all virtual machines. The objective is t...