Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmaspas7

Easiest Solution 2 Pass Your Certification Exams

1z0-908 Oracle MySQL 8.0 Database Administrator Free Practice Exam Questions (2025 Updated)

Prepare effectively for your Oracle 1z0-908 MySQL 8.0 Database Administrator certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 3
Total 141 questions

Examine this command, which executes successfully on InnoDB Cluster: dba.dropMetadataSchema()

Which two statements are true? (Choose two.)

A.

Group Replication will be dissolved and all metadata purged.

B.

Group Replication is still operational, but InnoDB Cluster must be reimported under MySQL Shell.

C.

The mysql_innodb_cluster_metadata schema is dropped from the instance where the connection was established.

D.

The command drops the mysql_innodb_cluster_metadata schema and re-creates it.

E.

The mysql_innodb_cluster_metadata schema is dropped from all reachable members of the cluster.

F.

Connections driven by MySQL Router are not affected by the command.

You recently upgraded your MySQL installation to MySQL 8.0.

Examine this client error:

Which option will allow this client to connect to MySQL Server?

A.

[mysqld]

default_authentication_plugin=sha256_password

B.

ALTER USER user -

IDENTIFIED WITH mysql_native_password

BY 'password';

C.

[mysqld]

default_authentication_plugin=caching_sha2_password

D.

ALTER USER user -

IDENTIFIED WITH caching_sha2_password

BY 'password';

E.

ALTER USER user -

IDENTIFIED WITH sha256_password -

BY 'password';

F.

[mysqld]

default_authentication_plugin=mysql_native_password

You have replication configured, which consists of one master and one slave on different hosts with an asynchronous replication channel between them.

Your goal is to decrease the amount of data that is transferred between these two hosts.

It is confirmed that the slave instance does not need to have data from the example database.

Which replication filter contributes to your goal?

A.

on slave: --replicate-wild-ignore=example.%

B.

on slave: --replicate-ignore-db=example

C.

on master: --replicate-ignore-db=example

D.

on master: --binlog-ignore-db=example

E.

on slave: --binlog-ignore-db=example

Where is the default data directory located after installing MySQL using RPM on Oracle Linux 7?

A.

/usr/mysql

B.

/usr/bin

C.

/etc/my.cnf

D.

/var/lib/mysql

E.

/usr

An attempt to recover an InnoDB Cluster fails.

Examine this set of messages and responses:

host3:3377 ssl JS > dba.rebootClusterFromCompleteOutage() Reconfiguring the default cluster from complete outage…

The instance ‘host1:3377'’ was part of the cluster configuration. Would you like to rejoin it to the cluster? [y/N]: y

The instance ‘host2:3377’ was part of the cluster configuration. Would you like to rejoin it to the cluster? [y/N]: y

Dba.rebootClusterFromCompleteOutage: The active session instance isn’t the most updated in comparison with the ONLINE instances of the Cluster’s metadata. Please use the most up to date instance: ‘host1:3377’. (RuntimeError)

Which statement is true?

A.

The instance deployed on host3 must be rebuilt with a backup from the primary instance.

B.

The cluster is running and there is at least one ONLINE instance.

C.

The instance deployed on host3 must be synchronized from a donor deployed on host1 by using the command cluster.addInstance(‘host1:3377’).

D.

It is possible to determine the most up-to-date instance by comparing different global transaction identifier (GTID) sets with GTID_SUBSET(set1,set2).

E.

The active session instance is invalid and must be re-created by using the command shell.connect (‘host3:3377’).

Which two are features of MySQL Enterprise Firewall? (Choose two.)

A.

recording incoming SQL statement to facilitate the creation of a whitelist of permitted commands

B.

blocking of potential threats by configuring pre-approved whitelists

C.

modifying SQL statement dynamically with substitutions

D.

automatic locking of user accounts who break your firewall

E.

provides stateless firewall access to TCP/3306

You are considering using file-system snapshots to back up MySQL.

Which three statements are true? (Choose three.)

A.

They take roughly twice as long as logical backups.

B.

They allow direct copying of table rows with operating system copy commands.

C.

They work best for transaction storage engines that can perform their own recovery when restored.

D.

The backup window is almost zero from the perspective of the application.

E.

They do not back up views, stored procedures, or configuration files.

F.

There is a slight performance cost while the snapshot is active.

G.

They do not use additional disk space.

You plan to install MySQL Server by using the RPM download.

Which two statements are true? (Choose two.)

A.

You can provide the root password interactively.

B.

You must manually initialize the data directory.

C.

The MySQL RPM package installation supports deploying multiple MySQL versions on the same host.

D.

MySQL uses the RPM relocatable installation target feature.

E.

The functionality is split among several RPM package files.

F.

You can find the root password in the error log after the first start.

Which two statements are true about MySQL Enterprise Backup? (Choose two.)

A.

It supports backing up only table structures.

B.

It can perform hot or warm backups.

C.

It creates logical backups.

D.

It supports the creation of incremental backups.

E.

It supports backup of a remote MySQL system.

F.

It supports restoring to a remote MySQL system.

You have semi-synchronous replication configured and working with one slave. rpl_semi_sync_master_timeout has never been reached.

You find that the disk system on the master has failed and as a result, the data on the master is completely unrecoverable.

Which two statements are true? (Choose two.)

A.

No committed transactions are lost.

B.

The slave automatically identifies that the master is unreachable and performs any required actions so that applications can start using the slave as the new master.

