Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

Oracle 1Z0-908 Dumps 2026 with Free Practice Questions and Answers

11 original MySQL 8.0 Database Administrator exam practice questions with answers and explanations.

Covers High Availability Techniques, Architecture, Backups And Recovery, Monitoring And Maintenance and 3 more.

Question types: single answer, multiple answers, drag and drop, dropdown and order list. A new question is added every 15 days.

1Z0-908 Practice Set Details

Vendor
Oracle
Exam Code
1Z0-908
Questions On This Page
11
Exam Topics Covered
7 of 7
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
140
Certification
Oracle Database
11 questions

Oracle 1Z0-908 Exam Questions and Answers by Topic

Architecture

2 practice questions on this topicWhat this topic covers

Question 1

Added

Single Answer

A reporting service opens thousands of short-lived connections during a morning batch, then leaves many sessions idle. The server has limited memory, and increasing the global connection limit caused memory pressure even though only a fraction of connections were active. The application team can change its connection behavior, but the DBA cannot deploy a proxy or increase host memory before the next release. Which change is the best first step to reduce the connection overhead while preserving the existing MySQL client protocol?

Correct answer: D

Reusing connections through an application pool avoids repeatedly creating and destroying server sessions and limits concurrent connections without requiring more server memory. Shared memory is a local-host transport and does not address session churn. The commercial thread pool can improve thread scheduling under high concurrency, but it does not eliminate per-connection resource use and is not the best first application-side change. table_open_cache concerns open table handles, not connection or thread reuse.

Question 2

Added

Multiple Answers

A transactional application has a working set larger than the current InnoDB buffer pool. Monitoring shows frequent physical reads, while the host still has memory available. The database is also expected to restart cleanly after a crash, and administrators want to avoid changes that merely conceal the I/O symptom without increasing useful cache capacity. Which two adjustments are most appropriate? (Choose two.)

Correct answer: C, D

The buffer pool caches InnoDB data and index pages, so increasing its size within a safe memory budget directly addresses a working set that exceeds available cache. Buffer pool instances can be considered as part of configuration when the pool is sufficiently large and concurrency warrants them; they are not a substitute for adequate total capacity. The query cache was removed in MySQL 8.0. The log buffer holds redo records, not table pages. Disabling doublewrite changes crash-safety behavior and does not enlarge the buffer pool.

Server Installation and Configuration

1 practice question on this topicWhat this topic covers

Question 3

Added

Single Answer

A development host runs two independent MySQL 8.0 instances for separate projects. The second instance must start automatically at boot, use its own data directory and socket, and not overwrite or read settings intended for the first instance. The team wants a maintainable configuration using standard MySQL server startup behavior rather than a wrapper script. Which approach best meets these requirements?

Correct answer: A

A dedicated option file selected with --defaults-file lets the second server have independent settings such as datadir, socket, port, and log paths. The instance can be associated with its own startup service for boot operation. Sharing one undifferentiated option file risks conflicting settings unless carefully separated into groups, which the scenario rejects. Reusing the first socket creates a collision, and --no-defaults does not establish the full set of isolated paths needed for reliable operation.

Security

1 practice question on this topicWhat this topic covers

Question 4

Added

Dropdown

A company uses MySQL 8.0 accounts authenticated by the default caching SHA-2 password plugin. A client application must connect over TLS, and the account must be rejected if it attempts a non-TLS connection. Complete the account statement with the appropriate authentication plugin and transport requirement.

Choose the correct value for each blank.

CREATE USER 'app'@'10.%' IDENTIFIED WITH BY 'secret' REQUIRE ;
Correct answer:

CREATE USER 'app'@'10.%' IDENTIFIED WITH caching_sha2_password BY 'secret' REQUIRE SSL;

caching_sha2_password is the MySQL 8.0 default authentication plugin and supports the stated client authentication requirement. REQUIRE SSL ensures that this account can connect only over an encrypted TLS connection. mysql_native_password is not the specified default and does not improve the transport requirement. auth_socket is intended for compatible local socket authentication rather than this network application. Requiring X509 would impose an additional client-certificate requirement not stated in the scenario.

Monitoring and Maintenance

1 practice question on this topicWhat this topic covers

Question 5

Added

Drag And Drop

A support team is assigning each observed symptom to the MySQL status information that best helps investigate it. Match each symptom to the relevant status source.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Sessions currently executing a statement
InnoDB row-lock waits and deadlocks
Replication receiver and applier state
REPLICATION_APPLIER_STATUS
PROCESSLIST
INNODB_METRICS
Correct answer:
  • Sessions currently executing a statement → PROCESSLIST
  • InnoDB row-lock waits and deadlocks → INNODB_METRICS
  • Replication receiver and applier state → REPLICATION_APPLIER_STATUS

PROCESSLIST exposes current sessions and their command or statement state, making it the direct source for currently executing work. InnoDB metrics include instrumentation useful for examining InnoDB activity, including row-lock-related behavior. Replication applier status reports replication worker and applier state. The Performance Schema replication tables do not describe all current SQL sessions, and the process list is not the best source for InnoDB lock instrumentation.

Query Optimization

1 practice question on this topicWhat this topic covers

Question 6

Added

Single Answer

