Back-End Developer Skill Matrix
Builds and runs the server side of products: a server-side language and framework, APIs and integrations, databases, messaging and distributed systems, security, testing, delivery to the cloud, observability, and AI-assisted and LLM-powered work.
Free for teams of up to 5 people. No credit card required.
One growth tree. Three clear positions.
This matrix connects 37 knowledge areas to clear expectations for Junior, Middle and Senior positions. 427 practical exercises show how that growth can be demonstrated.
A practical framework from expectations to evidence
The knowledge areas define the skills required for this role. Position requirements show the proficiency expected at each career step, and the exercises provide concrete ways to practise and demonstrate those skills.
- 37
- Knowledge areas
- 427
- Practical exercises
- 2
- Skill groups
- 01
Junior
Expected proficiency mapped across 32 of 37 knowledge areas.
- 02
Middle
Expected proficiency mapped across 37 of 37 knowledge areas.
- 03
Senior
Expected proficiency mapped across 37 of 37 knowledge areas.
Explore every knowledge area
Technical Skills
01Server-side language
Writing correct, idiomatic code in the team's server-side language (Java/Kotlin, Python, Go, C#, TypeScript or another): types, error handling, the standard library, the runtime model, and packaging a service.
TargetNovice
Server-side language
Writing correct, idiomatic code in the team's server-side language (Java/Kotlin, Python, Go, C#, TypeScript or another): types, error handling, the standard library, the runtime model, and packaging a service.
Learn your language's error handling, types and core collections
Read your language's official pages on errors, types and collections. Java: 'Throwing Exceptions', dev.java/learn/language/annotations-exceptions/exceptions/throwing/, and the Collections Framework tutorials, dev.java/learn/api/collections-and-streams/collections-framework/. Kotlin: 'Exceptions', kotlinlang.org/docs/exceptions.html, 'Null safety', kotlinlang.org/docs/null-safety.html, and 'Collections overview', kotlinlang.org/docs/collections-overview.html. Python: 'Errors and Exceptions', docs.python.org/3/tutorial/errors.html, and 'Data Structures', docs.python.org/3/tutorial/datastructures.html. Go: Effective Go's Data and Errors sections, go.dev/doc/effective_go, and 'Working with Errors in Go 1.13', go.dev/blog/go1.13-errors. C#: 'Creating and Throwing Exceptions', learn.microsoft.com/en-us/dotnet/csharp/fundamentals/exceptions/creating-and-throwing-exceptions, and 'Collections', learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/collections. TypeScript: Node's 'Errors', nodejs.org/api/errors.html, 'Narrowing', www.typescriptlang.org/docs/handbook/2/narrowing.html, and MDN's 'Keyed collections', developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Keyed_collections. Then write a half-page note on your real or test project's code (on a test project, an open-source service your mentor picks or your framework's sample app): how it reports an expected failure (e.g. a missing order) and a bug, one example each; one place where an error is caught and whether it is handled, wrapped with its cause or swallowed; where a null, None, nil or undefined can slip in and what guards it; and the collection types and standard-library functions one feature uses most. Evidence: your note and your mentor's comments.
Ship two small tickets using the language's types, collections and errors
Take two well-scoped tickets on your real or test project and do them on your own. On a test project, write a small command or endpoint that reads a CSV of orders (id, customer, status, amount, created date) and returns the total amount per status for a date range; for the second ticket, add a filter by customer. Use what you noted in the exercise above: model the data with the language's own types (a record or class, a Kotlin data class, a Python dataclass with type hints, a Go struct, a C# record, a TypeScript interface), not maps of strings; use the standard library instead of hand-written code where it has the function, e.g. date parsing (java.time, datetime, time, DateTimeOffset), money as BigDecimal, Decimal, decimal or integer cents, and grouping with Collectors.groupingBy, a dict or collections.Counter, a Go map, LINQ GroupBy or a Map; report bad input the way the codebase does (an exception, an error value, a typed result) with the line number and the original error kept as its cause (a chained exception, raise ... from, fmt.Errorf with %w, InnerException, the cause option), and never catch an error only to ignore it. Choosing a collection by its cost is Data structures work; here, use the usual ones correctly. Write tests for the normal case, an empty file and at least two kinds of bad line. Get each PR reviewed (on a test project, by your mentor) and fix what the review finds. Evidence: links to both PRs, the tests, a short list of the standard-library functions you used in place of your own code, how each error case reaches the caller, and your reviewer's comments with what you changed.
Get help with a confusing error and an advanced feature
Over two to four weeks of normal work, keep a short log of compiler, type-checker and runtime errors that confused you. When one stops you, spend up to 30 minutes on it alone: read the whole message and stack trace, find the line it points to, search the official docs for the message. Then ask a senior (on a test project, your mentor) with a good question: the full message, what you expected, what you tried. If nothing confusing comes up, your mentor gives you a short snippet that fails with a hard-to-read message, for example Java's 'incompatible types: List<Integer> cannot be converted to List<Number>', Go's 'Circle does not implement Shape (method Area has pointer receiver)', Python's "TypeError: 'NoneType' object is not subscriptable" deep in a call chain, C#'s CS8602 nullable warning, or TypeScript's "Type 'string | undefined' is not assignable to type 'string'". Also pick one advanced feature the codebase uses that you don't understand yet (on a test project, your mentor picks one from their own code or a well-known open-source library in your language), such as generics with wildcards or bounds, Kotlin coroutines, Python decorators or context managers, Go interface embedding, C# LINQ's deferred execution, or TypeScript mapped or conditional types. Ask the senior to walk you through one place where the code uses it, then make one small change in your own code that uses it and get it reviewed. Evidence: your error log (no secrets or customer data in it), for the error you asked about the message, what you tried, your question and the explanation in your own words; for the feature, your notes from the walkthrough (the senior by role, no names), a link to your change, and what you would still ask about.
02Server framework
Building services with the team's server framework (Spring Boot, Django, FastAPI, NestJS, ASP.NET Core or another): request lifecycle, routing, middleware, validation, dependency injection, configuration and data access.
TargetNovice
Server framework
Building services with the team's server framework (Spring Boot, Django, FastAPI, NestJS, ASP.NET Core or another): request lifecycle, routing, middleware, validation, dependency injection, configuration and data access.
Learn how your framework routes, validates and injects dependencies
Read your framework's pages on routing, request validation and dependency injection (DI: the framework creates your services and passes them in). Spring Boot: the 'Building REST services' guide, spring.io/guides/tutorials/rest, and 'Validation', docs.spring.io/spring-framework/reference/web/webmvc/mvc-controller/ann-validation.html. Django: 'URL dispatcher', docs.djangoproject.com/en/stable/topics/http/urls/, and Validation in Django REST framework's 'Serializers', www.django-rest-framework.org/api-guide/serializers/ (no DI container). FastAPI: 'Request Body', fastapi.tiangolo.com/tutorial/body/, 'Handling Errors', fastapi.tiangolo.com/tutorial/handling-errors/, and 'Dependencies', fastapi.tiangolo.com/tutorial/dependencies/. NestJS: 'Providers', docs.nestjs.com/providers, and 'Validation', docs.nestjs.com/techniques/validation. Express: 'Routing', expressjs.com/en/guide/routing.html (no built-in validation; e.g. Zod). ASP.NET Core: 'Model validation', learn.microsoft.com/en-us/aspnet/core/mvc/models/validation, and 'Dependency injection', learn.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection. Gin: 'Model binding and validation', gin-gonic.com/en/docs/binding/binding-and-validation/ (Go wires dependencies by hand). On a test project, first build one endpoint with validation, an injected service and data access from your framework's tutorial (e.g. the Spring guide above, FastAPI's fastapi.tiangolo.com/tutorial/sql-databases/), or get a small service with one from your mentor. Then trace one endpoint in a half-page note: its route and how parameters reach the handler; the validation rules and what the client gets when one fails; the injected services and where they're registered; how it reads or writes data. Evidence: your note and your mentor's comments.
Add an endpoint the way your service already builds them
On a real or test project, take a well-scoped ticket that adds or extends an endpoint, for example letting a customer add a review to a product (rating 1 to 5, text up to 2,000 characters) and listing a product's reviews. The contract comes from the ticket or the API spec; designing it is API design work. On a test project, extend the service from the exercise above (or one generated from your framework's starter: Spring Initializr, django-admin startproject plus Django REST framework, a FastAPI app, nest new, dotnet new webapi --use-controllers, an Express app from npm init plus express with a validation library such as Zod, a Go module with Gin) and run PostgreSQL next to it in Docker Compose. Using your trace from the exercise above, copy the conventions of the endpoint you traced: declare the route where the others live; validate input with the framework's mechanism (Bean Validation with @Valid, a serializer or Pydantic model, a DTO with class-validator, data annotations on an [ApiController], binding tags, your Zod schema) so bad input never reaches your code and comes back in the API's error format; get services and repositories through the container or the project's wiring, never by creating them in the handler; and read and write data through the project's repository or ORM. Write tests with the framework's test client (e.g. MockMvc, APIClient, TestClient, supertest, WebApplicationFactory, httptest) for a valid request, at least two kinds of invalid input, and a product that doesn't exist. Get the PR reviewed (on a test project, by your mentor) and fix what the review finds. Evidence: a link to the PR, the tests and their output, a short list of the conventions you followed and where you copied each from, and your reviewer's comments with what you changed.
Get help with middleware, configuration and a framework surprise
Over two to four weeks of normal work on your real or test project, meet three parts of the framework that are easy to get wrong, and get help with each. Middleware: ask a senior (on a test project, your mentor) to walk you through the middleware or filter chain one of your requests passes before and after your handler (e.g. CORS, authentication, error handling), write it down as a numbered list, and check it with a breakpoint or a log line in two of them. Configuration: add one setting your feature needs (e.g. the maximum page size of your list endpoint) through the project's mechanism (application.yml, Django settings, a Pydantic settings class, ConfigModule, appsettings.json, environment variables), and ask the senior where its value comes from locally, in tests and in production. A surprise: when the framework does something you didn't expect, spend up to 30 minutes on it alone, then ask with the symptom, what you expected and what you tried. If nothing surprises you, your mentor sets one up for your stack: a Spring request body whose fields have constraints but whose parameter has no @Valid, so nothing is checked; a FastAPI route /users/{user_id} declared before /users/me; a NestJS DTO whose decorators are ignored because no ValidationPipe is registered; an Express error handler registered before the routes; Django's AuthenticationMiddleware placed above SessionMiddleware; ASP.NET Core's UseCors called after UseAuthorization; a Gin handler whose c.Bind already wrote a 400 before its own error response. Fix it and say what the framework was doing. Evidence: your middleware list with the two checks, a link to the config change, the surprise with your question and the explanation in your own words (the senior by role, no names), and what you would still ask about.
03Programming paradigms & design patterns (back-end)
Applying paradigms and design patterns to units of server code (object-oriented and functional programming, SOLID, dependency injection, patterns such as strategy, adapter and repository) and refactoring toward them.
TargetNovice
Programming paradigms & design patterns (back-end)
Applying paradigms and design patterns to units of server code (object-oriented and functional programming, SOLID, dependency injection, patterns such as strategy, adapter and repository) and refactoring toward them.
Learn the service, repository, injection, value object and pure function patterns
Read on Martin Fowler's site: 'Service Layer', martinfowler.com/eaaCatalog/serviceLayer.html, on the layer holding the application's operations; 'Repository', martinfowler.com/eaaCatalog/repository.html, on a collection-like interface between domain and database code; the 'Forms of Dependency Injection' and 'Constructor versus Setter Injection' parts of martinfowler.com/articles/injection.html, on a class receiving what it depends on instead of creating it; and 'Value Object', martinfowler.com/bliki/ValueObject.html, on why values should be immutable. Then read chapter 3, 'Pure Happiness with Pure Functions', of the free Mostly Adequate Guide, mostly-adequate.gitbook.io/mostly-adequate-guide/ch03 (JavaScript, but the idea is general), on functions with no side effects and why they are easy to test. Write a half-page note on one feature of your real or test project (e.g. creating an order); on a test project, an open-source service your mentor picks that has controllers, services and repositories, e.g. spring-petclinic-rest for Java, github.com/spring-petclinic/spring-petclinic-rest. In the note, trace one request from its entry point (controller or handler) to the service and the repository, with file and class names (if there is no service or repository, say where that logic and data access live); say how each class gets what it depends on (constructor, container, module-level instance, or new); name one type the code treats as immutable and one object changed after it's created and shared; name one function that is already pure and one that isn't, and why; and note anything that doesn't fit (e.g. a query in a controller) as a question. How the container wires classes is Server framework work. Evidence: your note and your mentor's comments.
Add a feature with a service, a repository and injected dependencies
On a real or test project, take a small ticket that adds or changes one operation, e.g. cancel an order, add a product review. On a test project, start a small service from your framework's starter (e.g. Spring Initializr, the NestJS CLI, dotnet new webapi, or the minimal app from the FastAPI or Gin tutorial) and run it with PostgreSQL in Docker Compose. Follow what your note from the exercise above found: the handler only maps the request and response; the operation's logic lives in a service method; data access goes through a repository with methods named after what the code needs (e.g. findActiveByCustomer), not queries inside the service; and the service receives the repository and anything else it needs (a clock, a payment client) through its constructor, never by creating it with new or importing a global instance. If your codebase reaches the database through its models (e.g. Django's Model.objects) or module-level instances instead of repositories and constructor injection, follow what it does there, and pass in at least one dependency your logic uses (the clock, an email client) through the constructor or a function parameter. Make the request and result types immutable the way your codebase does it (e.g. a Java record, a Kotlin data class with val, @dataclass(frozen=True), a C# record, readonly in TypeScript, a Go struct passed by value). Write unit tests that pass in a fake of the injected dependency, simple only because it is injected (no patching of imports). In the PR description, name the pattern each new class follows. Get the PR reviewed by another developer (on a test project, your mentor) and fix what the review finds. Evidence: a link to the PR, the unit tests with the fake, the PR description with the patterns named, and your reviewer's comments with what you changed.
Write pure functions over immutable data and log what review catches
Over your next three or four PRs on a real or test project (on a test project, small tickets your mentor gives for the service from the exercise above), write the logic that computes things as pure functions: they take values in and return a new value, with no database call, no reading the clock, no change to their arguments and no shared state. Good candidates: an order total with discounts, whether a subscription has expired given the current time passed in, a report built from a list of rows. Build new collections instead of changing a list from outside the function (e.g. Java streams, Python comprehensions, LINQ, map and filter in Kotlin or TypeScript, a loop that returns a new slice in Go), and return changed copies of immutable objects instead of editing them (e.g. Kotlin's copy, dataclasses.replace in Python, C#'s with, object spread in TypeScript, a new record in Java). What's reviewed here is that the functions are pure and leave their inputs unchanged; idiomatic use of your language's collections is Server-side language work. Test the pure functions with plain values, no mocks. Ask each reviewer (on a test project, your mentor) to also check your use of the codebase's patterns. Keep a log of every review comment about pattern misuse in your code, e.g. a service that creates its own dependency, a query in a controller, an argument changed inside a function, a mutable object shared between requests, and what you changed. If two PRs pass with no such comment, ask your mentor to review one of them only for pattern use and log what they say, including why nothing needed changing. Evidence: links to the PRs, the pure functions and their tests, your log of comments and fixes (reviewers by role, no names), and what you'd now check yourself before asking for review.
04Data structures
Choosing and using the right data structure: arrays, lists, hash maps and sets, stacks and queues, heaps, trees and graphs, their time and memory costs, and specialized structures such as a trie, LRU cache or Bloom filter.
TargetNovice
Data structures
Choosing and using the right data structure: arrays, lists, hash maps and sets, stacks and queues, heaps, trees and graphs, their time and memory costs, and specialized structures such as a trie, LRU cache or Bloom filter.
Learn what your language's built-in collections cost
Read MIT 6.006's Lecture 2 notes, 'Data Structures', ocw.mit.edu/courses/6-006-introduction-to-algorithms-spring-2020/resources/mit6_006s20_lec2/ (free PDF), on the difference between an interface (the operations you need) and a data structure (how they're done), and why arrays, linked lists and dynamic arrays make different operations cheap. Then read your language's pages on its built-in collections. Java and Kotlin: the Java Tutorials' 'List Implementations', docs.oracle.com/javase/tutorial/collections/implementations/list.html, and 'Set Implementations', docs.oracle.com/javase/tutorial/collections/implementations/set.html. Python: the deque section of 'collections', docs.python.org/3/library/collections.html#deque-objects, and the FAQ on how lists and dictionaries are implemented, docs.python.org/3/faq/design.html#how-are-lists-implemented-in-cpython. Go: 'Go maps in action', go.dev/blog/maps, and 'Go Slices: usage and internals', go.dev/blog/slices-intro. C#: 'Collections and Data Structures', learn.microsoft.com/en-us/dotnet/standard/collections/, incl. its complexity table. Node: MDN's Map, developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map, and Set, developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set. Then write a half-page note on one feature of your real or test project listing each list, map, set or queue it uses, the operations the code calls on it (e.g. look up by key, check membership, remove from the front), what each costs (constant, logarithmic or linear in the number of items), and how many items it holds now and could hold in a year. Mark every place where a linear operation runs inside a loop or on every request. Evidence: your note and your mentor's comments.
Choose the structures for a small feature and state what they cost
Take a well-scoped ticket on your real or test project that keeps data in memory while it works, and choose its structures on your own. On a test project, build an endpoint that receives a batch of up to a few thousand order lines, drops repeated product IDs while keeping the order they first appeared in, looks each product up in a catalog loaded into memory at startup, reports the IDs it couldn't find, and hands the remaining lines to a worker that processes them in arrival order. For each part, pick the built-in structure that makes its main operation cheap, using your note from the exercise above. Your language's list, map, set, ordered set and queue types are the candidates (e.g. ArrayList, HashMap, LinkedHashSet, ArrayDeque; list, dict, set, collections.deque; slices, maps, channels; List<T>, Dictionary, HashSet, Queue<T>; Array, Map, Set). Writing the code idiomatically is Server-side language work; here the point is the choice and its cost. In the PR description, add a small table: each structure, the operations the code calls on it, their cost, and what the cost would be with a plain list instead. Write tests for repeated IDs, missing products and an empty batch. Get the PR reviewed by another developer (on a test project, your mentor) and answer their questions about your choices. Evidence: a link to the PR, the table, the tests, and your reviewer's comments.
Ask a senior before a structure choice that affects performance
Over two to four weeks of normal work, watch for structure choices that can affect performance: a collection that grows with the number of users or records, a lookup that runs on every request, or a search inside a loop. When you meet one, write your guess before you code it: which structure, which operations, what they cost, and how large it will get. Then ask a senior (on a test project, your mentor) to check it, showing the code, your guess and the numbers. If no such choice comes up, your mentor gives you a snippet with one, e.g. each incoming ID checked against a list of blocked IDs inside a loop (list.contains, x in a list, slices.Contains, List.Contains, Array.includes), a list used as a queue with remove(0) or pop(0), or a list sorted again after every insert just to read its smallest item. Time the code at 1,000 and at 100,000 items with a simple timer around the call (a quick check, not a load test), change it as you agreed with the senior, and time it again. Evidence: the code or a link to it, your written guess, the senior's explanation in your own words (the senior by role, no names), the times before and after, a link to your change, and one thing you'll now check on your own before asking.
05Algorithms
Designing and analyzing algorithms: Big-O time and space complexity, sorting and searching, recursion, two pointers and sliding windows, graph traversal, and greedy and dynamic programming, applied to real server problems.
TargetNovice
Algorithms
Designing and analyzing algorithms: Big-O time and space complexity, sorting and searching, recursion, two pointers and sliding windows, graph traversal, and greedy and dynamic programming, applied to real server problems.
Learn Big-O analysis and your language's sort and search functions
Read how running time and memory grow with input size. MIT OpenCourseWare 6.006's Lecture 1 notes, ocw.mit.edu/courses/6-006-introduction-to-algorithms-spring-2020/resources/mit6_006s20_lec1/, cover asymptotic notation (O, Ω, Θ) and how long common growth rates take for n = 1000. The section 'Analyzing Algorithms' in Chapter 0 of Jeff Erickson's book Algorithms, jeffe.cs.illinois.edu/teaching/algorithms/book/00-intro.pdf, covers counting the work of nested loops and analyzing memory (space) the same way. Then read your language's sort and search docs. Java: Collections, docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Collections.html. Kotlin: 'Ordering', kotlinlang.org/docs/collection-ordering.html, sortedWith, kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/sorted-with.html, and 'List-specific operations', kotlinlang.org/docs/list-operations.html. Python: 'Sorting Techniques', docs.python.org/3/howto/sorting.html, and bisect, docs.python.org/3/library/bisect.html. Go: the slices package, pkg.go.dev/slices. C#: List<T>.Sort, learn.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.sort, and Enumerable.OrderBy, learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.orderby. Node: MDN's Array.prototype.sort, developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort (JavaScript has no built-in binary search). Note whether your sort is stable (keeps equal items in their order) and what binary search needs from the list. Then write a half-page note on three functions of your real or test project: for each, what n is, its Big-O time and the extra memory it uses. Evidence: your note and your mentor's comments.
Use your language's sort and binary search correctly in a ticket
On a real or test project, take a well-scoped ticket that sorts or searches data in code, not in the database. On a test project, add an endpoint that returns a customer's orders sorted by status, then newest first, and a function that finds which discount tier an order total falls into from a sorted list of tier thresholds (e.g. 0, 100, 500, 1000). If your real ticket only sorts or only searches, do the other part on this test-project example in the same or a second PR. Using your notes from the exercise above, sort with the standard library and a comparator or key on several fields, never a hand-written sort: e.g. Comparator.comparing(...).thenComparing(...) in Java, compareBy(...).thenBy(...) in Kotlin, a tuple key in Python, slices.SortStableFunc in Go, OrderBy(...).ThenByDescending(...) in C#, a compare function in JavaScript. Find the tier with binary search (Collections.binarySearch, Kotlin's binarySearch, bisect_right, slices.BinarySearch, List<T>.BinarySearch, or in TypeScript a small binary search you write and test), and check the list is sorted in the same order the search assumes. Write tests for ties (two orders with the same status and time come back in a defined order: use a stable sort or add the id as the last key), an empty list, a total below the first threshold, exactly on one and above the last, and in TypeScript, that numbers aren't sorted as strings. In each PR description, write the Big-O time and memory of the old code (if any) and the new code. Get the PR(s) reviewed by another developer (on a test project, your mentor). Evidence: links to the PR(s), the tests, the Big-O lines from the PR descriptions, and your reviewer's comments with what you changed.
Learn recursion and the two-pointer merge with a short problem set
Read the first part of Chapter 1, 'Recursion', in Jeff Erickson's Algorithms, jeffe.cs.illinois.edu/teaching/algorithms/book/01-recursion.pdf: the sections 'Reductions' and 'Simplify and Delegate', on solving a problem by handing a smaller copy of it to a recursive call that needs a base case, and 'Mergesort', whose merge step walks two sorted lists with one index in each, the idea behind the two-pointer technique. Also read MDN's glossary entry 'Call stack', developer.mozilla.org/en-US/docs/Glossary/Call_stack, on how each call waits on a stack and why too many nested calls overflow it. Then do a short written problem set, in pseudocode or your language, on data your real or test project has: (1) a recursive function that collects every item under a node of a tree your project stores, e.g. all subcategories of a category, all replies in a comment thread or all keys in a nested JSON config, with its base case and what happens on a tree 10,000 levels deep; (2) merging two lists of events already sorted by time (e.g. orders and refunds) into one sorted list with two indexes, in O(n + m) time; (3) with two indexes, the time slots free in both of two sorted lists of free slots (e.g. two people's calendars). For each, write the Big-O time and extra memory, counting the recursion's call stack as memory. Evidence: your problem set and your mentor's comments.
Solve small server problems with recursion or two pointers, with help on a harder one
On a real or test project, turn two problems from the exercise above into working, tested code in the service, whichever your project needs: the tree walk (e.g. an endpoint returning a category with all its subcategories), the merge of two sorted event lists (e.g. an account's activity feed built from orders and refunds), or the common free slots of two calendars. On a test project, seed the data in a fixture. Test empty input, one item, equal times and, for the tree, a parent loop if your data can contain one. Then attempt a harder version on your own for up to an hour and ask a senior (on a test project, your mentor) for help with it: the tree walk on a tree too deep for the call stack (rewritten as a loop with your own stack), or free slots for five calendars instead of two. If your work has no harder case, your mentor picks one of these. Record what you tried, the question you asked and what the senior explained. Get the PRs reviewed by another developer (on a test project, your mentor). Evidence: links to the PRs with tests, the Big-O time and memory of each solution, your attempt at the harder version, your notes on the help you got (the senior by role, no names), what you could now do alone, and your reviewer's comments.
06Networking & protocols (back-end)
How services talk over the network: TCP and UDP, connection lifecycle and pooling, DNS, TLS and certificates, HTTP/1.1, HTTP/2 and HTTP/3, proxies and L4/L7 load balancers, private networks and firewalls, and diagnosing faults with network tools.
TargetNovice
Networking & protocols (back-end)
How services talk over the network: TCP and UDP, connection lifecycle and pooling, DNS, TLS and certificates, HTTP/1.1, HTTP/2 and HTTP/3, proxies and L4/L7 load balancers, private networks and firewalls, and diagnosing faults with network tools.
Learn how a request reaches your service, from DNS lookup to proxy
Read the 'Three-Way Handshake' section of the TCP chapter of Ilya Grigorik's free book High Performance Browser Networking, hpbn.co/building-blocks-of-tcp/, and the 'TLS Handshake' and 'Chain of Trust and Certificate Authorities' sections of its TLS chapter, hpbn.co/transport-layer-security-tls/. Then read Julia Evans's 'What happens when you update your DNS?', jvns.ca/blog/how-updating-dns-works/, on resolvers, authoritative nameservers and TTLs (how long an answer may be cached), and the 'Proxies' part of MDN's 'Overview of HTTP', developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Overview, on what proxies such as load balancers and caches do. Then draw the path one request takes to a service on a real or test project (your team's service, or your own service behind an nginx reverse proxy in Docker Compose): the hostname the client uses, who resolves it and where the answer may be cached, each hop it passes (e.g. a CDN, a load balancer, a reverse proxy such as nginx or Envoy, a Kubernetes Service, the app), where one TCP connection ends and a new one starts, and where TLS is terminated (where the encrypted connection is decrypted). Check the deployment config, and ask a senior (on a test project, your mentor) about hops you can't see. For each hop, write one thing that could fail there (e.g. a name that doesn't resolve, a certificate that doesn't match the hostname). Evidence: your diagram with notes, the hops you had to ask about and who answered (by role), and your mentor's comments. Mask internal hostnames and IP addresses if the diagram leaves your team.
Check each step of a connection to your service with dig and curl
Using your diagram from the exercise above, check each step of a connection yourself on a real or test project. With dig, look up the hostname your service is reached by (dig +noall +answer followed by the name), follow any CNAME chain to the final address, note the TTL, run it again to watch a cached answer's TTL count down, and ask a public resolver directly (e.g. dig @1.1.1.1 followed by the name) to compare. Julia Evans's 'How to use dig', jvns.ca/blog/2021/12/04/how-to-use-dig/, explains the output. dig isn't on Windows by default: use WSL, nslookup or PowerShell's Resolve-DnsName. If your service only runs locally, look up the public hostname of a dependency instead (e.g. a vendor API it calls). With curl -v (in Windows PowerShell, type curl.exe, since curl there runs Invoke-WebRequest), call one endpoint (a health check is fine) and mark in the output the address it connected to, the TLS version, the certificate's subject and expiry date, the HTTP version, and any header a proxy or load balancer added (e.g. Server or Via). Then time each phase with curl's -w option (time_namelookup, time_connect, time_appconnect, time_starttransfer, time_total), as Cloudflare's 'A question of timing', blog.cloudflare.com/a-question-of-timing/, shows, and say which phase took longest (each time is counted from the start, so subtract the one before it to get a phase, e.g. TLS is time_appconnect minus time_connect). If you can, compare a call through the proxy or load balancer with one made straight to the app (e.g. from inside its container) and explain the difference. Evidence: the commands and your annotated output (with tokens, cookies and internal hostnames removed), the timing breakdown with one sentence per phase, and your mentor's comments.
Tell connection failures apart and get help reading a lower-level one
Lower-level failures are where most people need help at first, so this exercise makes you meet them. With curl and dig, as in the exercise above, cause and record at least four of these five failures: a name that doesn't resolve (a hostname with a typo), a port nothing listens on (connection refused), an address that never answers (a timeout, e.g. curl --connect-timeout 5 10.255.255.1, a private address that usually goes nowhere), a certificate problem (e.g. expired.badssl.com or wrong.host.badssl.com from badssl.com/, a site built for testing this), and a proxy whose app is down (stop the app container behind your nginx in Docker Compose and call through nginx to get a 502; curl exits 0 on a 502 because it got an HTTP response, unless you add -f, which makes it fail with exit code 22). For each one, write which step failed (DNS, TCP, TLS or HTTP), the exact curl error and exit code, and what you would check next. Then ask a senior (on a test project, your mentor) to explain a lower-level error you can't fully interpret: one from your list, or, if everything on it was clear, one they pick from your project's logs or a past ticket (e.g. 'connection reset by peer', 'broken pipe', 'unexpected EOF', a Java 'PKIX path building failed' or a Node ECONNRESET). Write their explanation in your own words, and how you would reproduce or spot that error with curl. Evidence: your failure table with commands and output, the error you asked about, the explanation and who gave it (by role), and your mentor's comments.
07Linux & OS fundamentals (back-end)
The operating system a service runs on: the Linux shell, processes and threads, signals and graceful shutdown, file descriptors and I/O, memory and resource limits, permissions and environment, and reading system state with standard tools.
TargetNovice
Linux & OS fundamentals (back-end)
The operating system a service runs on: the Linux shell, processes and threads, signals and graceful shutdown, file descriptors and I/O, memory and resource limits, permissions and environment, and reading system state with standard tools.
Learn the shell basics for running a service
Read five chapters of William Shotts's free book The Linux Command Line (the PDF is linked from linuxcommand.org/tlcl.php): 2 'Navigation'; 5 'Working with Commands', on type, which, help, --help and man, where you look first when a command is new to you; 9 'Permissions', on read, write and execute for owner, group and others, chmod, chown and sudo; 10 'Processes', on ps, top, jobs and sending signals such as SIGTERM and SIGKILL with kill; and 11 'The Environment', on printenv, export and PATH. Follow along in a Linux shell: your terminal on Linux; on Windows, WSL2 with Ubuntu, learn.microsoft.com/en-us/windows/wsl/install; on macOS, a small Linux VM (e.g. Multipass or UTM) or a Linux container (docker run -it --rm ubuntu bash). The macOS terminal is not Linux: it has no /proc or journalctl, and ps and top take different options. Then write a half-page note about the service you'll run in the exercises below (a real one, or a test service such as your framework's starter app): which directory it lives in and where its config and logs go, which environment variables it reads (names only, never secret values), which user should run it and which files that user must read or write, and how you'd find its process and stop it gently. Mark anything you couldn't work out. Evidence: your note and your mentor's comments.
Run your service from the shell with its environment and permissions
Using your note from the exercise above, run a real or test service on your own from a Linux shell where you have sudo (your own WSL2 or Linux VM works), e.g. your framework's starter app built into a jar, a binary or an app directory. Copy the built service to /opt/<service> and move around its code, config and log directories with cd, pwd and ls -la. Configure it with environment variables: export them in the shell, or keep them in a .env file your framework or Docker Compose reads and git ignores; check with printenv what the shell passes on, and start it once with a one-off variable (e.g. PORT=8081 ./start.sh) to see it applies to that run only. Create a user for the service (sudo useradd --system --no-create-home appsvc), make it the owner of the log directory with chown, make the config file readable by appsvc but not writable by it or readable by others (sudo chown root:appsvc <config>, then chmod 640), and start the service as that user with sudo -u appsvc. sudo drops most of your environment by default, so find a way to pass the variables (e.g. sudo -u appsvc env PORT=8081 ./start.sh). The runtime must be installed system-wide (from the distro or the official packages), not only in your home directory through a version manager such as nvm or pyenv, or appsvc can't run it. Then break it on purpose: remove appsvc's write permission on the log directory, start the service, read the 'Permission denied' error, and fix it with the smallest change. Show variable names only, values replaced by ***. Evidence: a short terminal transcript with secrets masked, ls -l output for the config file and log directory before and after the fix, the error you got, and a few sentences on why each permission is set as it is, checked by your mentor.
Inspect the running service, read its logs and get help with errors
Start the service from the exercise above in the background: as a systemd unit (systemctl start), with Docker Compose (docker compose up -d), or on a test setup with your command and & or nohup. Compose works here only if Docker Engine runs in the Linux you're typing in (a Linux machine or VM, or Engine inside WSL2); with Docker Desktop the process sits in Docker's own VM where your ps and kill can't see it, so use systemd or & instead. On your own, find its process with pgrep -a or ps aux | grep, note its PID, user and parent, and watch its CPU and memory in top while you send a few requests with curl. Read its logs where they go: journalctl -u <unit> with -f, -n 50, --since '10 min ago' and -p err; docker compose logs -f <service>; or its log file with tail -f, less and grep -i error. Find the log lines for one request you sent and for one error. Stop it gently with kill <PID> (which sends SIGTERM), systemctl stop or docker compose stop, check with ps that it's gone, and note what it logged on the way out. Then ask your mentor to set up two problems you haven't met, without telling you what they are, e.g. another process holding the service's port, a start script without its execute bit, a required environment variable unset, or a data file owned by root. For each, first spend 15 minutes on your own with the error message, man, --help and type; for a tool you don't know yet (e.g. ss -ltnp or lsof -i to find who holds a port), read its man page first. Then ask your mentor or a senior and write down what they showed you. Hide tokens, customer data and colleagues' names in log excerpts. Evidence: a terminal transcript of finding, watching and stopping the process; the redacted log lines for the request and the error; and for each problem, the error, what you tried, the help you got (by role, no names) and the fix.
08API design & development
Designing and building APIs others rely on: REST resources, status codes and errors, validation, OpenAPI contracts, pagination, versioning, idempotency, rate limiting and outgoing webhooks, plus GraphQL, gRPC or real-time where it fits.
TargetNovice
API design & development
Designing and building APIs others rely on: REST resources, status codes and errors, validation, OpenAPI contracts, pagination, versioning, idempotency, rate limiting and outgoing webhooks, plus GraphQL, gRPC or real-time where it fits.
Learn HTTP methods, status codes and the problem details error format
Read MDN's 'HTTP request methods', developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Methods, including its table of which methods are safe, idempotent and cacheable (follow the links to the glossary entries for those three words); MDN's 'HTTP response status codes', developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status, at least 200, 201, 204, 400, 404, 409, 422 and 500; and sections 3 and 5 of RFC 9457, 'Problem Details for HTTP APIs', www.rfc-editor.org/rfc/rfc9457.html, on the type, title, status, detail and instance members of a standard JSON error body, extension members, and keeping internals such as stack traces out of errors. Then take the agreed contract for your next API ticket on your real or test project (an OpenAPI file, a ticket or a design doc; on a test project, ask your mentor for a short one, e.g. create, get, list and cancel orders) and write a table: for each endpoint, the method and whether it's safe or idempotent, the success status code, every error status code with the case that triggers it, and what the error body looks like. Say whether the project already uses RFC 9457 (application/problem+json) or its own error format, with an example from the code. Mark every case the contract doesn't decide (e.g. what creating a duplicate returns) as a question for the exercises below. Evidence: your table, your questions, and your mentor's comments.
Implement endpoints from an agreed contract and document them in OpenAPI
On a real or test project, implement the endpoints of the contract from the exercise above on your own. On a test project, generate a small service with your framework's starter (e.g. Spring Initializr, FastAPI, the NestJS CLI, dotnet new webapi, Gin) and run it with PostgreSQL in Docker Compose. Use the methods and status codes from your table, e.g. 201 with a Location header for a create, 204 for a delete, 404 for a missing order. Validate every request with the framework's validation (e.g. Bean Validation, Pydantic, class-validator, data annotations, go-playground/validator) and answer in the project's error format with one entry per invalid field, never a stack trace or a database message. Document every endpoint, with its error responses too, in the project's OpenAPI description, generated from code (e.g. springdoc-openapi, FastAPI's docs, @nestjs/swagger, ASP.NET Core OpenAPI, swaggo) or written by hand; learn.openapis.org's 'API Endpoints', learn.openapis.org/specification/paths.html, and the pages after it show how paths, parameters, bodies and responses are described. Run a linter on the description, e.g. redocly lint openapi.yaml (Redocly CLI) or Spectral, and fix what it reports. Write a test for each status code in your table. Following the framework's conventions is Server framework work; here, the contract: status codes, error bodies and the OpenAPI description match your table. Get the PR reviewed by the contract's owner or another developer (on a test project, your mentor). Evidence: a link to the PR (not the one you hand in for Server framework), the OpenAPI diff, the linter output before and after, a request and response for each status code (curl or your HTTP client, tokens removed), and your reviewer's comments with what you changed.
Get help with design questions the contract doesn't answer
While you implement the contract in the exercise above and your next API ticket, keep a log of design questions the contract doesn't answer. Typical ones: whether creating a duplicate returns 409 Conflict or 422, whether PATCH treats a missing field and a null differently, whether a search with no results returns 200 with an empty list or 404, which field a list is sorted by when the client doesn't say, what happens to an unknown query parameter. For each, spend up to 20 minutes first: look for a precedent elsewhere in the API and write down the options you see. Then ask whoever owns the contract (a senior, the developer who leads the API, or the front-end or mobile developer who calls it; on a test project, your mentor), bringing the options and the one you'd pick. If your contract leaves nothing open, your mentor gives you a short contract with two gaps left in on purpose. Record each answer in the OpenAPI description or the contract so the next person doesn't have to ask, and change the code where needed. Evidence: your log (people by role, no names) with each question, the options you wrote, the answer and its reason in your own words, the commits that recorded it in the contract, and which of these questions you'd now answer yourself.
09Third-party integrations
Integrating APIs the team doesn't own: vendor authentication, rate limits and pagination, sandbox testing, version upgrades, receiving webhooks safely (signatures, duplicates, out-of-order events) and reconciling with the vendor.
TargetNovice
Third-party integrations
Integrating APIs the team doesn't own: vendor authentication, rate limits and pagination, sandbox testing, version upgrades, receiving webhooks safely (signatures, duplicates, out-of-order events) and reconciling with the vendor.
Learn how your vendor's API authenticates and how its test mode works
Read the authentication and testing pages of a vendor your real or test project calls (e.g. a payment, email, SMS, maps or shipping provider). If it calls none yet, use Stripe or GitHub, both free to sign up for. Stripe: 'API keys', docs.stripe.com/keys, on sandbox versus live keys, restricted keys and keeping keys out of source code, and 'Testing', docs.stripe.com/testing, on test card numbers. GitHub: 'Authenticating to the REST API', docs.github.com/en/rest/authentication/authenticating-to-the-rest-api, on tokens and the Authorization header. Your own vendor's equivalent pages work the same way. Then write a half-page note about one call your feature will make: the endpoint and what it does; how the request is authenticated (an API key in a header, a bearer token, an OAuth token you fetch first) and how long that credential lives; where the credential will live in your service (an environment variable or the project's secret store) and what stops it from being committed or logged; how you get a sandbox or test account and what it can't do (e.g. no real payments, simulated objects); the vendor's official SDK for your language, if any, and whether you'll use it or a plain HTTP client; and which errors the vendor returns for a bad key, bad input and too many requests. Evidence: your note and your mentor's comments.
Integrate one vendor API call against the sandbox
On a real or test project, take a small ticket that calls a vendor's API, e.g. creating a Stripe Checkout Session when an order is placed, or listing a GitHub repository's open issues. Using your note from the exercise above, call it with the vendor's official SDK (e.g. stripe-python, Stripe.net, Octokit) or the project's HTTP client. Use sandbox keys and test data only, never real money or customer data. Keep the credential out of code: read it from an environment variable or the project's secret store, add local .env files to .gitignore, and check no log or error message shows it. Wrap the vendor in one small client module and map the vendor's errors to your own (e.g. a declined card versus the vendor being down). Set a timeout of a few seconds on every call (or the SDK's timeout setting): some clients wait forever by default (Python's requests, Go's http.Client, Java's HttpClient), .NET's HttpClient waits 100 seconds, and fetch in Node needs AbortSignal.timeout(). Write unit tests that replace the vendor with a mock server, e.g. WireMock, stripe-mock (docker run -p 12111-12112:12111-12112 stripe/stripe-mock) or Prism serving the vendor's OpenAPI file (npm install -g @stoplight/prism-cli, then prism mock <file>), including one where the mock answers later than your timeout (e.g. WireMock's fixedDelayMilliseconds) and the caller gets your own 'vendor unavailable' error, not a hang; then run once against the real sandbox. If you can't sign up for any vendor, a Prism mock of the vendor's published OpenAPI file counts, and its request log replaces the sandbox dashboard. Get the PR reviewed by another developer (on a test project, your mentor). Evidence: a link to the PR, the tests and their output incl. the timeout test, the timeout you chose and why, the sandbox dashboard entry or the mock's request log for one call (keys hidden), how the key reaches the service, and your reviewer's comments.
Get help with a vendor's auth flow and an unclear doc
Over two to four weeks of work on your real or test integration, get help with the two things this rung expects you to ask about. Auth flow: work through one flow that's more than a static key, ideally the one your project uses, e.g. OAuth 2.0 client credentials (your service swaps its client ID and secret for a short-lived access token), a GitHub App installation token, or a key that must be rotated. Read the vendor's page on it and section 4.4 of RFC 6749, www.rfc-editor.org/rfc/rfc6749.html#section-4.4, which limits this grant to confidential clients and says a refresh token should not be issued. Then ask a senior (on a test project, your mentor) to walk you through how your service gets, caches and renews the token, and fetch one yourself with curl. If your project only uses static keys, run a local OAuth server, e.g. docker run -p 8080:8080 ghcr.io/navikt/mock-oauth2-server:<latest tag from github.com/navikt/mock-oauth2-server/releases>, then curl -u my-client:my-secret -d grant_type=client_credentials -d scope=read localhost:8080/default/token (the mock accepts any client ID and secret). Unclear docs: when the vendor's docs don't answer something (e.g. which status a duplicate request returns, whether a field can be null, what the sandbox can't simulate), spend up to 30 minutes alone, try it in the sandbox, then ask the senior or the vendor's support with what you tried. If nothing is unclear, your mentor picks one such question from your vendor's docs. Evidence: your notes on the token flow (the senior by role, no names), the curl command with the secret and token replaced by placeholders, your question with what you tried and the answer in your own words, and what you would still ask about.
10Relational databases & SQL
Storing data in relational databases: SQL, schema design and normalization, constraints, indexes and query plans, transactions and isolation levels, ORMs and N+1 queries, safe schema migrations, and replicas and sharding.
TargetNovice
Relational databases & SQL
Storing data in relational databases: SQL, schema design and normalization, constraints, indexes and query plans, transactions and isolation levels, ORMs and N+1 queries, safe schema migrations, and replicas and sharding.
Learn joins, aggregates and transactions from the PostgreSQL tutorial
Read three short pages of the PostgreSQL tutorial: 'Joins Between Tables', www.postgresql.org/docs/current/tutorial-join.html, on inner joins, left outer joins and self joins; 'Aggregate Functions', www.postgresql.org/docs/current/tutorial-agg.html, on GROUP BY, HAVING and why WHERE filters rows before grouping; and 'Transactions', www.postgresql.org/docs/current/tutorial-transactions.html, on BEGIN, COMMIT and ROLLBACK and why a money transfer must be all or nothing. Then write a short note (half a page) about the database of the real or test project you'll use in the exercise below; for a test project, plan a few related tables such as customers, orders and order_items. In the note, write four things in plain words: one question about the data that needs an inner join, and which tables it joins; one that needs a left join to find rows with no match (e.g. customers who never ordered); one that needs GROUP BY and HAVING (e.g. customers whose orders total more than 100); and one action in the code that writes two or more rows that must succeed or fail together, with what would be left behind if the second write failed outside a transaction. You'll write the SQL for them in the next exercise. If your project runs MySQL or another database, the same ideas apply. Evidence: your note and your mentor's comments.
Ship a small feature with its own migration, queries and transaction
On a real or test project, take a well-scoped ticket that needs a schema change, for example adding a status column to orders or a new table for product reviews. On a test project, start PostgreSQL with docker run -e POSTGRES_PASSWORD=<choose one> -p 5432:5432 postgres (make up a password for this only, never one you use anywhere else); your first migration creates the tables you planned in the exercise above, then insert a few dozen rows. Write every schema change as a migration with the project's tool (e.g. Flyway, Liquibase, Alembic, Django migrations, golang-migrate, EF Core migrations or Prisma Migrate), never by editing the database by hand, and where the tool supports it, run up, down and up again on your local database. First write the SQL for the three questions in your note (the inner join, the left join and the GROUP BY with HAVING) and run it against the data. Then write the code that reads and changes the data for the ticket, in SQL or through the project's ORM, with the inserts and updates it needs. Turn on the ORM's SQL logging or the database's statement log and check that the SQL it sends is what you expect. Where one action writes several rows that belong together (e.g. an order and its items), wrap them in a transaction the way the project does it (e.g. Spring's @Transactional, Django's transaction.atomic, a database/sql Tx in Go, EF Core's BeginTransaction, Prisma's $transaction), and add a test that makes the second write fail and checks that nothing from the first one is left in the database. Get the PR reviewed by another developer (on a test project, your mentor). Evidence: the three queries with their output, a link to the PR, the migration file, the SQL your code actually sends (from the log), the rollback test, and your reviewer's comments.
Read a query plan and add an index with a senior's help
Read PostgreSQL's 'Indexes: Introduction', www.postgresql.org/docs/current/indexes-intro.html, on what an index saves, what it costs writes, and why the planner decides when to use it. Take a query you wrote in the exercise above that filters or sorts a table (e.g. orders of one customer, newest first). Plans on a few rows mean little, so load about a million rows with generate_series. With the tables from the exercise above, first add 1,000 customers (e.g. INSERT INTO customers (name) SELECT 'Customer ' || n FROM generate_series(1, 1000) AS n), then 1,000 orders for each of them (e.g. INSERT INTO orders (customer_id, created_at) SELECT c.id, now() - random() * interval '365 days' FROM customers c CROSS JOIN generate_series(1, 1000)). Add every other NOT NULL column your tables have to both statements with a fixed value (e.g. 'new' for a status), or for a unique column one built from a number (e.g. 'customer' || n || '@example.com'), then run ANALYZE. On MySQL, generate the rows with a recursive CTE (WITH RECURSIVE) or a short script. Run EXPLAIN ANALYZE on your query, then go through the output with a senior (on a test project, your mentor): which line is the table scan, how many rows the planner expected and got, and where the time goes. Decide together whether an index helps and on which columns, add it through a migration, and run EXPLAIN ANALYZE again. If your query is already fast, ask the senior for a slow one from the project, or ask your mentor to give you one. EXPLAIN ANALYZE really runs the statement, so wrap one that changes data in BEGIN and ROLLBACK. Evidence: the plan before and after, the index migration, your notes on what the senior explained (by role, no names), what you could now check on your own, and what you would still ask about.
11NoSQL data stores
Using non-relational stores where they fit (document, key-value including Redis as a store, and search engines such as Elasticsearch): modeling data for access patterns, choosing partition keys, and picking the right store for a use case.
TargetNovice
NoSQL data stores
Using non-relational stores where they fit (document, key-value including Redis as a store, and search engines such as Elasticsearch): modeling data for access patterns, choosing partition keys, and picking the right store for a use case.
Learn how your store holds data and how your code queries it
Read the basics of the NoSQL store your project uses. MongoDB: 'MongoDB CRUD Operations', www.mongodb.com/docs/manual/crud/, and the query pages it links. DynamoDB: 'Core components', docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html, on items, partition and sort keys and secondary indexes. Redis as a store: 'Redis data types', redis.io/docs/latest/develop/data-types/, and 'Keys and values', redis.io/docs/latest/develop/using-commands/keyspace/, on key naming, expiration and why KEYS doesn't belong in application code. OpenSearch or Elasticsearch: 'Term-level and full-text queries compared', docs.opensearch.org/latest/query-dsl/term-vs-full-text/, on why a term query on an analyzed text field finds nothing. If your project uses none of them, your mentor picks the store and points you to an existing model to read: an open-source service that uses it, or a small schema with three queries they give you; your note describes that. Then write a half-page note on the data your code keeps there: the collections, tables, key patterns or indices it uses; three places in the code that read or write them (on a test project, the three queries), with the field or key each one looks up by; and two questions you can't answer yet, one about why the data is shaped this way and one about what a read right after a write returns. Evidence: your note and your mentor's comments.
Read and write the store for a small ticket, following the existing model
On a real or test project, take a small ticket that reads and writes the NoSQL store on your own, e.g. adding a field to product documents and filtering a list by it, keeping a user's last ten viewed items, or adding a searchable field to an index. On a test project, start the store in Docker Compose (the mongo, redis or amazon/dynamodb-local images, or OpenSearch as its Docker install page describes, which needs a strong throwaway admin password and about 4 GB of memory for Docker), write a seed script that loads a few hundred records in the shape your note from the exercise above describes (on a test project, the model your mentor gave you), and put a small service around it that uses your language's official client (e.g. the MongoDB driver, the AWS SDK, Lettuce, redis-py, go-redis, StackExchange.Redis, node-redis, the OpenSearch client). Follow how the code already names fields and keys and which queries it uses; don't invent a new shape. Check that every read you add uses what the store was built for: a MongoDB find that explain('executionStats') shows as IXSCAN, not COLLSCAN; a DynamoDB GetItem or Query on a key or index, never a Scan; a Redis lookup by key or SCAN, never KEYS; a term filter on a keyword field or a match query on a text field. Write a test that runs against the real store (e.g. with Testcontainers or the Compose setup), and get the PR reviewed (on a test project, by your mentor). Evidence: the PR, the queries or commands it sends, the explain output or the key each read uses, the test, and your reviewer's comments.
Get help with a modeling question and a consistency question
Take the two questions from your note in the first exercise of this level; if you had none, ask your mentor for one modeling and one consistency question about your store. First spend 30 minutes on each in the store's docs. For consistency, start here: DynamoDB reads are eventually consistent by default and reads from global secondary indexes always are, docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html; MongoDB reads from secondaries may be stale, www.mongodb.com/docs/manual/core/read-preference/; a newly indexed search document is found only after a refresh, about a second later by default, www.elastic.co/docs/manage-data/data-store/near-real-time-search; Redis replicas copy writes asynchronously. Then go through both questions with a senior (on a test project, your mentor): for modeling, why the data is embedded or referenced, or why the key or index looks the way it does; for consistency, which reads in your ticket from the exercise above could return stale data and what the code should do about it. Where your store can show the effect locally, show it: e.g. index a document and search for it at once, then again with refresh=wait_for on the write. DynamoDB Local and a single MongoDB or Redis node look consistent, so for those write down the setting the code needs and why. Apply what you learned to your ticket (e.g. ConsistentRead for a read that follows a write, the primary read preference, refresh=wait_for in a test). Evidence: your two questions, what you found on your own, notes on what the senior explained (by role, no names), the change to your ticket, and what you'd now check without asking.
12Performance & caching (back-end)
Making services fast under real load: profiling CPU, memory and I/O, reading latency percentiles, finding the slow path end to end, caching (in-process, Redis, HTTP and CDN) with safe invalidation, sizing pools, and load testing.
TargetNovice
Performance & caching (back-end)
Making services fast under real load: profiling CPU, memory and I/O, reading latency percentiles, finding the slow path end to end, caching (in-process, Redis, HTTP and CDN) with safe invalidation, sizing pools, and load testing.
Learn latency percentiles and how to read a flame graph
Read the Google SRE book chapter 'Monitoring Distributed Systems', sre.google/sre-book/monitoring-distributed-systems/, especially the four golden signals and 'Worrying About Your Tail', on why an average hides slow requests and why latency is kept as a histogram. Then read Brendan Gregg's 'Flame Graphs', www.brendangregg.com/flamegraphs.html, on how to read one: each box is a function, its width is how often it was on the stack in the samples, and the x-axis is sorted alphabetically, not time. Then skim the profiler page for your stack, which you'll use in the next exercise: async-profiler for Java and Kotlin, github.com/async-profiler/async-profiler; py-spy for Python, github.com/benfred/py-spy; the profiling part of Go's 'Diagnostics', go.dev/doc/diagnostics; dotnet-trace for .NET, learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-trace; or Node's 'Flame Graphs', nodejs.org/en/learn/diagnostics/flame-graphs. Then write a half-page note on one endpoint of your real or test project that users or teammates call slow: where its latency is shown today (an APM tool such as Datadog or New Relic, Grafana with OpenTelemetry traces, a metrics dashboard, access logs), its p50, p95 and p99 if you can find them and why they differ, and which profiler your team uses or could use and how you'd get access. On a test project, your mentor names the endpoint and you leave the numbers for the next exercise. Evidence: your note and your mentor's comments.
Measure a slow endpoint with timings, a profile and a trace
Using your note from the exercise above, measure the slow endpoint on your own on a local or test environment, never with load against production. On a test project, run the service and its database in Docker Compose, seed a few hundred thousand rows, and ask your mentor to make one endpoint slow in a way you don't know (e.g. a query per row, heavy JSON work in a loop, a call to a fake downstream with a delay added through Toxiproxy's latency toxic or WireMock). First time it: send a few thousand requests with a simple load tool (e.g. oha -n 2000 -c 10 <url>, hey, or a short k6 script) and record p50, p95, p99 and requests per second. Then capture a CPU profile while the load runs (e.g. asprof -d 30 -f flamegraph.html <pid>, py-spy record -o profile.svg --pid <pid> with SYS_PTRACE added to the container, go tool pprof against net/http/pprof, dotnet-trace collect -p <pid> --format Speedscope (by default it samples all threads, waiting ones too, so for .NET the flame graph shows waiting as well as CPU work), npx 0x or node --cpu-prof), and open the trace of one slow request in your APM or tracing tool (on a test project, OpenTelemetry auto-instrumentation with Jaeger in Compose) to see which spans take the time. Write which part of the request takes most of the time (code running on the CPU, the database, a downstream call, or waiting) and where the profile and the trace agree or differ. A CPU profile shows little when a request mostly waits; say so if that's what you see. Evidence: the load tool output, the flame graph with the widest frames marked, the trace screenshot (no customer data or tokens), and your conclusion.
Apply a fix or a simple cache a senior points you to, and check it
Show your measurements from the exercise above to a senior (on a test project, your mentor) and ask what they'd change and why. They'll point you to a fix (e.g. load related rows in one query, move work out of a loop, call the downstream once per request instead of once per item) or to a simple cache for data that rarely changes (e.g. an in-process cache with a short time to live: Caffeine, cachetools' TTLCache, IMemoryCache, ristretto for Go, node-cache). Write down what they said and why before you start. Make the change, then measure again exactly as before: the same load command, data and environment, and a new profile and trace. If you added a cache, also write what it costs: how stale the data can get, how much memory it may use, and what happens on the first requests after a restart. If the numbers didn't improve, or improved less than expected, go back to the senior with the new profile, not a guess. Get the PR reviewed (on a test project, by your mentor). Evidence: your notes on what the senior suggested (by role, no names), a link to the PR, the before and after load tool output and profiles side by side, and, for a cache, its time to live, size limit and what can go stale.
13Concurrency (back-end)
Writing server code that stays correct when work runs at the same time: threads, async/await and event loops, races, locks and deadlocks, and optimistic or pessimistic locking so no data is lost under concurrent load.
TargetNovice
Concurrency (back-end)
Writing server code that stays correct when work runs at the same time: threads, async/await and event loops, races, locks and deadlocks, and optimistic or pessimistic locking so no data is lost under concurrent load.
Learn why shared mutable state breaks concurrent code
Read the pages for your stack on what goes wrong when two threads or tasks touch the same data. Java: the Oracle tutorial's 'Thread Interference', docs.oracle.com/javase/tutorial/essential/concurrency/interfere.html, and 'Concurrent Collections', docs.oracle.com/javase/tutorial/essential/concurrency/collections.html; Kotlin: 'Shared mutable state and concurrency', kotlinlang.org/docs/shared-mutable-state-and-concurrency.html. Python: 'Thread Safety Guarantees', docs.python.org/3/library/threadsafety.html, on why check-then-act and read-modify-write are never atomic, and asyncio's 'Synchronization Primitives', docs.python.org/3/library/asyncio-sync.html. Go: the typical data races in 'Data Race Detector', go.dev/doc/articles/race_detector. C#: the race conditions part of 'Managed Threading Best Practices', learn.microsoft.com/en-us/dotnet/standard/threading/managed-threading-best-practices, and 'Thread-Safe collections', learn.microsoft.com/en-us/dotnet/standard/collections/thread-safe/. Node: 'Overview of Blocking vs Non-Blocking', nodejs.org/en/learn/asynchronous-work/overview-of-blocking-vs-non-blocking, and the async-mutex README, github.com/DirtyHairy/async-mutex, on why single-threaded code still races between awaits. Then list the shared mutable state in one real or test service: fields of singletons and long-lived services, static or module-level variables, in-memory caches and counters, and database rows the code reads, changes and writes back. For each, write who can touch it at the same time (requests, worker threads, scheduled jobs, other instances) and what protects it today, or "nothing". Evidence: your list and your mentor's comments.
Write a concurrent feature following your service's patterns
On a real or test project, take a ticket where work can run at the same time, e.g. calling three downstream services in parallel for one page, or processing a batch of uploaded rows with a worker pool. On a test project, a small service from your framework's starter with a fake slow dependency (an endpoint that sleeps 200 ms) is enough. First find how the service already does this and copy that pattern (on a test project, use the pattern your framework's or language's docs show for it, and link that page instead of a place in the codebase): CompletableFuture or an ExecutorService (with virtual threads, JEP 444, openjdk.org/jeps/444, says never to pool them and to limit concurrency with a semaphore), Kotlin coroutines, asyncio.gather or a TaskGroup, goroutines with a WaitGroup or errgroup and channels, Task.WhenAll with SemaphoreSlim, or Promise.all with a concurrency limit. Limit how many run at once, decide what happens when one fails (cancel the others or collect the errors) and pass a timeout or cancellation through. Collect results in something made for it (a thread-safe collection, a channel, the values the tasks return) instead of appending to a shared list, and inside async code never call blocking or Sync APIs. Using your list from the exercise above, write in the PR description which shared state your code touches and why it is safe. Test it with the dependency slowed down and with one call failing. Get the PR reviewed by another developer (on a test project, your mentor). Evidence: a link to the PR, where in the codebase (or the docs) you found the pattern you copied, the PR note on shared state, the tests, and your reviewer's comments.
Reproduce a race in your service and fix it with a senior's help
Take one item from your list in the first exercise that nothing protects, e.g. an in-memory counter or map changed by requests, a "check stock, then decrement" in code, or a database row read, changed and saved back (a balance, likes, seats left). If you found none, ask your mentor to add one to a test service you haven't read, e.g. a POST /counter/increment endpoint that reads a number, waits 10 ms and writes it back. Write a small script that fires concurrent requests at it: `hey -n 200 -c 20 -m POST` followed by the endpoint's local URL, the same with oha, k6 with several virtual users, or a few lines with an async HTTP client. Compare the result with what it should be (200 increments, stock never below zero) and run it three times. In Go, also run the service or its tests with -race and keep the report. Then go through it with a senior (on a test project, your mentor): why updates are lost, which fix fits (a lock, an atomic operation, a concurrent collection's atomic method, or one UPDATE ... SET n = n + 1 in the database) and why. Make the fix, rerun the script three times, and add a test that runs the operation from many threads or tasks at once and checks the total. Evidence: the script, the results before and after, the race report if you use Go, a link to the fix and the test, your notes on what the senior explained (by role, no names), what you'd now check on your own, and what you'd still ask about.
14Messaging & asynchronous processing
Moving work off the request path: queues and event streams (RabbitMQ, SQS, Kafka), delivery guarantees, idempotent consumers, ordering, retries and dead-letter queues, the transactional outbox, background jobs and scheduled tasks.
TargetNovice
Messaging & asynchronous processing
Moving work off the request path: queues and event streams (RabbitMQ, SQS, Kafka), delivery guarantees, idempotent consumers, ordering, retries and dead-letter queues, the transactional outbox, background jobs and scheduled tasks.
Learn acknowledgements, redelivery and idempotent consumers
Read RabbitMQ's 'Work Queues' tutorial in your language (Python: www.rabbitmq.com/tutorials/tutorial-two-python; the page's menu has Java, Kotlin, Go, .NET, JavaScript and Spring AMQP versions), on message acknowledgment (a message whose consumer dies before acknowledging it is delivered again), durable queues and persistent messages, and fair dispatch with prefetch. Then read Chris Richardson's 'Pattern: Idempotent Consumer', microservices.io/patterns/communication-style/idempotent-consumer.html, on recording processed message IDs in the same database transaction so a duplicate is ignored. If your project runs jobs through a library rather than a broker directly, also read its page on retries: Celery's 'Tasks', docs.celeryq.dev/en/stable/userguide/tasks.html (acks_late, idempotent tasks, autoretry_for), BullMQ's 'Retrying failing jobs', docs.bullmq.io/guide/retrying-failing-jobs, or Hangfire's 'Dealing with exceptions', docs.hangfire.io/en/latest/background-processing/dealing-with-exceptions.html. Then write a half-page note on one background job or consumer in your real or test project (on a test project, the one you'll build next, e.g. sending a welcome email after signup): what starts it, which broker or library runs it, when the message is acknowledged or the job marked done, what would happen if it ran twice (a second email, a double charge), and what in the code prevents that today. Evidence: your note and your mentor's comments.
Add a background job or consumer that is safe to run twice
On a real or test project, take a well-scoped ticket that moves work off the request path, e.g. generating an invoice PDF after an order is paid, sending a welcome email after signup, or resizing an uploaded image. Follow the project's existing pattern (e.g. Spring's @RabbitListener or @KafkaListener, a Celery task, a BullMQ worker, a Hangfire job, a .NET BackgroundService reading a queue, a Go consumer loop). On a test project, run a broker next to the service in Docker Compose: RabbitMQ (image rabbitmq:4-management, ports 5672 and 15672), Redis for Celery or BullMQ, Kafka (image apache/kafka:4.3.1, port 9092; it advertises localhost:9092, so run your service on the host, or set KAFKA_ADVERTISED_LISTENERS with the other listener settings shown on the image's Docker Hub page, since overriding one drops all defaults), or ElasticMQ for SQS (image softwaremill/elasticmq-native, port 9324). Send a message with an ID and only what the consumer needs (e.g. the order id, not the whole order), acknowledge it only after the work is done, and make the handler safe to run twice using the exercise above: record the message ID in a processed-messages table with a unique key in the same transaction as the work, or make the work itself idempotent (an upsert, a status check before sending). Write a test that delivers the same message twice and checks the effect happened once (one invoice row, one email in a fake mailer). Two workers racing on the same row is Concurrency work; here the duplicate is the same message delivered again. Get the PR reviewed (on a test project, by your mentor). Evidence: a link to the PR, the test, where the message is acknowledged and why there, and your reviewer's comments with what you changed.
Break your consumer on purpose and get help with delivery and failures
Using the consumer or job from the exercise above, run on your machine against a local broker in Docker Compose (never a shared, staging or production broker), run three failure drills with a senior (on a test project, your mentor): stop the consumer in the middle of handling a message (e.g. add a sleep and kill the process), make the handler throw for one specific message every time (a poison message, e.g. an order id that doesn't exist), and restart the broker with docker restart while messages are waiting. Before each drill, write down what you expect; then watch what happens in your logs and in the broker's UI or CLI (the RabbitMQ management UI on port 15672 or rabbitmqctl list_queues, docker exec <kafka container> /opt/kafka/bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group <your group>, or your job library's dashboard such as Flower, Bull Board or the Hangfire dashboard). Then ask the senior to explain what you saw: whether your setup gives at-most-once or at-least-once delivery, why the poison message keeps coming back or disappears, whether waiting messages survived the restart and why, and how the project handles failures (retries, backoff, a dead-letter queue, an alert). With the senior's guidance, fix one thing the drills showed, e.g. a retry limit for the poison message. Evidence: for each drill, your prediction and what happened (log or screenshot excerpts, no secrets or customer data); your notes on the senior's explanation in your own words (the senior by role, no names); a link to the fix; and what you'd still ask about.
15Authentication & authorization
Proving who a caller is and what they may do: sessions and tokens, password hashing, JWT, OAuth 2.0 and OpenID Connect, SSO, API keys, service-to-service auth, role- and attribute-based access control, and tenant isolation.
TargetNovice
Authentication & authorization
Proving who a caller is and what they may do: sessions and tokens, password hashing, JWT, OAuth 2.0 and OpenID Connect, SSO, API keys, service-to-service auth, role- and attribute-based access control, and tenant isolation.
Learn how your service checks callers and what never goes in a log
Read how your framework protects endpoints. Spring Security: 'Authorize HttpServletRequests', docs.spring.io/spring-security/reference/servlet/authorization/authorize-http-requests.html, on rules, hasRole and denying by default. Django: 'Using the Django authentication system', docs.djangoproject.com/en/stable/topics/auth/default/, on login_required and permission_required (with Django REST framework, its 'Permissions' page, www.django-rest-framework.org/api-guide/permissions/). FastAPI: 'OAuth2 with Password (and hashing), Bearer with JWT tokens', fastapi.tiangolo.com/tutorial/security/oauth2-jwt/. ASP.NET Core: 'Configure JWT bearer authentication', learn.microsoft.com/en-us/aspnet/core/security/authentication/configure-jwt-bearer-authentication, on what to validate and 401 versus 403. NestJS: 'Guards', docs.nestjs.com/guards. In Go, read your auth middleware's docs. Then read the 'Data to exclude' list in OWASP's Logging Cheat Sheet, cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html. Then write a half-page note on one endpoint of your real or test project (on a test project, the service your mentor gives you for the exercise below): where the caller's session cookie or token comes from; which filter, middleware or guard checks it and what it checks (for a JWT: signature, expiry, issuer, audience); how your handler gets the current user and their roles; what the caller gets with no token (401) and with a valid token but the wrong role (403); and two places in your service where a token or password could end up in a log (e.g. request logging that prints headers, an error message with the request body). Evidence: your note and your mentor's comments.
Protect new endpoints with your project's auth and prove the denials
Access: you use the project's existing auth setup unchanged. On a real project, take a ticket that adds endpoints with different access rules. On a test project, your mentor gives you a small service already wired to a local identity provider in Docker with a test user per role, e.g. Keycloak (docker run -p 127.0.0.1:8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=admin -e KC_BOOTSTRAP_ADMIN_PASSWORD=<choose one> quay.io/keycloak/keycloak:26.8.1 start-dev) or mock-oauth2-server (docker run -p 8080:8080 ghcr.io/navikt/mock-oauth2-server:<release tag>); never real accounts. Using your note from the exercise above, add e.g. 'list my orders' for any signed-in user and 'refund an order' for the support role only, with the project's mechanism (e.g. @PreAuthorize, a DRF permission class, a FastAPI dependency, [Authorize] with a policy, a Nest guard, Go middleware). Write tests for each endpoint: no token gives 401, a valid token without the role gives 403, the right role succeeds. Mocked-token helpers (e.g. Spring's jwt() in MockMvc) skip the signature check, so also send real tokens to the running service with curl: an expired one (e.g. a one-minute access token lifespan in Keycloak's realm settings, then wait past your validator's clock-skew allowance: 60 seconds in Spring Security, 5 minutes by default in ASP.NET Core) and one from another issuer (e.g. mock-oauth2-server's /other/token instead of /default/token); both must get 401. Then search your logs for 'Bearer', 'eyJ' (how every JWT starts) and your test user's password, and fix any line that prints them. Get the PR reviewed (on a test project, by your mentor). Evidence: a link to the PR, the tests and their output, the curl commands and status codes with tokens replaced by placeholders, your validator's clock-skew allowance, your log search and what you fixed, and your reviewer's comments.
Get help with your token flow and two edge cases
Over two to four weeks on your real or test project, get help with two things. Token flow: ask a senior (on a test project, your mentor) to walk you through the whole life of a session or token in your project: how a user signs in and what issues the token, how the client sends it, where your service validates it, what happens when it expires (a refresh or a new sign-in), and what logout does. Write it as numbered steps, then check two steps yourself against your project's development identity provider or the local one from the exercise above: open its discovery document (the issuer URL plus /.well-known/openid-configuration, e.g. /realms/<realm>/.well-known/openid-configuration in Keycloak) and find its jwks_uri, and decode a test token's header and claims locally (e.g. with jq or a few lines of code), never by pasting a token into a website. Edge cases: pick two from this list that your endpoints could meet and find out what your service does today: a token that expires during a long request or upload; server and identity-provider clocks a few minutes apart; a user whose role was removed while their token is still valid; a token issued for another service (wrong audience); a user who belongs to two organizations. Try each in a test first and spend up to 30 minutes alone, then ask the senior what the project expects. If the project has no answer, your mentor sets one case up in the test service for you. Evidence: your numbered flow with the two steps you checked, the decoded header and claims of a test token (no signature, no real user's data), for each edge case what you tried, the answer in your own words (the senior by role, no names) and the test that covers it, and what you would still ask about.
16Application security (back-end)
Protecting a service and its data from attackers: OWASP Top 10 and API Security Top 10 risks, storing and rotating secrets, encryption in transit and at rest, threat modeling, supply-chain policy, and handling personal data lawfully.
TargetNovice
Application security (back-end)
Protecting a service and its data from attackers: OWASP Top 10 and API Security Top 10 risks, storing and rotating secrets, encryption in transit and at rest, threat modeling, supply-chain policy, and handling personal data lawfully.
Learn the secure coding rules behind injection, validation and logging
Read three short OWASP Cheat Sheets. 'SQL Injection Prevention', cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html, on why parameterized queries (bind variables) let the database tell code from data, and why a table or column name, which can't be a bind variable, must be chosen from a fixed list in code instead; 'Input Validation', cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.html, on allowlists (saying what you accept), checking both the format and the meaning of a value, and validating on the server even when the browser already does; and the 'Data to exclude' section of the 'Logging' cheat sheet, cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html, on keeping passwords, tokens, secrets and personal data out of logs. Then find your real or test project's secure coding rules (ask your mentor where they live; if there are none, your mentor gives you a one-page set). Write a short note (half a page) about your own service: one query that must use bind variables and where its input comes from, one input you must validate and the allowlist for it, and two things your service logs today that the cheat sheet says to leave out or mask. Evidence: your note and your mentor's comments.
Apply the secure coding rules to a feature and ask when you're unsure
On a real or test project, take a small feature or bug fix that reads user input and touches the database, for example a search filter, a new field on a form, or an endpoint that looks up a record by id. Using your note from the exercise above, write it to your project's secure coding rules: send every value to the database through bind variables or the ORM's safe query API, never by building the SQL string yourself; validate each input on the server against an allowlist of what you accept (type, length, format, allowed values); read secrets from config or the environment, never hard-code a key, password or connection string; and make sure nothing you added logs a password, token or personal data. One thing in the feature won't have an obvious safe answer (your mentor plants or points to one, for example a value that has to go into an ORDER BY, a file path built from user input, or a field you're unsure counts as personal data). Stop and ask a senior (on a test project, your mentor) whether it is safe and how to handle it, and do what they advise. Get the change reviewed by another developer (on a test project, your mentor). Evidence: a link to the PR, the before and after of the query and the validation, the question you asked and the answer you got (by role, no names), and your reviewer's comments.
See what the rules prevent in an intentionally vulnerable app
Access: this uses an intentionally vulnerable app you run on your own machine; never try these attacks on a system you don't own or aren't authorized to test. Start OWASP Juice Shop locally with docker run --rm -p 127.0.0.1:3000:3000 bkimminich/juice-shop (the 127.0.0.1 keeps it on your machine only) and open localhost:3000 in your browser. Open the Score Board, then solve the 'Login Admin' challenge: log in as the administrator without the password by typing a SQL injection payload into the email field of the login form, so your input breaks out of the query. If you prefer DVWA (docker compose up -d in its repo, then localhost:4280), set its security level to Low and use its SQL Injection page to list every user's record instead of one. Then, using the SQL Injection Prevention cheat sheet from the exercise above, write a short note: the input you used, why the login query let it through, and the one change (a parameterized query) that would have stopped it. Do one more injection challenge of your choice if you have time. Evidence: a screenshot of the solved challenge or of DVWA's full user list (no real credentials on screen), the payload you used, and your two or three sentences on the vulnerable query and the fix that prevents it.
17Automated testing (back-end)
Proving server code works with automated tests: unit tests, integration tests against real databases and brokers, API and contract tests, test doubles and test data, and a suite shaped to catch regressions before release.
TargetNovice
Automated testing (back-end)
Proving server code works with automated tests: unit tests, integration tests against real databases and brokers, API and contract tests, test doubles and test data, and a suite shaped to catch regressions before release.
Learn test doubles and your stack's test framework
Read Martin Fowler's 'TestDouble', martinfowler.com/bliki/TestDouble.html, on the five kinds of stand-in a test can use instead of a real object (dummy, fake, stub, spy and mock). Then read two parts of his 'Mocks Aren't Stubs', martinfowler.com/articles/mocksArentStubs.html: 'The Difference Between Mocks and Stubs', on checking the resulting state versus checking which calls were made, and 'Coupling Tests to Implementations', on why tests full of mocks break when you refactor. Then read the getting-started page of your test framework: the JUnit user guide, docs.junit.org/current/user-guide/, pytest's 'Get Started', docs.pytest.org/en/stable/getting-started.html, Go's 'Add a test', go.dev/doc/tutorial/add-a-test, Microsoft's 'Unit testing C# with xUnit', learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-csharp-with-xunit, Jest's 'Getting Started', jestjs.io/docs/getting-started, or Vitest's guide, vitest.dev/guide/. Then write a short note on one class or function you'll write or change in the exercise below: each thing it depends on (e.g. a repository, the clock, an HTTP client for another service, an email sender), which kind of double you'd use for each, whether your test would check state or calls, and how your project's tests already do it (e.g. Mockito or MockK, unittest.mock or pytest-mock, hand-written fakes in Go, Moq or NSubstitute, Jest or Vitest mocks). Evidence: your note and your mentor's comments.
Unit-test your own code with test doubles and keep the suite green
On a real or test project, write the unit tests for your next two or three tickets on your own, in the same PR as the code. On a test project, generate a small service with your framework's starter (e.g. Spring Initializr, FastAPI, the NestJS CLI, dotnet new webapi, Gin) and ask your mentor for small tickets, e.g. a discount rule or 'an order can't be canceled once shipped'. For each behavior, test the normal case, at least one edge case (an empty list, zero, a boundary date) and one error case (not found, invalid input), and name each test after the behavior (e.g. cancel_fails_when_order_already_shipped). Replace dependencies with the doubles your note from the exercise above chose: a stub or fake for the repository, a fixed clock, and a mock only where the call itself is the result (e.g. the email that must be sent). For every new test, break the code once on purpose (e.g. flip a condition) and watch the test fail, so you know it checks something. Before every push, run the whole unit suite, not just your tests; if your change breaks another test, fix it in the same PR. If the main branch is red because of someone else's change, tell the team instead of ignoring it. Evidence: links to the PRs with their tests, the failing output from one deliberate break, a passing run of the whole suite (from CI, or a local run on a test project without CI), and your reviewer's comments on your tests (another developer; on a test project, your mentor).
Write your first test against a real database with a senior's help
Tests that need a database or another service are where most people get stuck at first, so do one with help. On a real or test project, pick code of yours that queries a database (a repository method or a query) or calls another service; if you have none, ask a senior (on a test project, your mentor) to point you to one, e.g. a method that finds a customer's open orders. Read the Testcontainers getting-started guide for your language from testcontainers.com/guides/ (Java, Go, .NET, Node.js and Python each have one; you need Docker running), which starts a real PostgreSQL in a container for the test and removes it afterward. Then write the test together with the senior, with you typing: start the container (or use the project's existing test setup), apply the project's migrations, insert the rows the test needs, call your code, check what it returns or saved, and clean up so tests don't depend on each other's data. For a call to another service, have the senior show you how the project replaces it in tests (e.g. WireMock, Go's httptest server, a container of the real dependency) and why. Ask at every step you don't understand. Then write a second, similar test on your own, using the doubles from the exercise above for anything the test doesn't need to be real. Make up all test data; never use a copy of production data. Evidence: a link to the PR with both tests, your notes on what the senior explained (by role, no names), what you could then do on your own, and what you'd still ask about.
18Code quality & code review
Keeping a codebase healthy (linting and formatting, complexity analysis, readable code) and reviewing others' changes, including AI-generated ones, so problems are caught and knowledge spreads.
TargetNovice
Code quality & code review
Keeping a codebase healthy (linting and formatting, complexity analysis, readable code) and reviewing others' changes, including AI-generated ones, so problems are caught and knowledge spreads.
Ship four PRs that pass lint and need few comments, and track the feedback
Over your next four pull requests on a real or test project, run the team's linter, formatter and type check locally before pushing, so CI passes on the first try, and do a self-review of the full diff before asking anyone to look (remove debug code, unclear names, dead code, missing tests). When comments arrive, handle each one yourself: fix it, or reply with a short reason if you disagree, and resolve the thread only once the reviewer is satisfied. Keep a simple log per PR: how many comments you got, what kind they were (bug, naming, structure, style, tests) and what you changed. At the end, pick the most common kind and add a line for it to your personal self-review checklist. Evidence: links to the four PRs with green lint and CI, your comment log, your self-review checklist, and a short note to your mentor on the trend you see.
Self-review a merged PR of yours against Google's reviewer checklist
Read Google's engineering practices page 'What to look for in a code review,' google.github.io/eng-practices/review/reviewer/looking-for.html. Then pick one of your own merged pull requests from a real or test project and review it as if a teammate had written it, going through each area the page lists. Write down everything you would now flag, which area it falls under, and whether the original reviewer caught it. Pick the two findings that matter most and say what you will do differently in your next PR. Evidence: a link to the PR, your written self-review organized by the page's areas, and your mentor's response to it.
Review two small PRs from peers with your mentor checking your comments
Ask to be added as a reviewer on two small pull requests from teammates on a real or test project (a bug fix, a copy change, a small component). For each one, check out or open the preview, confirm the change does what the ticket says, and leave comments: at least one question or suggestion if you find something and at least one note on something done well. Label minor points as nits (small, non-blocking suggestions such as a nicer name) so the author knows what is blocking. Before posting, show your draft comments to your mentor or a senior reviewer and adjust them based on their feedback. Evidence: links to both reviews, your draft comments next to what you actually posted, and one sentence on what the senior reviewer caught that you missed.
19Version control (back-end)
Using Git on back-end projects: clean commits and branches, pull requests, branching strategies, merging and rebasing, and resolving conflicts, including conflicting database migrations.
TargetNovice
Version control (back-end)
Using Git on back-end projects: clean commits and branches, pull requests, branching strategies, merging and rebasing, and resolving conflicts, including conflicting database migrations.
Learn to write commit messages and read a merge conflict
Read cbeams' 'How to Write a Git Commit Message', cbea.ms/git-commit/, for its seven rules and its test for a subject line (it should complete 'If applied, this commit will ...'). Then read Pro Git's 'Basic Branching and Merging', git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging, in particular 'Basic Merge Conflicts', which shows what conflict markers look like, what git status says during a conflict, and how git add and git commit finish the merge; you'll use it in the exercise below. Then take the last ten commits you authored on a real or test back-end project (all of them if you have fewer; on a test project, make ten small commits in a service from your framework's starter first). Judge each message against the article and your team's convention if it has one (e.g. a ticket number prefix or Conventional Commits). Look at what each commit contains too, and mark any that mix unrelated changes (e.g. a bug fix together with reformatting a whole file, or a migration with an unrelated refactor) or include files that don't belong in Git (a .env file, IDE folders such as .idea or .vscode, build output such as target/, bin/ or node_modules/, a local database file). Rewrite the five weakest messages (a subject and, where the change needs it, a body that says why) without rewriting history anyone else has, and say how you'd have split the mixed ones. Evidence: the five messages before and after with links to the original commits, your note on the mixed commits and stray files, and your mentor's comments.
Deliver a ticket through the team's Git workflow
On a real or test back-end project, find out how the team works with Git (from a CONTRIBUTING file, the README or a teammate): how branches are named, which branch pull requests go into, and how they're merged (merge commit, squash or rebase). On a test project, agree a simple workflow with your mentor (e.g. branches named feature/short-name, pull requests into main, squash merge) and write it down. Then deliver a well-scoped ticket through it on your own, e.g. add a field to an endpoint's response, or a new endpoint with its migration. Create a branch named to the convention. Make small commits that each do one thing, following your notes from the exercise above: stage only the lines you mean (git add -p or your IDE's partial staging) and check git diff --staged before each commit, so no .env file, key or local config slips in. Keep your branch up to date with the main branch the way the team does it. Open a pull request with a clear description: what changed, why, how to test it (e.g. a curl request and the expected response), and whether it includes a migration. Answer review comments with follow-up commits. Resolve at least one simple merge conflict yourself, as 'Basic Merge Conflicts' showed; if none happens, create one on a test branch by changing the same lines on two branches. Evidence: the pull request link with its commit list and review thread (your mentor reviews it on a test project), the commit where you resolved the conflict, and a note on how you chose what to keep.
Get help through a migration conflict, a rebase or a Git mistake
Some Git situations are risky to handle alone at first: two branches that each add a database migration, a rebase the team asks you to do, or a mistake such as a commit on the wrong branch or a branch you reset by accident. On a real or test back-end project, the first time one of these happens, stop and ask a senior (on a test project, your mentor) to help you through it instead of guessing. If none happens within two weeks, ask your mentor to set up a migration conflict with you on two test branches of a service with its database in Docker Compose. With Flyway, each branch adds a migration with the same version (e.g. V7__add_status.sql and V7__add_discount.sql), and after merging Flyway refuses to run because two migrations share a version. With Alembic, both new revisions point to the same down_revision, so alembic heads shows two heads and alembic upgrade head fails. With Django, each branch adds a 0007 migration to the same app, and migrate reports conflicting migrations. With EF Core, each branch adds a migration and the model snapshot either conflicts (EF Core 11 and later) or merges silently into a wrong snapshot (earlier versions). Merge one branch into the other, run the migrations against a fresh database and read the error. Then work through the fix with the senior: why renaming a file can be wrong once a migration has run on a shared database, and what the tool offers instead. Write down what happened, what you'd have done alone, the commands that fixed it and what you'll check next time. Evidence: your note, the error output and the successful migration run after the fix, the resolving commit, and the senior's comments (by role, no names).
20Dependency management (back-end)
Managing a service's third-party code with its ecosystem's package manager (Maven/Gradle, pip/uv, Go modules, npm): lockfiles, semantic versioning, upgrades, licenses, and triaging and fixing vulnerable dependencies.
TargetNovice
Dependency management (back-end)
Managing a service's third-party code with its ecosystem's package manager (Maven/Gradle, pip/uv, Go modules, npm): lockfiles, semantic versioning, upgrades, licenses, and triaging and fixing vulnerable dependencies.
Learn version ranges and what your lockfile pins
Read the summary and item 4 of Semantic Versioning, semver.org/, on what a major, minor and patch number promise and why 0.y.z versions promise nothing. Then read how your ecosystem declares and locks versions: npm's 'About semantic versioning', docs.npmjs.com/about-semantic-versioning, and 'package-lock.json', docs.npmjs.com/cli/v11/configuring-npm/package-lock-json; uv's 'Locking and syncing', docs.astral.sh/uv/concepts/projects/sync/ (or Poetry's docs on poetry.lock); Go's 'Managing dependencies', go.dev/doc/modules/managing-dependencies, on go.mod and go.sum; Gradle's 'Dependency locking', docs.gradle.org/current/userguide/dependency_locking.html (Maven has no lockfile and relies on exact versions, see maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html); or 'Locking dependencies' in NuGet's learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files, where Version="3.6.0" means 3.6.0 or higher. In a real or test service, pick five dependencies, with different version styles if you can. For each, write what's declared, which versions it allows, the exact version your lockfile (or resolved tree) pins today, and what your update command may change. End with two sentences on why the lockfile is committed and what would go wrong without it (or, if your build has none, how the project keeps versions fixed). Evidence: a link to the build file and lockfile at that commit, your table and the two sentences, checked by your mentor.
Update dependencies within their ranges and commit a clean lockfile
On your own branch of a real or test service, update the dependencies that have newer versions within their declared ranges, using what you noted in the exercise above. Find them first (e.g. `npm outdated`, `uv tree --outdated`, `go list -m -u all`, `dotnet list package --outdated`, Maven's `versions:display-dependency-updates`, or the Gradle Versions plugin), then update (e.g. `npm update`, `uv lock --upgrade`, `poetry update`, `go get -u=patch ./...` then `go mod tidy`, `./gradlew dependencies --write-locks`, or new exact versions in the pom or csproj). If everything is current, use an older branch your mentor gives you or a fork of an open source service whose lockfile is a few months old. Read the lockfile diff, list each package that moved and from which version to which, and skim each one's changelog or release notes for changes that touch your code. Build, run the tests, try the endpoints that use the updated packages and fix what breaks. Commit the lockfile with a message that lists the updates, and check that CI installs exactly what's locked (e.g. `npm ci`, `uv sync --locked`, `dotnet restore --locked-mode`); without CI, run that command and the tests yourself and attach the output. If the lockfile conflicts with another branch, don't merge it by hand: take main's version and run the update again. Evidence: the PR link with a passing CI run (or your command output), your list of updates with versions, and a short note on what the changelogs made you check.
Ask before adding a dependency or a major upgrade, then add it the right way
The next time a task seems to need a new library, or a new major version of one your real or test service already uses, stop and write a short request to your reviewer or a senior (on a test project, your mentor) before adding it. If nothing comes up within two weeks, pick a need you'd otherwise solve with a library (e.g. parsing CSV, validating phone numbers, generating PDFs) and write the request for that. Say what you need it for and the alternatives you checked: the standard library, a dependency already in the project, or a few lines of your own code. Add the library's latest release date, its license, how many other packages it pulls in, and the version you'd declare; for a major upgrade, link the changelog or migration guide and name the breaking changes that touch your code. If it's approved, add it with the package manager (e.g. `npm install <pkg>`, `uv add <pkg>`, `poetry add <pkg>`, `go get <module>@<version>`, `dotnet add package <id>`, or an entry with an exact version in the pom or Gradle file), in the right scope (runtime, or dev and test only), and commit the lockfile with it. If it isn't, use the alternative, and add a library your mentor agrees on to a test project so you still practice the steps. Evidence: your request, the reply (with the person's name hidden), the PR or test branch that adds it with its lockfile change, and what you did instead if the answer was no.
21Containers & CI/CD (back-end)
Turning a commit into a running release: Dockerfiles and images, local environments with Compose, CI pipelines, environment config and secret injection, and rollout strategies (rolling, blue-green, canary, feature flags, rollback).
TargetNovice
Containers & CI/CD (back-end)
Turning a commit into a running release: Dockerfiles and images, local environments with Compose, CI pipelines, environment config and secret injection, and rollout strategies (rolling, blue-green, canary, feature flags, rollback).
Learn how images, Compose and a CI pipeline fit together
Read four short pages. Docker's 'What is an image?', docs.docker.com/get-started/docker-concepts/the-basics/what-is-an-image/, on layers and why an image never changes once built; 'How Compose works', docs.docker.com/compose/intro/compose-application-model/, on services, networks, volumes and the compose.yaml file; GitHub's 'Understanding GitHub Actions', docs.github.com/en/actions/get-started/understand-github-actions, on workflows, events, jobs, steps and runners (on GitLab, its first-pipeline tutorial, docs.gitlab.com/ci/quick_start/); and the list of practices in Martin Fowler's 'Continuous Integration', martinfowler.com/articles/continuousIntegration.html, especially 'Fix Broken Builds Immediately'. Then write a one-page map of how your real or test service gets from a commit to running: what each line of its Dockerfile does, which services its Compose file starts and how they find each other, which jobs its CI pipeline runs on a pull request and on the main branch, and what happens after the pipeline (who or what deploys it, and where). Mark each part you don't understand yet. On a test project that has none of these files, map the ones you'll create in the exercises below. Evidence: your map and your mentor's comments.
Run the service locally with Docker Compose and improve its setup
On a real or test project, get the service and everything it needs (database, cache, broker) running locally with one docker compose up. On a test project, start from your framework's starter, add a Dockerfile, and write a compose.yaml with the service and PostgreSQL. Make the service wait for the database instead of crashing on start: give the database a healthcheck (e.g. pg_isready) and use depends_on with condition: service_healthy, as Docker's 'Control startup and shutdown order', docs.docker.com/compose/how-tos/startup-order/, shows. Keep local passwords and keys in a .env file that git ignores, with a committed .env.example listing the names with dummy values. Then make one small improvement to the Dockerfile or the Compose file that your team needs or your map from the exercise above flagged, e.g. a .dockerignore so the build doesn't copy .git and local build output, a named volume so data survives a restart, or a seed script for test data. Check it from a clean state (docker compose down -v, then up) and ask a teammate (on a test project, your mentor) to start it on their machine using only the README. Evidence: a link to the PR, the README steps, the output of docker compose ps with every service healthy, and the teammate's note on whether it worked the first time.
Make a small CI change and fix your own failing runs
On a real or test project, make one small change to the CI pipeline that your team needs, e.g. run the linter on pull requests, cache dependencies (the cache option of the setup actions, or the cache keyword in GitLab), run the tests against a database service container, or build the Docker image on every pull request so a broken Dockerfile fails early. On a test project, put the service in a public GitHub repository (GitHub Actions is free for public repositories on standard runners) and add a workflow that runs the tests and builds the image. Over the next two weeks, every time a CI run fails on one of your own pull requests, fix it yourself: open the failing step's log, find the first real error, reproduce it locally with the same command and versions, and fix the cause instead of re-running until it passes, keeping main green as Fowler's article from the exercise above asks. If none of your runs fails in that time, break one on purpose on a branch (a failing test, a lint error, a wrong path in the Dockerfile) and fix it the same way. Never print secrets in logs while you debug. Evidence: a link to the CI change and its first green run, and for at least two failed runs a short log: the run link, the first real error line, the cause, the fix, and whether it was your code, the pipeline or a flaky test.
Deploy your change with a senior's help
Ask the person who deploys your service (on a test project, your mentor) to take you through one deployment of a change of yours before you do one yourself. You need deploy rights or someone beside you who has them, so ask first. Pair on it and note: where the artifact comes from (which image tag or version), which config and secrets each environment gets, how the release goes out (a pipeline button, a merge to main, a manual command), what they check afterwards (error rate, logs, a smoke test) and how they would roll back. Then deploy your next change yourself with them beside you, to a test or staging environment first, then to production if your team lets juniors do that. On a test project, your mentor extends the workflow from the exercise above to push the image to the GitHub Container Registry (ghcr.io) tagged with the commit SHA, and sets the package's visibility to public in its Package settings (a new ghcr.io package is private even in a public repository, so a pull without a token fails); you deploy it to a local 'staging' Compose project by changing the image tag and running docker compose pull and docker compose up -d, check it with a request, then roll back to the previous tag. Evidence: your notes from the walkthrough (by role, no names), the version you deployed and what you checked afterwards, the rollback you did or would do, what you'd now do on your own, and what you'd still ask about.
22Cloud & infrastructure as code (back-end)
Running a service's own infrastructure in the cloud: managed compute, databases, queues and storage, IAM policies, Kubernetes as a user, autoscaling, serverless, infrastructure as code (Terraform, CDK) and keeping cost in check.
TargetNovice
Cloud & infrastructure as code (back-end)
Running a service's own infrastructure in the cloud: managed compute, databases, queues and storage, IAM policies, Kubernetes as a user, autoscaling, serverless, infrastructure as code (Terraform, CDK) and keeping cost in check.
Learn how to find a service's resources and read an infrastructure plan
Read Kubernetes' 'Viewing Pods and Nodes', kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/, on pods and nodes and the kubectl get, describe, logs and exec commands, and keep the kubectl Quick Reference, kubernetes.io/docs/reference/kubectl/quick-reference/, open beside it. Then read Terraform's 'The Core Terraform Workflow', developer.hashicorp.com/terraform/intro/core-workflow, on write, plan and apply and why a team reviews the plan in the pull request, and the 'terraform plan' command page, developer.hashicorp.com/terraform/cli/commands/plan, on reading the plan's symbols for create, update in place, destroy and replace. OpenTofu works the same way with the tofu command; with AWS CDK or Pulumi, read about cdk diff or pulumi preview instead. Then write a one-page map of the service you work on (real, or the test service your mentor sets up for the exercise below): each resource it uses (where it runs, its database, queues and storage buckets, where its logs go); the name of each in the cloud console or the cluster; the command or console page that shows it; the infrastructure-code file that defines it, or 'created by hand'; and which resources cost money or grant permissions. Ask a senior (on a test project, your mentor) about anything you can't find. Evidence: your map (account IDs, hostnames and keys removed) and your mentor's comments.
Find and inspect your service's resources on your own
Access: you need read-only access to your team's cloud account and cluster (e.g. a viewer role in the console, a kubeconfig with view rights); ask for it before you start. Nothing here changes anything. Using your map from the exercise above, inspect each resource of your real service and write down what you find. Compute: kubectl get pods, kubectl describe pod (restarts, last state, events), kubectl logs, plus --previous for a container that restarted, and kubectl top pod if the cluster has metrics; for serverless or VMs, the configuration and recent invocations in the console. Logs: find one of your own requests in the log tool. Database: engine and version, instance size, storage, backups and how long they're kept, current connections. Queue: messages waiting, the age of the oldest one (in your cloud's queue metrics; on the test project, skip it), the dead-letter queue. Storage: whether public access is blocked, encryption, lifecycle rules. On a test project, your mentor runs a local cluster (kind, k3d or minikube) with the service deployed and, beside it, PostgreSQL, ElasticMQ as an SQS-compatible queue (image softwaremill/elasticmq-native, port 9324) and SeaweedFS as S3-compatible storage (image chrislusf/seaweedfs, port 8333; the open-source MinIO repository is archived and no longer maintained). You inspect them with kubectl, psql and the AWS CLI with --endpoint-url, and the mentor makes one pod restart so you have something to explain. Then answer three questions: why the last pod restarted, how full the queue is, and whether anything is public that shouldn't be. Evidence: your filled-in map with the commands you ran and their output (account IDs, hostnames, keys and customer data removed), your answers to the three questions, and your mentor's or a senior's comments.
Change existing infrastructure code with review on IAM and cost
Make one small change to your team's infrastructure code on your own, e.g. a new config value for your service, a longer visibility timeout or a dead-letter queue for its queue, a lifecycle rule that deletes old files from its bucket, or permission for the service to read a new queue. Run the formatter and validator (terraform fmt and terraform validate, the tofu equivalents, cdk synth, or pulumi preview), then the plan, and read it as in the exercise above: what is created, changed in place, replaced or destroyed, and why. Mark every line that changes permissions (IAM policies, role bindings, security groups) or what you pay (instance sizes, replica counts, storage, new resources), and go through those lines with a senior (on a test project, your mentor) before merging. The change is applied the way your team applies changes, usually by the pipeline or by someone with the rights; never apply in a shared account without your team's normal approval. If your change touches neither permissions nor cost, add a second one that does, e.g. the queue permission. On a test project without a cloud account, use Terraform's Kubernetes provider against your local cluster from the exercise above: add a ConfigMap value, raise the service's memory request (the cost line), and add a Role and RoleBinding that let it read one ConfigMap (the permission line); apply it, check it with kubectl, then run terraform destroy. Evidence: a link to the PR, the plan output (account IDs and secrets removed) with the permission and cost lines marked, the senior's review comments on those lines (by role, no names), and what you changed because of them.
23Observability & monitoring (back-end)
Making a service's behavior visible before anything breaks: structured logs, metrics, distributed traces (OpenTelemetry), dashboards, health endpoints, alerts, and SLIs and SLOs with error budgets.
TargetNovice
Observability & monitoring (back-end)
Making a service's behavior visible before anything breaks: structured logs, metrics, distributed traces (OpenTelemetry), dashboards, health endpoints, alerts, and SLIs and SLOs with error budgets.
Learn structured logs, metric types and what never goes in a log
Read the Prometheus pages 'Metric types', prometheus.io/docs/concepts/metric_types/, on counters, gauges and histograms and when each fits, and 'Metric and label naming', prometheus.io/docs/practices/naming/, on base units, the _total suffix and why unbounded values such as user IDs must never be labels. Then read OWASP's 'Logging Cheat Sheet', cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html, for the when, where, who and what each log event should record, and the data to leave out or mask (session IDs, access tokens, passwords, connection strings, card data, sensitive personal data). Then find your project's conventions: which logger and format it uses (JSON or key-value fields), its standard fields (e.g. request or trace ID, service name), when it uses each level, and how its metrics are named. For the feature or fix you'll ship in the exercise below, write a half-page plan: three events you'd log with their level and fields, one field you'd deliberately leave out and why, and two metrics (a counter and a histogram) with names and labels that follow the naming page and your project. Evidence: your plan and your mentor's comments.
Add structured logs and metrics to your change and check it in production
You need read access to your service's dashboards and log search in production (e.g. Grafana, Kibana, Datadog, CloudWatch); ask before you start. On a real or test project, ship the plan from the exercise above with a small feature or fix. Log with the project's logger as structured fields, not values glued into the message (e.g. SLF4J key-value pairs with Spring Boot 3.4+ structured logging, structlog in Python, log/slog's JSON handler in Go, ILogger message templates with the JSON console formatter in .NET, pino in Node), and use its metrics library (e.g. Micrometer, prometheus_client, client_golang, System.Diagnostics.Metrics, prom-client, or the OpenTelemetry metrics API). Add a test or check that tokens, passwords and personal data don't reach your log lines. Once it's deployed, compare your endpoint's or job's request count, error rate and latency on the dashboards for a day before and after the release, and find your new log lines with a log search by request ID. On a test project, run your service in Docker Compose with the grafana/otel-lgtm image (one container with an OpenTelemetry Collector, Prometheus, Loki, Tempo and Grafana, made for development and testing; Grafana on port 3000, OTLP on 4318) or with Prometheus and Grafana, keep a small load script running as your users, and search logs with `docker compose logs <service> | jq` if they don't reach Loki. Get it reviewed by another developer (on a test project, your mentor). Evidence: the PR link, a sample of your log lines with nothing sensitive in them, the metric query and dashboard screenshots before and after, your log search and its result, what you concluded about your change, and a reviewer's comments.
Set up an alert for your change with a senior's help
Read Prometheus's 'Alerting' practices, prometheus.io/docs/practices/alerting/, on keeping alerts few, alerting on symptoms users feel (errors and latency) rather than causes, and leaving slack for short blips. Then, with a senior who knows your team's alerting (on a test project, your mentor), set up one alert on the metrics from the exercise above, e.g. your endpoint's error rate above 5% for 10 minutes. Ask them, and write down the answers: which tool holds alert rules (Prometheus or Grafana alert rules, Datadog monitors, CloudWatch alarms) and whether they live in code; which threshold and duration fit your traffic; who gets notified and whether it pages or opens a ticket; and what that person should do first (a line in the runbook or the alert's description). Write the rule, get it reviewed by the senior, and test it in staging or on your test project: cause the errors (e.g. a bad input or a flag your mentor gives you), see it fire, then see it resolve. Never test by breaking production. On grafana/otel-lgtm, use Grafana alerting with a contact point your mentor can see (e.g. a test chat channel). Evidence: the alert rule or its PR, your notes on what the senior helped with (by role, no names), screenshots of it firing and resolving, the notification you received (no personal addresses shown), and what you'd now set up alone and what you'd still ask about.
24Debugging & incident response (back-end)
Finding and fixing what broke, locally and in production: debuggers, reproducing bugs, root cause from logs and traces, on-call with runbooks, mitigating incidents (rollback, flag off, scale up), and blameless postmortems.
TargetNovice
Debugging & incident response (back-end)
Finding and fixing what broke, locally and in production: debuggers, reproducing bugs, root cause from logs and traces, on-call with runbooks, mitigating incidents (rollback, flag off, scale up), and blameless postmortems.
Learn the debugging basics and your stack's debugger
Read Julia Evans's 'A way to categorize debugging skills', jvns.ca/blog/2022/08/30/a-way-to-categorize-debugging-skills/, for the five kinds of debugging skill and the strategies it lists (reproducing the bug in a small program or test, finding a version that works and seeing what changed, adding logging). Then read VS Code's debugging guide, code.visualstudio.com/docs/debugtest/debugging, on breakpoints, conditional breakpoints, logpoints, stepping and the Variables, Watch and Call Stack views (it debugs Node out of the box and other languages through extensions); if you use IntelliJ IDEA, PyCharm, GoLand, Rider or Visual Studio, read the same topics in its help instead. Write a short note: which strategies from the article you already use and which one you'll try next, and for conditional breakpoints, logpoints and the call stack, one situation in your own service where you'd use each instead of a print statement. Evidence: your note, checked by your mentor.
Reproduce and fix bugs with the debugger, logs and traces
Take two small bug tickets (a wrong result or an error) from your real or test project; if there are none, your mentor plants two in a test service you haven't read (e.g. in Docker Compose). Work on each on your own. For the first, reproduce the exact triggering request locally under the debugger from the exercise above: stop in the handler with a conditional breakpoint for that input, step into what it calls, read the call stack, and use a logpoint, not a print. In Docker, have the debugger listen on all interfaces inside the container (e.g. `node --inspect=0.0.0.0:9229`, `python -m debugpy --listen 0.0.0.0:5678`, JDWP with `address=*:5005`, `dlv --headless --listen=:2345`) but publish it only on your machine (`-p 127.0.0.1:9229:9229`, or `127.0.0.1:9229:9229` under ports in Compose), and attach; for .NET, use Visual Studio or Rider container debugging. Write a failing test that reproduces it before you fix it. For the second, start from the logs: find the failing request's error and follow its request or trace ID through the logs of every component it touched, and open its trace to see which call failed (no tracing? your mentor plants this bug in a service with OpenTelemetry auto-instrumentation and Jaeger, or turns on an error flag in the OpenTelemetry Demo from the Advanced exercises); then reproduce and fix it. Confirm both fixes with the original request. Replace tokens, emails and personal data in logs with placeholders. Evidence: a screenshot of the debugger paused in your handler showing the call stack, variables and breakpoint condition (no secrets or customer data); for each bug, the PR with the reproducing test, a short root cause, the redacted log lines and trace screenshot that led you there, and a reviewer's comments (on a test project, your mentor's).
Learn how on-call, runbooks and escalation work
Read PagerDuty's 'Being On-Call', response.pagerduty.com/oncall/being_oncall/, on what an on-call engineer does (triage, fix, improve, hand off), why every shift has a backup, and when to escalate: when you can't find the cause in a reasonable time or don't know the service, and without hesitating. Then find your team's runbooks (step-by-step instructions for handling a known alert) and its escalation path: who the backup is, who comes after them, and how you reach each. If your team has no on-call or no runbooks, your mentor gives you a one-page runbook with two or three alerts for the service you'll practice on in the exercise below. For three alerts in the runbook, write what you'd check first, which runbook steps you'd follow, and the exact point where you'd stop and escalate, and to whom. Evidence: your notes on the three alerts and the escalation path, reviewed by the person who's on call (or your mentor), with their corrections.
Take an on-call shift with a runbook and a backup, and escalate
Do the version that fits your team, using your notes from the exercise above. If your team has an on-call rotation, take a shift (a day or a week) as primary or secondary, with an experienced backup who has agreed to it. If juniors aren't on the rotation yet, shadow the on-call person for a week: get the same alerts, work each one with the runbook in parallel, and tell them what you'd do before they act. If your team has no on-call at all, or you're on a test project, your mentor runs a game day: a test service in Docker Compose with the runbook from the exercise above, two or three faults injected one at a time (e.g. the database container stopped, a size-limited data mount filled so your laptop's own disk stays safe, such as `--tmpfs /data:size=50m` or a Compose `tmpfs` mount with a `size`, a bad config value), each sent to you in chat as an alert, with your mentor as your backup. For every alert, acknowledge it, follow the runbook, and write down what you did and what happened. At least one issue must go beyond the runbook, and you escalate it to your backup with a short message: what you see, what you've tried, what you need. Real shifts don't produce one on schedule, so if none comes up, your backup or mentor runs one short drill during your shift that the runbook doesn't cover. At the end, hand off to the next person: what's still open and what may come back. Keep tokens, customer data and colleagues' names out of your log; refer to people by role. Evidence: your shift log (each alert, when you acknowledged it, the runbook steps, the outcome), your escalation message and the backup's response, your handoff note, and a short note from your backup or mentor on how you did.
25AI-assisted development (back-end)
Using AI coding assistants and agents well on back-end work: giving good context, breaking work down, verifying and reviewing their output, knowing when not to trust it, and managing security, privacy and licensing risk.
TargetNovice
AI-assisted development (back-end)
Using AI coding assistants and agents well on back-end work: giving good context, breaking work down, verifying and reviewing their output, knowing when not to trust it, and managing security, privacy and licensing risk.
Learn a habit for checking AI code and what never goes into a prompt
Read Simon Willison's 'Here's how I use LLMs to help me write code', simonwillison.net/2025/Mar/11/using-llms-for-code/, especially 'Account for training cut-off dates' (why a model may not know the current version of your framework or library), 'Context is king' and 'You have to test what it writes!'. Then read Section 9, 'Prompt Context Leakage and Sensitive Code Exposure', of OWASP's 'Secure Coding with AI' cheat sheet, cheatsheetseries.owasp.org/cheatsheets/Secure_Coding_with_AI_Cheat_Sheet.html, on how secrets and sensitive code reach an AI tool's context. Before you use any assistant on a real project, ask your mentor or lead for the team's AI rules: which tools are allowed, on which accounts, and what may be shared with them. If AI tools aren't allowed at work, you'll do the exercises below on a test project. Write a half-page note for your real or test service with two parts. First, your personal checklist for AI output before you commit it (what you read line by line, what you run, which tests, what you look up in the official docs of your language and framework). Second, what must never go into a prompt or into files the tool can read: e.g. .env files, connection strings, API keys, cloud credentials, database dumps, production logs with customer data. Evidence: your note, the team's rules you found (or a note that there are none), and your mentor's comments.
Ship a well-scoped back-end ticket with AI help, checked and disclosed
Pick a well-scoped ticket on a real or test project, for example a new validation rule on a request, an extra field on an endpoint with its migration, a small repository query, or unit tests for one service method. Use an AI coding assistant your team allows for part of it, on your own: e.g. Claude Code, Cursor, GitHub Copilot, JetBrains AI Assistant or Codex. Most of these need a paid plan; GitHub Copilot Free, github.com/features/copilot/plans, has a monthly allowance that is enough for this exercise, and a tool your company pays for works too. Follow the team's rules and your note from the exercise above: keep secrets and real customer data out of prompts and out of what the tool can read (in Claude Code, a deny rule such as Read(./.env) in its settings stops it reading the file; other tools have their own ignore settings), and use made-up data in examples and fixtures. Then apply your checklist: read every line, run the service and call the endpoint, run the tests, add tests for the AI-written parts, and rewrite anything you don't fully understand. If it used a library function or config key you don't know, look it up in the official docs for the version your project uses. In the PR description, tell reviewers which parts came from AI and how you checked them. Evidence: the PR link with the AI disclosure and passing tests, a note on what you changed in the AI output and why, and your reviewer's comments (on a test project, your mentor's).
Debug an error with AI help without leaking secrets or customer data
Take a real error from your project to debug with an AI assistant: a stack trace from staging or production logs, a failing request, or a slow query with its output. Real errors usually carry data that must not leave your machine, so before you paste anything, remove it: access tokens, passwords and API keys, connection strings, internal host names, customer emails, names, phone numbers and ids. Replace each with a placeholder that keeps the shape (e.g. <customer_email>, <token>), and where you can, cut the problem down to a small reproduction with made-up data instead of pasting real rows. On a test project, or if no real error comes up, your mentor gives you a log excerpt and a failing request that contain a fake token, fake customer emails and a fake connection string, so you have something to redact either way. Ask the assistant for possible causes, then check each suggestion yourself (reproduce, read the code it points to, run a test) before you change anything, and fix the error. Show your redacted prompt to your mentor before sending it, if you're unsure whether something in it is safe. Evidence: the redacted prompt as you sent it, a list of what you removed by type (never the values), the suggestions you checked and which one was right, the fix, and your mentor's check that nothing sensitive was left.
Soft Skills
01Communication
Clearly and effectively conveying information, setting expectations, and aligning with others in written and verbal form.
TargetNovice
Communication
Clearly and effectively conveying information, setting expectations, and aligning with others in written and verbal form.
Spot a missing BLUF and rewrite it
Read Wikipedia's article on the BLUF (bottom line up front) technique, en.wikipedia.org/wiki/BLUF_(communication), which explains the practice of opening a message with its key information, responding to the five Ws (who, what, where, when, why), before any narrative detail or supporting context. Take this draft status update: 'Hey team, just wanted to give an update on the onboarding redesign. We've been working on wireframes this week and met with two stakeholders. There were some questions about scope timing. Let me know if you have questions.' Identify what's missing per the BLUF technique, then rewrite its opening sentence as a proper BLUF. Evidence: your written note on what was missing plus the rewritten BLUF opening sentence.
Write a status update that needs zero follow-ups
Using the BLUF technique from the previous exercise, write a full status update (what's done, what's next, what's blocked) for a real or test project you're working on. Show it to a real reader who doesn't already know the details and ask them to tell you what's happening without asking you a single follow-up question. Evidence: the status update plus a note on whether your reader needed a follow-up question, and what it was if so.
02Collaboration
Working well with others: understanding different perspectives, managing shared priorities, and being a reliable team member.
TargetNovice
Collaboration
Working well with others: understanding different perspectives, managing shared priorities, and being a reliable team member.
Confirm what 'reliable help' means for this ask
Read Google's re:Work guide on team effectiveness, rework.withgoogle.com/intl/en/guides/understand-team-effectiveness, which names dependability (reliably completing quality work on time) as one of the five dynamics that separate effective teams. Pick one specific task a teammate has asked you for help with recently, or one you expect to be asked for soon, and write down exactly what 'reliably complete quality work on time' means for that ask: the concrete deliverable, the deadline, and how you'll confirm to the teammate that it's done. Evidence: your write-up naming the task, the deliverable, the deadline, and your confirmation plan.
Help a teammate and name their part in it
The next time a teammate asks you for help with a specific task (or, if none is pending, ask one to give you a real task to help with), do the work, then when it's shared with others (a demo, a doc, a status update, a message to the team), explicitly name your teammate's contribution alongside your own rather than presenting it as solo work. Evidence: the completed help plus a copy or screenshot of the moment you shared credit (the message, doc line, or demo note), showing both your names attached to the shared work.
03Conflict management
Navigating and resolving workplace disagreement in a way that keeps the team functional and relationships intact.
TargetNovice
Conflict management
Navigating and resolving workplace disagreement in a way that keeps the team functional and relationships intact.
Learn what intellectual humility looks like in a disagreement
Read Greater Good Magazine's 'What Does Intellectual Humility Look Like?,' greatergood.berkeley.edu/article/item/what_does_intellectual_humility_look_like, which frames disagreement as healthy when handled with intellectual humility, being open to other people's views instead of contentious about them, and willing to reconsider your own position when shown new evidence. As you read, pull out one behavior the article names for sharing a differing opinion without it becoming contentious, and one behavior it names for updating your own view when shown new evidence. Evidence: the two behaviors you pulled out, each in your own words, with a one-line example of how you'd use it.
Document a real disagreement you handled
Recall a real disagreement you had in a work discussion recently (a design decision, a process choice, a scope call; use the most recent real one you can, or a realistic one if nothing comes to mind) and, with a mentor or reviewer available to read it, write a short account of what your differing opinion was, how you shared it respectfully, and whether any new information came up that changed your mind and how you responded to it. Evidence: the written account plus your reviewer's confirmation that the disagreement, as described, was shared respectfully and that any view change was genuine rather than just conflict avoidance.
04Planning / Time management
Managing your own time and, at higher levels, the team's: prioritizing work so it's delivered efficiently and predictably.
TargetNovice
Planning / Time management
Managing your own time and, at higher levels, the team's: prioritizing work so it's delivered efficiently and predictably.
Learn why context-switching breaks your task list
Read Psychology Today's 'The True Cost of Multi-Tasking,' www.psychologytoday.com/us/blog/brain-wise/201209/the-true-cost-of-multi-tasking, which argues that what feels like multitasking is actually rapid task-switching, and that switching quietly derails commitments you'd otherwise meet by costing up to 40% of your productive time. Then look at your own task list for the coming week and mark the one task you know you'd normally split across multiple sittings instead of finishing in one go, and write 2-3 sentences on the single block of time you'll protect for it instead. Evidence: your task list with the marked task, plus the 2-3 sentence plan for protecting a single block of time for it.
Apply the capture-and-clarify step of GTD to your own list
Read the official overview of the Getting Things Done method, gettingthingsdone.com/what-is-gtd/, focusing on the 'capture' and 'clarify' steps for turning loose commitments into a trustworthy task list. Then take every commitment currently living in your head, chat threads, or email for your individually-scoped work and capture them into one list, clarifying each into a single concrete next action rather than a vague reminder. Evidence: your captured list with each item rewritten as a concrete next action.
Run your own task list for a real work week and report what nearly slipped
For a real (or test) week of individually-scoped work, keep a single task list of your commitments, updating it daily as items get added or finished, and share the starting list with your mentor or reviewer so they know what you're committing to before the week begins. At the end of the week, identify the one commitment you nearly missed and write 2-3 sentences on what caused the near-miss and what you changed on your list to catch it in time. Evidence: your week's task list, the 2-3 sentence note on the near-missed commitment, and your mentor's confirmation they saw your starting list.
05Self-Direction
Motivating yourself to complete work effectively, on time, and without close supervision.
TargetNovice
Self-Direction
Motivating yourself to complete work effectively, on time, and without close supervision.
Read what makes check-ins land, then apply one habit
Read Culture Amp's guide to managing up, www.cultureamp.com/blog/managing-up-importance, which explains that keeping your manager informed in the right way, adapted to their preferred communication style and with issues flagged early rather than saved for a review, is something you actively manage, not something that just happens on its own. Pick one small task you're currently working on with light check-ins from your manager or lead, then pick one habit from the article you don't yet do consistently, and write 2-3 sentences on exactly how you'll change your next check-in on that task because of it. Evidence: your 2-3 sentence write-up naming the task, the habit, and the specific change you're making to your next check-in.
Log your check-ins on one assigned task and review the pattern with your manager
Pick one small task assigned to you and, for its full duration, keep a short log every time you check in with your manager or lead: the date, what you reported, and anything that came up. When the task is done, sit down with your manager and walk through the log together, asking them directly whether the check-in cadence and content felt right, or whether they ever had to chase you for an update instead of you offering one. Evidence: the check-in log covering the whole task, plus your manager's written or verbal reaction on whether the cadence worked and whether they ever had to ask rather than being told.
06Estimating (back-end)
Predicting the realistic effort to build and ship back-end work (sizing tickets, running spikes on unknowns, flagging risks such as data migrations, other teams' APIs and rollout) to inform sprint plans, roadmaps and commitments.
TargetNovice
Estimating (back-end)
Predicting the realistic effort to build and ship back-end work (sizing tickets, running spikes on unknowns, flagging risks such as data migrations, other teams' APIs and rollout) to inform sprint plans, roadmaps and commitments.
Build your reference scale from past back-end tickets
Read Mike Cohn's 'What Are Story Points?', www.mountaingoatsoftware.com/blog/what-are-story-points, which explains relative estimates as one measure that combines the amount of work, its complexity, and its risk and uncertainty, where the ratios between estimates matter more than the numbers. Then look through recently finished back-end tickets on a real or test project (your team's board, or your own past tasks; on a test project, ask your mentor for a few they've done) and pick three reference tickets: a small, a medium and a large one, in whatever unit your team uses (points, T-shirt sizes or days). For each, note what made it that size in back-end terms, e.g. a change to an existing endpoint or a new one, whether it needed a database migration, how many services or modules it touched, the tests it needed (unit, integration with a database, API), API documentation, configuration or a feature flag, review rounds, and checking logs and metrics after release. Evidence: your three reference tickets with links and sizing notes, checked by a senior or your mentor.
Estimate your own tickets in sprint planning with a senior's check
In your next sprint planning (on a test project, a mock planning session with your mentor as the senior), estimate at least three well-defined back-end tickets assigned to you, e.g. add a filter to a list endpoint, add a column with its migration, send an email when an order ships. Write your numbers down before you hear anyone else's, comparing each ticket with your reference tickets from the exercise above. For each, write what your estimate includes: the code, the migration, unit and integration tests, API docs, configuration or a feature flag, fixes from code review, and checking the release in logs or metrics. Then make the sanity check happen: before planning or right after it, send a senior your estimates with what each includes and ask them to reply in writing where they'd have a different number and why. Note where and why you disagreed and which number you kept. At the end of the sprint, record the actual effort for each ticket and compare. Refer to the senior by role, no names. Evidence: a table with each ticket link, your estimate and what it covered, the senior's written comment, the actual effort, and two or three sentences on what you'll include next time.
07Critical Thinking / Questioning (back-end)
Thinking a technical problem through before solving it: questioning requirements, weighing trade-offs and cost against value, and challenging the first workable answer, including one an AI suggests.
TargetNovice
Critical Thinking / Questioning (back-end)
Thinking a technical problem through before solving it: questioning requirements, weighing trade-offs and cost against value, and challenging the first workable answer, including one an AI suggests.
Learn to ask questions that surface what a back-end ticket leaves out
Read Julia Evans's 'How to ask good questions', jvns.ca/blog/good-questions/, especially the sections on stating what you know, asking questions where the answer is a fact, and asking questions that show what's not obvious. Then take a back-end ticket you already finished on a real or test project (a new endpoint, a migration, a background job) and read it again as if you hadn't built it yet. List five questions you now wish you had asked the ticket owner before starting, for example who calls the endpoint and how often, what it should return when the record doesn't exist or the input is invalid, what happens if the same request arrives twice, how many rows a list can grow to, whether existing data needs a backfill, whether current clients or other services break, how fresh the data must be, or what to do when a service it calls is down. Rewrite each one using the article's advice so the owner can answer it in a line, for example: 'I'm assuming a second identical request returns the order created by the first one. Is that right?' Mark which answers would have changed what you built. Evidence: the ticket link, your five rewritten questions, and your mentor's comments on them.
Question an unclear back-end ticket before you start building
For your next two back-end tickets on a real or test project, stop before writing code and list what the ticket doesn't say, phrasing each question the way you practiced in the exercise above. Check at least these: who calls it and at what volume; which inputs are invalid and what the caller gets back; missing records, empty lists and duplicate requests; who is allowed to do it and whose data they may see; existing data (does a new column need a backfill on a large table?); compatibility with the clients and services already calling it; how fresh the result must be (right away, within minutes, or a nightly run is fine); what happens when a database or service it depends on fails; and whether it stores personal data or needs an audit trail. Send the questions to the ticket owner (a product manager, tech lead, or the front-end or mobile developer who will call it; on a test project, your mentor playing one), get answers, and note which ones changed what you built. Evidence: for each ticket, your list of questions, the answers you got (a linked comment thread is fine), and one or two sentences on what you would have built wrong without asking.
Name the trade-off between two ways to build it and talk it through with a senior
Pick a ticket on a real or test project where you can see two workable ways to build it, for example computing a value when it's read or storing it when it's written, a new table or a JSON column, fixing a slow query or putting a cache in front of it, doing the work inside the request or in a background job, a library or a small helper of your own, extending an existing endpoint or adding a new one, or updating data in real time or in a nightly batch. Before choosing, write a short note: what each option costs (time to build, extra infrastructure, data that can get out of sync, code to maintain, how hard it is to undo once data or clients depend on it) and what each gains, and which one you lean toward. Then book 15 minutes with a senior teammate (on a test project, your mentor) before you start coding, talk it through, and record where they agreed, what they questioned and the final choice. Your note is the input; don't let the senior choose for you without hearing your reasoning first. Evidence: your trade-off note, a summary of the conversation with the senior's challenges and your answers (by role, no names), and a link to the PR with the option you built.