# Ghaymah SRE Technical Assessment

**Candidate:** Mohamed Wael  
**Track:** SRE Internship

## Overview

This repository contains my solutions for the Ghaymah SRE Technical Assessment. The tasks focus on practical SRE concepts including containerization, monitoring, incident analysis, CI/CD, scalability, and infrastructure design.

## Repository Structure

```
.
├── q1-deploy-monitor/
│   ├── Dockerfile
│   ├── health-check.sh
│   └── dashboard.html
│
├── q2-postmortem/
│   └── postmortem-report.md
│
├── q3-cicd/
│   └── workflow.yml
│
├── q4-scalability/
│   ├── architecture.png
│   └── calculations.md
│
├── q5-mithal-monitor/
│   ├── monitor.py
│   └── dashboard.html
│
├── common-mortakaz/
│   ├── integration-1.md
│   └── integration-2.md
│
├── common-qabilah/
│   └── qabilah-profile.txt
│
└── README.md
```

## Tasks

### Q1 - Deploy & Monitor
- Dockerized Python application
- Health check script
- Simple monitoring dashboard

### Q2 - Incident Postmortem
- Incident summary
- Timeline
- Root cause analysis
- Recommendations
- Auto-scaling policy
- Monitoring strategy

### Q3 - CI/CD
- GitHub Actions workflow
- Docker image build
- Container registry push
- Manual approval before production deployment
- Ghaymah CLI integration documentation

### Q4 - Scalability
- Architecture design for 15,000 requests/sec
- Container capacity calculations
- Cold start strategy
- Ghaymah Block Storage usage

### Q5 - Mithal Monitoring
- Website monitoring script
- Latency monitoring
- DNS lookup monitoring
- SSL certificate monitoring
- Search response monitoring
- HTML monitoring dashboard

## Technologies

- Linux
- Docker
- Python
- Flask
- GitHub Actions
- Monitoring
- HTML/CSS/JavaScript

---

Thank you for reviewing my submission.
