Notes
Written in my own words as I study and build: regulation, AI governance, and running systems in production. Study time & certification timeline →
Maps of content
- EU AI Act MOC
- IT Service Management MOC
- Web Application and Django Security MOC
- Docker and Container Security MOC
- Programming Languages MOC
- Software Testing MOC
- Cloud Computing MOC
- DevOps and Infrastructure as Code MOC
- Networking MOC
- Linux Administration MOC
- Artificial Intelligence Fundamentals MOC
- Kubernetes MOC
- FastAPI MOC
- Django MOC
Concept notes
- Argo CD Reports configured Whenever It Applies, So Only the Diff Shows Drift
- An App That Keeps Its Config in Memory Overwrites Live Edits to Its File, So Edit It While It's Stopped
- A Container's Memory Limit Counts the Files It Writes, So Low Program Memory Doesn't Mean Headroom
- Time-Slicing Lets Pods Share a GPU but Not Isolate Its Memory
- containerd 1.7 Gives Containers a Billion-File Limit, So Code Sized by It Can Exhaust a Node's RAM
- In an App of Apps, Only the Root Is Applied by Hand, So Its Sync Policy Decides What a Commit Can Delete
- Argo CD Can Adopt a Running Helm Release When It Renders the Same Chart, Values and Release Name
- Unix Permissions Grant Read, Write and Execute Separately to the Owner, the Group and Everyone Else
- An etcd Snapshot Rolls the Whole Cluster Back, So Restore Only When Re-Applying Can't Fix It
- An etcd Snapshot Alone Can't Rebuild a kubeadm Control Plane, So Back Up the PKI with It
- A Hardlink Can't Cross Mounts, So Downloads and Media Libraries Must Share One Mount
- A Checksum Proves a Copy Is Identical, Not That the Backup Restores
- A Certificate Authority Is the Key Everyone Trusts, So a New One Invalidates Every Certificate It Signed
- A Backup Bundle Packs Everything One Restore Needs into a Single File
- With No Active Root Entry in fstab, systemd Leaves the Root Filesystem Read-Only on Every Boot
- Two etcd Members Tolerate No More Failures Than One, So Go from One Control Plane to Three
- In a Regex, \s Also Matches Newlines, So One Pattern Can Span Two Lines
- A Toleration Lets a Pod onto a Tainted Node, It Doesn't Send It There
- A Shell Glob Expands Before sudo Runs, So sudo rm on a Root-Only Directory Can Delete Nothing
- Workloads on the Only Control Plane Can Starve etcd, So Heavy Nodes Should Be Workers
- pkgs.k8s.io Has One Repository per Minor Version, So the Repository URL Is the Version Pin
- kubeadm Uses the Hostname as the Node Name, So Name a Node Before It Joins
- Debian's containerd Package Ships a Config Stub Without SystemdCgroup
- containerd Merges Drop-in Files Through imports, So config dump Shows the Real Config
- An Ansible replace Task That Matches Nothing Reports ok, So Assert the End State
- A Compensating Control Lives in the Implementation, So Re-Check It When the Procedure Is Rewritten
- Container Image Version Pinning vs Mutable Tags
- Docker Port Binding and Host Firewall Bypass
- After a Power Cut, Nodes Must Boot After the Storage They Mount
- ext4 Remounts Root Read-Only When It Cannot Trust the Disk, and the kubelet Falls with It
- A Highly Available Control Plane Needs a Virtual IP That No Single Node Owns
- EU AI Regulatory Policy Timeline
- Problem Management Removes the Causes That Incident Management Works Around
- Monitoring Observes State, Event Management Decides Which Changes Need Action
- Dependency Pruning Improves Django Project Security and Maintainability
- ITIL's Seven Guiding Principles Hold Whatever the Strategy or Structure
- EU AI Act Horizontal Approach
- An SLA That Measures Only Component Uptime Hides Unhappy Users
- The ITIL Continual Improvement Model Measures Results Against the Baseline It Started From
- Trustworthy AI as Regulatory Precondition
- ITIL's Four Dimensions Keep Service Design from Being Only About Technology
- Incident Priority Comes from Impact and Urgency, Not from Who Reported It
- The ITIL Service Value Chain Turns Demand into Value Through Six Combinable Activities
- Deployment Moves a Change to an Environment, Release Makes It Available to Users
- Scriptless UI Redressing via Allowed class Attributes
- Configuration Management Maps Dependencies, Asset Management Tracks Financial Value
- In ITIL 4 Value Is Co-Created by Provider and Consumer, Not Delivered
- Escape HTML at Render Time, Not When Storing User Input
- ITIL Change Types Set the Authorization Path, from Pre-Approved to Expedited
- ModelForm Enhances Data Handling and Validation in Django
- Sanitizing Markdown Output with an HTML Allowlist
- Rendering Untrusted Markdown with mark_safe Causes XSS
- An API Gateway Enforces Authentication, Rate Limits and Usage Analytics Before Requests Reach the Backend
- Form Honeypot Design and Silent Rejection
- Browsers Refuse a Stylesheet Served with the Wrong Content-Type
- An App Behind a TLS-Terminating Proxy Builds http URLs Unless It Trusts Forwarded Headers
- Per-IP Rate Limiting Behind a Reverse Proxy in Django
- Terraform Plans Changes by Comparing Code with Its State File
- Semantic Versioning Signals Breaking Changes Through the Major Number
- Unprotected Public Form Risks – Synchronous SMTP DoS and Quota Exhaustion
- Rebuilding an Image Does Not Update the Container Already Running It
- uv run Installs a Script's Inline Dependencies in an Isolated Environment
- uv in a Multi-Stage Build Must Use the Image's Python or the Copied venv Breaks
- An Inner Join Drops Rows Without a Match, a Left Join Keeps Them
- Anything Pasted into an AI Prompt Can Leave Your Control, So Personal and Confidential Data Stay Out
- Cheaper Cloud Compute Costs Either a Commitment or the Right to Be Interrupted
- The Lindy Effect Favors Technologies That Have Already Lasted
- Source Grounding Restricts a Model's Answers to the Documents You Provide
- AI Bias Starts in the Training Data and Shows Up as Five Kinds of Harm
- A Task Suits Generative AI When It Is Generative, Iterable and Reviewable
- Supervised, Unsupervised and Reinforcement Learning Differ by the Feedback the Model Gets
- Generative AI Output Needs a Human Reviewer Because Models Hallucinate and Stop at a Knowledge Cutoff
- Machine Learning Predicts Ahead, Business Intelligence Reports Behind
- Data Quality Has Six Dimensions, and a Model Learns Every Flaw in Them
- Cloud Migration Chooses One of Six Paths per Workload After Discovery and Assessment
- Pre-Trained, Low-Code and Custom ML Trade Speed Against Differentiation
- Generative AI Drafts, Agentic AI Acts on the Draft
- Data Drift Degrades a Deployed Model Without Any Change to Its Code
- A Python Decorator Replaces a Function with Whatever It Returns
- Python Ignores Type Hints at Runtime, So Only a Checker or a Library Enforces Them
- Circular Imports Fail at Import Time, So Shared Objects Belong in a Module Neither Side Imports
- An ORM Maps Classes to Tables, and Migrations Version the Schema Those Classes Describe
- Separate SQLModel Classes for Table, Create, Update and Read Keep Validation Honest
- Move Files an Application Tracks Through Its API, Because Its Database Records Their Paths
- Kubernetes Schedules a GPU Only After a Device Plugin Advertises It as an Extended Resource
- RPC Calls a Remote Function and Waits, Messaging Hands Work to a Broker
- CORS Lets a Server Relax the Same-Origin Policy, It Does Not Protect the Server
- Azure Access Combines an Identity, a Role and a Scope
- Files Written to an Unmounted Container Path Live Only in That Container's Layer
- A REST API Exposes Resources at Endpoints and Acts on Them with HTTP Methods
- Only the Route Layer of a FastAPI App Should Raise HTTP Errors
- A JWT Is Signed, Not Encrypted, So Anyone Can Read Its Payload
- A Container Shares the Host Kernel, a Virtual Machine Runs Its Own
- CSRF Works Because Browsers Attach Cookies to Requests Other Sites Trigger
- Non-Root Container Filesystem Ownership and Persistent Media Volumes
- set -e Misses a Failure Inside a Pipeline Unless pipefail Is Set
- Runtime Kernel Changes Last Until Reboot Unless Written to Their Configuration Directory
- Linux Reads the hosts File Before DNS Because nsswitch.conf Lists files First
- Helm Renders a Chart's Templates with Your Values Before Applying Them
- GitOps Agents Pull the Desired State from Git and Revert Changes Made Outside It
- File Watchers in a Container Miss Host Edits Unless They Poll
- Multi-Stage Docker Builds for Frontend Assets and Static Collection
- Ansible Reports Every command and shell Task as Changed Unless creates or changed_when Decides
- Ansible Handlers Notified in a Failed Run Never Fire, and the Re-run Sees Nothing to Change
- AI Adoption Sticks When It Starts from One Bottleneck and One Tool
- Prompting Steers a Language Model Through Instructions, Examples and Requested Reasoning
- An AI Tool Is the Product and an AI Model Is the Engine Inside It
- PostgreSQL 15 Removed CREATE on the public Schema from Ordinary Users
- Pods Should Call Each Other by Service Name, Not Through the Ingress
- A Rolling Restart Starts New Pods Before Stopping Old Ones, So Readiness Decides Whether Users Notice
- A Subnet Router Gives Remote Access to a LAN Without Opening Inbound Ports
- Docker Build Context Isolation and Bind-Mount Masking
- Multicast Discovery Stops at the Pod Overlay, So DLNA Servers Need hostNetwork
- Overlay Networks Encapsulate Pod Traffic Inside Node-to-Node Packets
- A Pod Is the Unit Kubernetes Schedules, and Each Pod Gets an IP from the Pod CIDR
- containerd Looks for CNI Plugins in One Directory, So a Path Mismatch Blocks Pod Networking
- kubelet Depends on containerd Through the CRI Socket
- Containers Without a Restart Policy Stay Down After a Host Reboot
- Container Entrypoint Hardening and Gunicorn Worker Configuration
- A Crash-Looping Pod Can't Be Exec'd Into, So Repair Its Volume from a One-Off Job
- SQLite Needs Reliable File Locks, So Its Database Belongs on Local Disk, Not on NFS
- One Shared Reverse Proxy Can Route Many Compose Projects by Host Name
- DKMS Builds a Driver Against the Running Kernel, So Missing Headers or Secure Boot Leave It Unloaded
- More Bandwidth Does Not Lower Latency, Only Shorter Distance Does
- Zones Isolate Hardware Failures, Regions Isolate Disasters
- Serverless Functions Bill per Invocation, So Idle Code Costs Nothing
- Cloud Deployment Models Differ by Who Owns the Hardware and How Many Providers Run It
- High Availability Tolerates Brief Outages, Fault Tolerance Tolerates None
- Cloud Turns Infrastructure from Capital Expense into Operating Expense, Which Is Why FinOps Exists
- Scale Up Adds Resources to One Machine, Scale Out Adds Machines
- Cloud Service Models Differ by Which Layers the Customer Still Manages
- Post-Deploy Automation Must Treat Already Configured as Success
- Laptops Used as Servers Must Ignore the Lid Switch in logind
- Layer 4 Load Balancers Route Connections, Layer 7 Load Balancers Route Requests
- MetalLB Layer 2 Mode Fails Over a Service IP, It Does Not Spread Traffic
- Stack Values Need a Size Known at Compile Time, Heap Values Do Not
- HTMX Swaps Server-Rendered HTML Fragments Instead of Exchanging JSON
- NIST Defines Cloud Computing by Five Essential Characteristics
- Idempotent Scripts Check the Current State Before Changing It
- A Mocked Database Lets Broken SQL Pass, an In-Memory Database Runs It
- Machine Learning Learns Its Rules from Data, Rule-Based AI Follows Rules People Wrote
- Unit, Integration and End-to-End Tests Trade Speed for Realism
- Kubernetes Storage Failures Usually Start on the Host or the NAS
- Tests That Share State Pass or Fail Depending on Their Order
- Django's Test Case Classes Differ by How Much Database and Server They Set Up
- Point the App at a Test Database Before It Imports Its Connection
- gitignore Only Applies to Files Git Does Not Track Yet
- dir() and help() Explore Any Python Object from the REPL
- Rust Variables Are Immutable Unless Declared mut
- Python Polymorphism Relies on Duck Typing, Not on a Shared Parent Class
- Go Interfaces Are Satisfied Implicitly by Having the Methods
- A Go Map Returns the Zero Value for a Missing Key, So Check with comma ok
- Python Double-Underscore Attributes Are Name-Mangled, Not Private
- Go Methods Need a Pointer Receiver to Change Their Struct
- A Go Slice Is a View on an Array, So append May Share or Copy Its Elements
- Pods Inherit the Node's DNS Resolvers, Including Any ISP Blocklist
- Inventory ansible_user Overrides a Play's remote_user
- Go Has a Single Loop Keyword, for
- Ansible become_method su Runs a Non-Login Shell Without sbin in PATH
- Environment Variables Reach Child Processes Only When Exported
- Databases Serve Transactions, Warehouses Serve Analysis, Lakes Keep Raw Data
- Django extra_context Is Evaluated Once, get_context_data on Every Request
- Routes Match in Declaration Order, So a Dynamic Path Can Shadow a Static One
- Distributed Tracing Follows a Request Across Services by Propagating a Trace Context
- Declarative Tools Converge on a Desired State, Imperative Scripts Replay Steps
- Build Derived Data at Deploy Time When Production Should Not See the Source Files
- Django Custom User Model Must Exist Before the First Migration
- Query String Values Arrive in request.GET as Strings, and Missing Keys Raise Unless You Use get()
- Customizing Django Admin Enhances User Management
- AI Model Training Is a Loop That Continues After Deployment
- A PersistentVolumeClaim Requests Storage and a StorageClass Provisions It
- Django's APPEND_SLASH Redirect Cannot Carry POST Data
- box-sizing border-box Makes width Include Padding and Border
- Relative Template Directories Resolve Against the Working Directory, Not the Source File
- A Polyfill Adds Missing APIs at Runtime, a Transpiler Rewrites New Syntax at Build Time
- FastAPI Reads Each Parameter from the Path, Query, Body or Headers According to Its Declaration
- FastAPI Is Fast Only While async Endpoints Never Block the Event Loop
- Django Path Converters Validate and Type URL Segments Before the View Runs
- Django null Is a Database Setting, blank Is a Validation Setting
- Arrow Functions Take this from the Surrounding Scope, So They Make Poor Object Methods
Course notes
- Understanding the Foundations of the EU AI Act – Module 1: The Need for an AI Regulation
- Google AI Essentials
- Modernize Infrastructure and Applications with Google Cloud
- Innovating with Google Cloud Artificial Intelligence - AI and ML Fundamentals and Solutions
- Azure Container Apps - CI-CD deployments
- How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 22.04
- Exploring Data Transformation with Google Cloud - The Value of Data
- Digital Transformation with Google Cloud
- Cloud FinOps Specialization - Cloud Basics and Pricing
- Django for Beginners - Custom User Model
Lab reports
Reference
- kubectl Cheat Sheet
- Django ORM Query Cheat Sheet
- EU AI Act Glossary
- Django CLI Cheat Sheet
- Service Desk KPIs Reference
- ITIL Incident Handling Checklist
- Docker Compose Cheat Sheet
- PostgreSQL Cheat Sheet
- AI Glossary
- Cloud Computing Glossary
- OWASP Top 10 2021 Reference
- Bash Scripting Cheat Sheet
- Ansible CLI Cheat Sheet
- Linux CLI Cheat Sheet
- Git Cheat Sheet
- Ruby Debugging and Bundler Cheat Sheet
- Sequelize Cheat Sheet
- Rust Toolchain Cheat Sheet
- Python Virtual Environments and pip Cheat Sheet
- Jenkins Cheat Sheet
- Rails Database Console Cheat Sheet
- Regular Expressions Cheat Sheet
- Neovim Cheat Sheet
- tmux Cheat Sheet
- CSS Layout and Tailwind Cheat Sheet