Study guide · Flashcards and memory notes

MySQL DBA Professional flashcards

42 recall cards for 1Z0-918: architecture, install, security, monitoring, optimization, backup, and high availability.

Oracle MySQL7 decks · 42 cardsNo sign-up required

How to use these cards: Say the command or the concept out loud before you flip the card, and mark it honestly. Revisit the cards you missed tomorrow rather than rereading them right away. Progress is kept only while this page is open. For the full explanations, see the core notes.

Study mode

Choose a deck, flip each card, and mark what you already know.

All flashcards

Select a question to reveal its answer.

Deck 1 · Architecture

InnoDB memory, redo, undo.

6 cards
1.1Default transactional storage engine?

InnoDB. Provides transactions, row locking, and crash recovery.

1.2What does the buffer pool cache?

InnoDB data and index pages in memory.

1.3What do redo logs protect?

Committed changes for crash recovery replay.

1.4Why can undo grow under long transactions?

MVCC/rollback versions stay until the transaction ends and purge runs.

1.5innodb_file_per_table=ON means?

New InnoDB tables typically get a dedicated .ibd tablespace.

1.6Is the MySQL 8 query cache available?

No. It was removed; use the buffer pool and proper indexes.

Deck 2 · Install

Initialize, options, multi-instance.

6 cards
2.1How do you initialize a new datadir?

mysqld --initialize (or --initialize-insecure per docs).

2.2Where do Linux packages often put my.cnf?

/etc/my.cnf or under /etc/mysql/.

2.3What must differ for multiple instances?

port, socket, datadir, and server_id (at minimum).

2.4SET PERSIST vs SET GLOBAL?

PERSIST also records the value to survive restart when supported.

2.5First upgrade step?

Read notes and take a verified backup before changing versions.

2.6Where do startup failures appear?

The error log for that instance.

Deck 3 · Security

Users, TLS, FILE, least privilege.

6 cards
3.1Command to create an account?

CREATE USER ... IDENTIFIED BY ...

3.2MySQL 8 default auth plugin?

caching_sha2_password for typical new accounts.

3.3Force TLS for one user?

ALTER USER ... REQUIRE SSL (or X509 options).

3.4What does FILE privilege risk?

Reading/writing server-host files via certain SQL, limited by secure_file_priv.

3.5Why use roles?

Group privileges and grant/activate them as a set.

3.6App user should get SHUTDOWN?

No. Grant least privilege on the needed schema only.

Deck 4 · Monitoring

Performance Schema, slow log, status.

6 cards
4.1Where is detailed wait/statement instrumentation?

Performance Schema (often via sys views).

4.2What does the slow query log catch?

Statements longer than long_query_time (and related criteria).

4.3SHOW PROCESSLIST shows?

Current threads/sessions and states.

4.4Why watch history list length?

Purge lag / long transactions keeping undo alive.

4.5Connection pressure pair?

Threads_connected vs max_connections (plus aborts).

4.6Cost of the general query log?

High I/O on busy servers because nearly every statement is logged.

Deck 5 · Optimize

EXPLAIN, indexes, statistics.

6 cards
5.1How do you see the optimizer plan?

EXPLAIN estimates the plan; EXPLAIN ANALYZE executes supported statements to measure actual timing.

5.2What is a covering index?

An index that satisfies the query without reading the base row.

5.3Good composite for filter + sort?

Equality columns first, then ordering columns (for example status, created_at).

5.4How refresh optimizer stats?

ANALYZE TABLE after bulk changes.

5.5Why can LIKE '%term' skip indexes?

Leading wildcards defeat B-tree prefix matching.

5.6What does filesort often mean?

Extra sorting because the access path did not provide order.

Deck 6 · Backup

mysqldump, MEB, PITR.

6 cards
6.1Logical dump tool?

mysqldump (execute SQL to restore).

6.2Consistent InnoDB dump flag?

--single-transaction for InnoDB; concurrent DDL and nontransactional tables need separate care.

6.3What is MEB for?

Physical hot backups of InnoDB and related files.

6.4Binary logs enable which recovery?

Point-in-time recovery after a base backup.

6.5When is a backup trusted?

After a successful restore drill.

6.6Risk of PURGE BINARY LOGS?

Removing logs still needed by replicas or PITR.

Deck 7 · HA

Replication, GTID, InnoDB Cluster.

6 cards
7.1What does replication stream?

Binary log events via I/O and SQL (applier) threads.

7.2What is a GTID?

A global transaction id for unique labeling and auto-positioning.

7.3Why read_only on replicas?

Block ordinary local writes that would diverge the replica.

7.4InnoDB Cluster building blocks?

Group Replication + MySQL Shell + MySQL Router. Three voting server members tolerate one failure; Router is not a voter.

7.5Common lag field?

Seconds_Behind_Source plus IO/SQL thread status.

7.6How rebuild a drifted replica?

Restore/clone from a good copy, then start replication at recorded GTIDs or coordinates.

Memory notes

Durability trio: innodb_flush_log_at_trx_commit, sync_binlog, and verified backups. Convenience settings that skip fsync trade durability for speed.

Privilege ladder: CREATE USER → GRANT schema rights → REQUIRE SSL → never ALL ON *.* for apps.

HA ladder: binary logs → GTID → replica lag checks → Group Replication / InnoDB Cluster recovery docs when members leave.

Continue the MySQL DBA study path

The overview, core notes, flashcards, and practice exams are all published.

MySQL DBA hub →
Available

Overview

Exam format, the seven topic areas, and a lab plan.

Available

Core Notes

Reference notes for InnoDB, security, backups, and HA.

Available · You are here

Flashcards & Memory Notes

42 recall cards in seven decks, plus memory notes for DBA operations.

Available

Practice Exams

200 original questions across the seven topic areas.

Official exam sources

Card facts follow the Oracle MyLearn 1Z0-918 exam page and the Oracle Certification catalog. Method behavior is in the MySQL Reference Manual. These cards are independent recall prompts, not official exam items.

AWS Data Engineer

An AWS data pipeline exam. It is not the Oracle MySQL DBA Professional credential.

Apply concepts in the Scenario Workshop →