Skip to content

PostgreSQL Indexing Strategies Practice Exam

Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.

📝 50 questions · ⏱ 60 minutes · 🎯 Pass mark 70% · 🆓 Free, no signup

Exam details

  • 50 questions drawn from 120 cards
  • Countdown timer — auto-submits when time runs out
  • Pass mark 70% (real certification threshold)
  • Full review of wrong answers at the end
  • No signup required — save your score with a free account

Sample Questions

5 shown

What is an index in PostgreSQL?

Show ▼

A secondary data structure that lets the planner find rows matching a predicate without scanning the whole table, at the cost of extra storage and write overhead.

What is a B-tree index in PostgreSQL?

Show ▼

The default index type, a balanced tree that keeps keys sorted and supports equality and range predicates, plus IS NULL, IS NOT NULL, and ORDER BY traversal in index order.

Which index access method is the default in PostgreSQL?

Show ▼

btree.

What index types does PostgreSQL ship with for general use?

Show ▼

B-tree, Hash, GIN, GiST, SP-GiST, BRIN, and the extension-provided Bloom (and others like zombodb, rum, pg_trgm).

What is the main trade-off of any index?

Show ▼

It speeds up reads (selections, joins, sorts) at the cost of additional storage, slower writes (INSERT/UPDATE/DELETE), and extra work for VACUUM.

🎯 Take the PostgreSQL Indexing Strategies Practice Exam