An order-processing query filters on customer_id and order_status, then returns rows ordered by created_at descending. The table has a single-column index on customer_id. EXPLAIN shows many rows examined, and the optimizer performs a filesort. Most queries specify both filter values and request the newest matching orders; queries filtering only by customer_id are uncommon. The DBA wants an index that best supports this workload without adding an unnecessary separate ordering index. Which index should be created?

Correct answer: C

The composite index begins with the equality-filter columns and ends with the ordering column, allowing MySQL to narrow by customer and status and read matching entries in created_at order. Leading with created_at or order_status is less useful for the stated predicates. Placing created_at before order_status prevents the index from using both equality conditions as a contiguous leading prefix before ordering. The existing customer_id index does not cover the combined filter and requested order.

Backups and Recovery

2 practice questions on this topicWhat this topic covers

Question 7

Added

Single Answer

A retailer uses MySQL 8.0 with InnoDB and takes nightly full backups using MySQL Enterprise Backup. The operations team must restore the database to a point after the latest full backup, but before an accidental bulk update. Binary logging is enabled, and the required binary logs are retained on a separate volume. The recovery runbook must minimize data loss while avoiding a full logical export and import, which would exceed the recovery window. Which procedure should the DBA use?

Correct answer: B

Restoring the physical backup establishes a consistent baseline; applying the retained binary-log events through the target timestamp supports point-in-time recovery. mysqlbinlog can produce SQL statements from the logs for replay. Replaying the entire day without stopping at the target could reapply the unwanted update. mysqldump cannot export a physical backup's files as a logical dump, and a data-directory copy would overwrite the recovery baseline rather than reverse selected transactions.

Question 8

Added

Single Answer

A financial system runs MySQL 8.0 with InnoDB tables and must support point-in-time recovery to any moment in the previous week. Full physical backups are taken nightly, and the recovery objective requires restoring the database to a separate server without stopping production. The binary log is currently enabled, but operators copy its files only when convenient and sometimes purge them after a successful nightly backup. Which operational change most directly closes the recovery gap while preserving the existing full-backup schedule?

Correct answer: D

Point-in-time recovery uses the binary log after restoring a base backup, so the logs must be copied off-host and retained continuously for the required window before purging. A transactional mysqldump can provide a consistent logical backup, but it does not preserve every subsequent transaction. The InnoDB redo log is for crash recovery, not a week-long point-in-time archive. Copying live data files without a supported backup method does not guarantee a consistent backup.

High Availability Techniques

3 practice questions on this topicWhat this topic covers

Question 9

Added

Multiple Answers

A three-member InnoDB cluster uses Group Replication in single-primary mode. A network interruption isolates one member from the other two; the majority remains online and continues accepting writes. The isolated server is later reconnected, but its applier reports that transactions required to catch it up are no longer available in the donors' binary logs. The team wants the safest recovery with minimal manual data handling. Which two actions should the administrator take? (Choose two.)

Correct answer: B, D

MySQL Shell provides supported cluster management and recovery workflows, including rejoining a member when the required transaction history is available. When the donor binary logs no longer contain the missing transactions, clone-based provisioning can replace the member's data with a current copy and let it rejoin safely. Promoting the isolated minority conflicts with Group Replication quorum behavior. Redo logs cannot substitute for missing replicated transactions, and manually altering GTID_PURGED risks claiming transactions the member does not actually contain.

Question 10

Added

Order List

A DBA must add a new MySQL 8.0 instance to an existing InnoDB cluster. The new instance is empty, the cluster is healthy, and the administrator has verified that the instance meets the cluster's prerequisites. Arrange the remaining operational steps in the order they must be performed, using MySQL Shell.

Drag the steps into the correct order, or use the arrows.

  1. Connect MySQL Shell to the cluster's current primary
  2. Add the configured instance with cluster.addInstance
  3. Verify the member has joined and is ONLINE
  4. Configure the instance for Group Replication with dba.configureInstance
Correct answer:
  1. Configure the instance for Group Replication with dba.configureInstance
  2. Connect MySQL Shell to the cluster's current primary
  3. Add the configured instance with cluster.addInstance
  4. Verify the member has joined and is ONLINE

The instance must first be configured for the settings and prerequisites Group Replication requires. The administrator then connects to the existing cluster, adds the new member through the cluster object, and verifies that it reaches ONLINE. Attempting to add an unconfigured instance can fail prerequisite checks. Connecting to the cluster only after adding the member is too late for the cluster operation, and an add command alone does not confirm successful membership.

Question 11

Added

Single Answer

A company uses asynchronous source-replica replication for read scaling. After a network outage, the replica is reachable again but reports that its SQL thread is stopped because an applied statement failed. The source is still serving writes, and the application requires the replica to resume without silently skipping data or creating an unexplained divergence. What should the DBA do first?

Correct answer: C

The DBA must identify why the SQL applier stopped and determine whether the replica's data can be made consistent before restarting replication. Correcting the underlying issue can allow the transaction to apply; if the replica has diverged and cannot be reconciled safely, rebuilding it from a consistent source is appropriate. Repeatedly starting the same failing transaction does not resolve its cause. Skipping a transaction can silently create divergence, and resetting logs or choosing the current source position can omit transactions rather than repair the replica.

More Oracle Practice Questions

Get the Full Oracle 1Z0-908 Dumps as PDF and Practice Test

11 questions are free on this page and the full set has 140. It comes as a PDF and an online practice test, with 90 days of free updates.