New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Free and Premium Oracle 1z0-908 Dumps Questions Answers

Page: 1 / 5
Total 140 questions

MySQL 8.0 Database Administrator Questions and Answers

Question 1

You are backing up raw InnoDB files by using mysqlbackup.

Which two groups of files will be backed up during a full backup? (Choose two.)

Options:

A.

ibbackup files

B.

*.CSM files

C.

*.sdi files

D.

*.ibd files

E.

ib_logfile* files

Buy Now
Question 2

You want to log only the changes made to the database objects and data on the MySQL system.

Which log will do this by default?

Options:

A.

general query log

B.

audit log

C.

slow query log

D.

binary log

E.

error log

Question 3

Which four are types of information stored in the MySQL data dictionary? (Choose four.)

Options:

A.

performance metrics

B.

table definitions

C.

access control lists

D.

view definitions

E.

server runtime configuration

F.

server configuration rollback

G.

stored procedure definitions

Question 4

A MySQL server is monitored using MySQL Enterprise Monitor’s agentless installation.

Which three features are available with this installation method? (Choose three.)

Options:

A.

MySQL Replication monitoring

B.

network-related information and network characteristics

C.

MySQL Query Analysis data

D.

CPU utilization

E.

security-related advisor warnings

F.

operating system memory utilization

G.

disk usage and disk characteristics including disk advisors warnings

Question 5

Which two are true about differences between logical and physical upgrades of MySQL databases? (Choose two.)

Options:

A.

Post-upgrade table storage requirements after logical upgrades are usually smaller than that after physical upgrades.

B.

Physical upgrades are performed for current instances on bare metal deployments, whereas logical upgrades are used for virtual machines or containerized instances.

C.

Logical upgrades are much faster because they do not require restarting the mysqld process.

D.

Post-upgrade table storage requirements after physical upgrades are usually smaller than that after logical upgrades.

E.

Physical upgrades are much faster because they do not require restarting the mysqld process.

F.

Physical upgrades leave data in place, whereas logical upgrades require data to be restored from mysqldump-type backups taken before the upgrades.

Question 6

Which two are characteristics of snapshot-based backups? (Choose two.)

Options:

A.

Snapshot-based backups greatly reduce time during which the database and applications are unavailable.

B.

There is no need for InnoDB tables to perform its own recovery when restoring from the snapshot backup.

C.

The frozen file system can be cloned to another virtual machine immediately into active service.

D.

A separate physical copy must be made before releasing the snapshot backup.

E.

Snapshot backups can be used only in virtual machines.

Question 7

Which statement is true about InnoDB persistent index statistics?

Options:

A.

Updating index statistics is an I/O expensive operation.

B.

Index statistics are calculated from pages buffered in the buffer pool for tables with InnoDB storage engine.

C.

Setting innodb_stats_auto_recalc=ON causes statistics to be updated automatically when a new index is created.

D.

Execution plans based on transient index statistics improve precision when

innodb_stats_persistent_sample_pages is increased.

E.

Increasing innodb_stats_persistent_sample_pages determines higher pages scanning speed, at the cost of increased memory usage.

F.

Tables are scanned and index statistics recalculated when an instance is restarted.

Question 8

Examine this output:

Which change should optimize the number of buffer pool instances for this workload?

Options:

A.

Increase the number of buffer pool instances to 16.

B.

Increase the number of buffer pool instances to 32.

C.

Decrease the number of buffer pool instances to 1.

D.

Increase the number of buffer pool instances to 12.

E.

Decrease the number of buffer pool instances to 4.

Question 9

You have configured MySQL Enterprise Monitor to monitor your MySQL server.

Which four features are available? (Choose four.)

Options:

A.

starting and stopping the MySQL instance

B.

tracing import and export with mysqidump

C.

deploying the MySQL agent on supported target operating system

D.

creating e-mail alerts and SNMP traps for MySQL warnings

E.

monitoring the availability of the MySQL instance

F.

analyzing executed MySQL queries

G.

monitoring of NDB Cluster API nodes

Question 10

Examine these statements, which execute successfully:

TRUNCATE test; BEGIN;

INSERT INTO test(id, name) VALUES(1, “Hello”); ROLLBACK;

SELECT id FROM test;

Which three storage engines would return a nonempty recordset for the test table when executing the statements? (Choose three.)

Options:

A.

NDB

B.

ARCHIVE

C.

InnopB

D.

BLACKHOLE

E.

MEMORY

F.

MyISAM

Question 11

A user wants to connect without entering his or her username and password on the Linux command prompt.

Which three locations can be used to store the user’s mysql credentials to satisfy this requirement? (Choose three.)

Options:

A.