C.

As soon as the incident happens, application can read data from the slave and rely on it to return a full and current set of data.

D.

Reads from the slave can return outdated data until the value of the rpi_semi_sync_master_timeout variable is reached.

E.

Reads from the slave can return outdated data for some time, until it applies all transactions from its relay log.

F.

A small amount of committed transactions may be lost in case they were committed just before the disk failure.

Examine this MySQL Shell command:

dba.rebootClusterFromCompleteOutage()

Which two statements are true? (Choose two.)

A.

It reconfigures InnoDB Cluster if the cluster was stopped.

B.

It performs InnoDB Cluster instances rolling restart.

C.

It only starts all InnoDB Cluster instances.

D.

It is not mandatory that all instances are running and reachable before running the command.

E.

It stops and restarts all InnoDB Cluster instances and initializes the metadata.

F.

It only stops and restarts all InnoDB Cluster instances.

G.

It picks the minimum number of instances necessary to rebuild the quorum and reconfigures InnoDB Cluster.

Which statement is true about MySQL Enterprise Transparent Data Encryption (TDE)?

A.

MySQL TDE uses an appropriate keyring plugin to store the keys in a centralized location.

B.

Both MyISAM and InnoDB tables can be encrypted by setting the keyring_engine = ALL variable in the MySQL configuration file.

C.

Lost tablespace encryption keys can be regenerated only if the master database key is known or present in the Key Vault specification.

D.

TDE can encrypt InnoDB and MyISAM tables only when the tables are stored in the SYSTEM tablespace.

Examine this statement and output:

Which two SQL statements can jsmith execute? (Choose two.)

A.

UPDATE world.country SET Name='all';

B.

UPDATE world.country SET Name='one' LIMIT 1;

C.

UPDATE world.country SET Name='new' WHERE Name='old';

D.

UPDATE world.country SET Name=CONCAT('New ',Name);

E.

UPDATE world.country SET Name='first' ORDER BY Name LIMIT

You plan to take daily full backups, which include the ndbinfo and sys (internal) databases.

Which command will back up the databases in parallel?

A.

mysqldump --single-transaction > full-backup-$(date +%Y%m%d).sql

B.

mysqlpump --include-databases=% > full-backup-$(date +%Y%m$d).sql

C.

mysqlpump --all-databases > full-backup-$(date +%Y%m%d).sql

D.

mysqldump --all-databases > full_backup-$(date +%Y%m%d).sql

Examine this SQL statement:

Which set of privileges will allow Tom to execute this SQL statement?

A.

GRANT ALL PRIVILEGES ON ‘world’.‘city’ TO ‘tom’@’%’;

GRANT SELECT (‘code’) ON ‘world’.‘country’ TO ‘tom’@’%’;

B.

GRANT UPDATE ON ‘world’.* TO ‘tom’@’%’;

GRANT ALL PRIVILEGES ON ‘world’.‘country’ TO ‘tom’@’%’;

C.

GRANT UPDATE ON ‘world’.‘city’ TO ‘tom’@’%’; GRANT SELECT ON ‘world’.* TO ‘tom’@’%’;

D.

GRANT UPDATE ON ‘world’.‘city’ TO ‘tom’@’%’; GRANT SELECT ON ‘world’.‘country’ TO ‘tom’@’%’;

Which two are use cases of MySQL asynchronous replication? (Choose two.)

A.

You can scale writes by creating a replicated mesh.

B.

It guarantees near real-time replication between a master and a slave.

C.

You can scale reads by adding multiple slaves.

D.

MySQL Enterprise Backup will automatically back up from an available slave.

E.

It allows backup to be done on the slave without impacting the master.

User account baduser@hostname on your MySQL instance has been compromised.

Which two commands stop any new connections using the compromised account? (Choose two.)

A.

ALTER USER baduser@hostname PASSWORD DISABLED;

B.

ALTER USER baduser@hostname MAX_USER_CONNECTIONS 0;

C.

ALTER USER baduser@hostname ACCOUNT LOCK;

D.

ALTER USER baduser@hostname IDENTIFIED WITH mysql_no_login;

E.

ALTER USER baduser@hostname DEFAULT ROLE NONE;

Which step or set of steps can be used to rotate the error log?

A.

Execute SET GLOBAL log_error = ‘’.

B.

Execute SET GLOBAL max_error_count = .

C.

Execute SET GLOBAL expire_logs_days=0 to enforce a log rotation.

D.

Rename the error log file on disk, and then execute FLUSH ERROR LOGS.

Which two are true about binary logs used in asynchronous replication? (Choose two.)

A.

They are pushed from the master to the slave.

B.

They contain events that describe database changes on the master.

C.

They contain events that describe all queries run on the master.

D.

They contain events that describe only administrative commands run on the master.

E.

They are pulled from the master to the slave.

Examine this partial output for InnoDB Cluster status:

Which statement explains the state of the instance deployed on host2?

A.

It can be recovered from a donor instance on host3 by cloning using the command cluster.rejoinInstance ('@host3:3377')

B.

It can rejoin the cluster by using the command cluster.addInstance('@host3:3377')

C.

It has been removed from the cluster by using the command STOP GROUP_REPLICATION;

D.

It can rejoin the cluster by using the command dba.rebootClusterFromCompleteOutage()

E.

It has been expelled from the cluster because of a transaction error.

Page: 1 / 3
Total 141 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved