Summer Sale - Special Discounts Limited Time 55% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 63r59951

1z0-908 MySQL 8.0 Database Administrator Questions and Answers

Questions 4

A clean shutdown was performed with innodb_fast_shutdown=0.

While you were manipulating files, all files were accidentally deleted from the top-level data directory.

Which two files must be restored from backup to allow the DB to restart cleanly? (Choose two.)

Options:

A.

ibtmp1

B.

undo_001

C.

ib_buffer_pool

D.

ibdata1

E.

mysql.ibd

F.

ib_logfile0

Buy Now
Questions 5

t is a non-empty InnoDB table.

Examine these statements, which are executed in one session:

BEGIN;

SELECT * FROM t FOR UPDATE;

Which is true?

Options:

A.

If OPTIMIZE TABLE; is invoked, it will create a table lock on t and force a transaction rollback.

B.

If OPTIMIZE LOCAL TABLE t; is invoked from another session, it executes normally and returns the status.

C.

mysqlcheck --analyze --all-databases will execute normally on all tables and return a report.

D.

If ANALYZE TABLE; is invoked from the same session, it hangs until the transaction is committed or rolled back.

Buy Now
Questions 6

You are asked to review possible options for a new MySQL instance. It will be a large, busy reporting data warehousing instance.

[mysql]

innodb_data_file_path=

Which two configurations would satisfy long-term storage demands? (Choose two.)

Options:

A.

ibdatal:12M;ibdata2:12M;ibdata3:12M

B.

ibdatal:12M:autoextend;ibdata2:12M:autoextend

C.

ibdatal:12M:autoextend

D.

ibdatal:12M;ibdata2:12M:autoextend

E.

ibdatal:12M

F.

ibdatal:12M;/tmp/ibdata2:12M:autoextend

Buy Now
Questions 7

Which three actions are effective in capacity planning? (Choose three.)

Options:

A.

buying more RAM

B.

monitoring OS resources for patterns

C.

adding circular replication nodes for increased DML capability

D.

buying more CPU

E.

buying more disk

F.

basing expected growth on an average of the last 3 years

G.

consulting the application team about any future projects and use

Buy Now
Questions 8

Examine this command and output:

1z0-908 Question 8

Which two statements are true? (Choose two.)

Options:

A.

The lock is at the metadata object level.

B.

The lock is a shared lock.

C.

The lock is an intentional lock.

D.

The lock is at the table object level.

E.

The lock is a row-level lock.

F.

The lock is an exclusive lock.

Buy Now
Questions 9

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

Options:

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.

Buy Now
Questions 10

You have just installed MySQL on Oracle Linux and adjusted your /etc/my.cnf parameters to suit your installation.

Examine the output:

1z0-908 Question 10

What statement is true about the start attempt?

Options:

A.

MySQL server was not started due to a problem while executing process 2732.

B.

MySQL server continued to start up even though another process existed.

C.

systemd found the mysqld service disabled and failed to start it.

D.

systemd waited for 30 seconds before timing out and start up failed.

E.

systemd attempted to start mysqld, found another systemd mysqld process running, and shut it down.

Buy Now
Questions 11

MySQL programs look for option files in standard locations.

Which method will show the option files and the order in which they are read?

Options:

A.

shell> mysqladmin --debug

B.

shell> mysql --print-defaults

C.

shell> mysqld --help --verbose

D.

mysql> SHOW GLOBAL VARIABLES;

Buy Now
Questions 12

Examine this command and output:

1z0-908 Question 12

Which statement is true?

Options:

A.

Firewall_cached_entries is the number of statements found in the query cache for users in DETECTING mode.

B.

Firewall_access_denied is the number of connection attempts from prohibited hosts that are denied.

C.

Firewall_access_suspicious is the number of statements logged as suspicious for users in DETECTING mode.

D.

Firewall_access_granted is the number of connections granted from whitelisted hosts.

Buy Now
Questions 13

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

Options:

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.

Buy Now
Questions 14

Examine this MySQL Shell command:

dba.rebootClusterFromCompleteOutage()

Which two statements are true? (Choose two.)

Options:

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.

Buy Now
Questions 15

Examine this statement, which executes successfully:

1z0-908 Question 15

You want to improve the performance of this query:

1z0-908 Question 15

Which change enables the query to succeed while accessing fewer rows?

Options:

A.

ALTER TABLE world.city ADD SPATIAL INDEX (Name);

B.

ALTER TABLE world.city ADD SPATIAL INDEX (Population);

C.

ALTER TABLE world.city ADD INDEX (Population);

D.

ALTER TABLE world.city ADD INDEX (Name);

E.

ALTER TABLE world.city ADD FULLTEXT INDEX (Name);

F.

ALTER TABLE world.city ADD FULLTEXT INDEX (Population);

Buy Now
Questions 16

Which two statements are true about the mysql_config_editor program? (Choose two.)

Options:

A.

It manages the configuration of the MySQL Firewall feature.

B.

It manages the configuration of client programs.

C.

It can move datadir to a new location.

D.

It manages the configuration of user privileges for accessing the server.

E.

It will use [client] options by default unless you provide --login-path.

F.

It can be used to create and edit SSL certificates and log locations.

G.

It provides an interface to change my.cnf files.

Buy Now
Questions 17

You wish to protect your MySQL database against SQL injection attacks.

Which method would fail to do this?

Options:

A.

installing and configuring the Connection Control plugin

B.

avoiding concatenation of SQL statements and user-supplied values in an application

C.

using stored procedures for any database access

D.

using PREPARED STATEMENTS

Buy Now
Questions 18

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?

Options:

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

Buy Now
Questions 19

You recently upgraded your MySQL installation to MySQL 8.0.

Examine this client error:

1z0-908 Question 19

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

Options:

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

Buy Now
Questions 20

Which two MySQL Shell commands are excluded from the InnoDB Cluster creation procedure? (Choose two.)

Options:

A.

dba.configureInstance()

B.

cluster.setPrimaryInstance()

C.

dba.configureLocalInstance()

D.

cluster.forceQuorumUsingPartitionOf()

E.

cluster.addInstance()

F.

dba.createCluster()

G.

dba.checkInstanceConfiguration()

Buy Now
Questions 21

Examine this query and output:

1z0-908 Question 21

Which two statements are true? (Choose two.)

Options:

A.

The country table is accessed as the first table, and then joined to the city table.

B.

It takes more than 8 milliseconds to sort the rows.

C.

The optimizer estimates that 51 rows in the country table have Continent = ‘Asia’.

D.

35 rows from the city table are included in the result.

E.

The query returns exactly 125 rows.

Buy Now
Exam Code: 1z0-908
Exam Name: MySQL 8.0 Database Administrator
Last Update: Apr 18, 2024
Questions: 141

PDF + Testing Engine

$74.7  $165.99

Testing Engine

$51.75  $114.99
buy now 1z0-908 testing engine

PDF (Q&A)

$47.25  $104.99
buy now 1z0-908 pdf