$HOME/.my.cnf file

B.

$MYSQL_HOME/my.cnf file

C.

DATADIR/mysqld-auto.cnf file

D.

$HOME/.mylogin.cnf file

E.

$HOME/.mysql/auth/login file

F.

/etc/my.cnf file

G.

$HOME/.mysqlrc file

Question 12

Which three statements are true about MySQL replication? (Choose three.)

Options:

A.

Replication can use only TCP/IP connections.

B.

Any instance can have multiple slaves, but it can have only one master.

C.

Each instance in a replication topology must have a unique server ID.

D.

Binary logs contain only transactions originating from a single MySQL instance.

E.

Each slave must have its own MySQL user for replication.

F.

Binary logging must be enabled on the master in order to replicate to other instances.

G.

A replication user must have the SELECT privilege for all tables that need to be replicated.

Question 13

Which two methods allow a DBA to reset a user's password? (Choose two.)

Options:

A.

ALTER USER statement

B.

mysql_secure_installation utility

C.

SET PASSWORD statement

D.

mysqladmin client program

E.

GRANT statement

Question 14

Your MySQL server was upgraded from an earlier major version.

The sales database contains three tables, one of which is the transactions table, which has 4 million rows.

You are running low on disk space on the datadir partition and begin to investigate.

Examine these commands and output:

Which two statements are true? (Choose two.)

Options:

A.

Executing SET GLOBAL innodb_row_format=COMPRESSED and then ALTER TABLE transactions

will free up disk space.

B.

Executing ALTER TABLE transactions will enable you to free up disk space.

C.

Truncating the sales and leads table will free up disk space.

D.

Truncating the transactions table will free up the most disk space.

E.

The transactions table was created with innodb_file_per_table=OFF.

Question 15

Four nodes are configured to use circular replication.

Examine these configuration parameters for each node:

Which statement is true?

Options:

A.

Each slave thread is responsible for updating a specific database.

B.

Cross-database constraints can cause database inconsistency.

C.

Increasing slave_parallel_workers will improve high availability.

D.

Setting slave_preserve_commit_order to on will improve data consistency.

E.

Setting slave_parallel_type=DATABASE won't work for circular replication; it should be set to LOGICAL_CLOCK.

F.

Setting transaction_allow_batching to on will improve data consistency.

Question 16

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.)

Options:

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.

Question 17

A colleague complains about slow response time on your website.

Examine this query and output:

What is the most likely cause for the high number of lock waits?

Options:

A.

You use the MyISAM storage engine for most common tables.

B.

You use the InnoDB storage engine and statements wait while data is inserted.

C.

The Innodb Buffer pool is full.

D.

Your table accesses wait for the operating system level flush.

Question 18

The data in this instance is transient; no backup or replication will be required. It is currently under performing.

  • The database size is static and including indexes is 19G.
  • Total system memory is 32G.

After profiling the system, you highlight these MySQL status and global variables:

The OS metrics indicate that disk is a bottleneck. Other variables retain their default values.

Which three changes will provide the most benefit to the instance? (Choose three.)

Options:

A.

innodb_flush_log_at_trx_commit=1

B.

buffer_pool_size=24G

C.

innodb_log_file_size=1G

D.

sync_binlog=0

E.

innodb_doublewrite=0

F.

max_connections=10000

G.

innodb_undo_directory=/dev/shm

Question 19

You reconfigure and start a slave that was not replicating for several days.

The configuration file and CHANGE MASTER command are correct. Examine the GTID information from both master and slave:

Which statement is true?

Options:

A.

Replication will fail because the slave has purged more aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa

transactions than the master.

B.

Replication will fail because the master does not have the required transaction with bbbbbbbb-bbbb- bbbb-bbbb-bbbbbbbbbbbb GTIDs in its binary logs.

C.

Replication will fail because the master has already purged transactions with cccccccc-cccc-cccc- cccc-cccccccccccc GTIDs.

D.

Replication will fail because of inconsistent numbers in cccccccc-cccc-cccc-cccc-cccccccccccc

GTIDs.

E.

Replication will work.

Question 20

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

Options:

A.

It installs most Oracle MySQL products.

B.

It performs product upgrades.

C.

It provides only GUI-driven, interactive installations.

D.

Manual download of separate product packages is required before installing them through MySQL Installer.

E.

It provides a uniform installation wizard across multiple platforms.

Question 21

Which four connection methods can MySQL clients specify with the --protocol option when connecting to a MySQL server? (Choose four.)

Options:

A.

TCP

B.

SOCKET

C.

PIPE

D.

DIRECT

E.

IPv6

F.

FILE

G.

IPv4

Page: 1 / 5
Total 140 questions