Key space
The set of all possible keys for an algorithm, 2 to the power n for an n-bit key. The effective key space is what an attacker must actually search, and it can be far smaller.
Key space is the total number of distinct keys an algorithm can use. For an unrestricted key of n bits it is 2^n: DES, with its 56-bit key, has 2^56 possible keys, and AES-256 has 2^256. A brute-force attack searches the key space and on average finds the key after trying about half of it, so the size of the space sets the upper bound on the effort of exhaustive search, which work factor expresses in time or cost.
The useful distinction is between the nominal key space and the effective one. If a key is derived from a password, the attacker searches the passwords people are likely to choose, not every 256-bit value, so a dictionary attack can succeed against an algorithm whose full key space is far out of reach. A meet-in-the-middle attack similarly cuts the effective strength of double encryption to little more than that of one key. Key stretching and salting are the usual responses when keys have to come from passwords.
Exam relevance: a scenario is likely to describe a strong algorithm defeated quickly. Candidates are expected to consider whether the effective key space was small, for example because the key came from a guessable password, and to know that each added bit of key length doubles the number of possible keys.