From 5da24620635a348e36e708a1250643fb549604dd Mon Sep 17 00:00:00 2001 From: Petru-Vlad Ionescu Date: Tue, 5 Mar 2024 21:26:54 +0200 Subject: [PATCH] general/drills: Add "Distributed system" written task as exam general/drills: Modified contents of distributed-system.md and config.yaml Signed-off-by: Petru-Vlad Ionescu --- .../drills/tasks/distributed-system.md | 44 +++++++++++++++++++ config.yaml | 1 + 2 files changed, 45 insertions(+) create mode 100644 chapters/general/drills/tasks/distributed-system.md diff --git a/chapters/general/drills/tasks/distributed-system.md b/chapters/general/drills/tasks/distributed-system.md new file mode 100644 index 0000000000..6b995d5350 --- /dev/null +++ b/chapters/general/drills/tasks/distributed-system.md @@ -0,0 +1,44 @@ +# Distributed system + +## Scenario + +We are designing a distributed e-learning system across multiple servers. +The system consists of frontend services to handle client requests (for example, when a client accesses https://curs.upb.ro) and backend services for information storage. + +Respond to the following questions with "True" or "False" and provide reasoning for each answer. +The explanation should be concise, 2-3 sentences for each response. + +## Questions + +1. The backend service will benefit from the use of buffer cache. +Answer: True + +1. The frontend application must necessarily be multi-threaded. +Answer: False + +1. Both components (frontend and backend) are I/O intensive. +Answer: True + +1. Communication between backend services on different servers can be achieved through shared memory. +Answer: False + +1. If a backend service becomes unavailable, the entire system becomes unusable. +Answer: False + +1. The frontend service predominantly uses socket file descriptors, while backend services predominantly use file descriptors. +Answer: True + +1. Both types of services need to run on a UNIX-based operating system (Linux, FreeBSD). +Answer: False + +1. Exclusive access primitives are needed for communication between frontend and backend. +Answer: False + +1. A higher processor load is expected for the frontend compared to the backend. +Answer: False + +1. SSD storage is required for the frontend service. +Answer: False + +1. The backend service uses a lot of memory - almost the entire system memory. +Answer: True diff --git a/config.yaml b/config.yaml index a9290dda68..ec2e7f7f90 100644 --- a/config.yaml +++ b/config.yaml @@ -142,6 +142,7 @@ docusaurus: path: chapters/general/drills/tasks subsections: - Digital Forensics/: digital-forensics.md + - Distributed System/: distributed-system.md - Hackathons: path: content/assignments subsections: