Labour Day - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpm65

1z0-888 MySQL 5.7 Database Administrator Questions and Answers

Questions 4

These details are shown when logged in to an account:

1z0-888 Question 4

Which set of statements would match the accounts shown?

Options:

A.

mysql> CREATE USER ‘employee’@’localhost’ IDENTIFIED BY ‘more_secrets’;

mysql> CREATE USER ’’@’’ IDENTIFIED BY ‘valid_password’ WITH PROXY ‘employee’@’localhost’;

B.

mysql> CREATE USER ‘employee’@’localhost’ IDENTIFIED BY ‘more_secrets’;

mysql> GRANT PROXY ON ‘employee’@’localhost’ TO ‘robert’@’localhost’;

C.

mysql> CREATE USER ‘robert’@’localhost’ IDENTIFIED BY ‘secret_password’;

mysql>CREATE USER ‘employee’@’localhost’ IDENTIFIED BY ‘more_secrets’;

D.

mysql> CREATE_USER ’’@’’ IDENTIFIED WITH authentication_pam ACCOUNT LOCK;

mysql> CREATE USER ‘employee’@’localhost’ IDENTIFIED BY ‘more_secrets’;

mysql> GRANT PROXY ON ‘employee’@’localhost’ TO ’’@’’;

Buy Now
Questions 5

Force Majeure is a catastrophic failure on a major level of the database operation. Regular backups are key to helping avoid data loss in such situations.

Which two other steps can help avoid data loss in a major catastrophe? (Choose two.)

Options:

A.

Implement a failover strategy to another geographic location.

B.

Create a master-master pair for each service.

C.

Have a second data centre in a different region or country.

D.

Keep software updated to the latest version.

E.

Use RAID 10 storage for data.

F.

Use on-site network-attached storage to separate service from data.

Buy Now
Questions 6

A simple master-to-slave replication is currently being used. This information is extracted from the SHOW SLAVE STATUS output:

1z0-888 Question 6

You execute a ‘SHOW CREATE TABLE mytable” on the slave:

1z0-888 Question 6

The table mytable on the slave contains:

1z0-888 Question 6

You have issued a STOP SLAVE command. You have determined that it is safe to skip the transaction in this case. One or more statements are required before you can issue a START SLAVE command to resolve the duplicate key error. Which statement should be used?

Options:

A.

SET GTID_NEXT=”CONSISTENCY”;

BEGIN; COMMIT;

SET GTID_NEXT=”AUTOMATIC”;

B.

SET GTID_NEXT=”5da6b4f5-6f60-11e8-b2d6-0010e05f3e06:8”;

BEGIN; COMMIT;

SET GTID_NEXT=”AUTOMATIC”;

C.

SET GLOBAL SQL_SKIP_SLAVE_COUNTER=1

D.

SET GLOBAL enforce_gtid_consistency=ON

E.

SET GTID_EXECUTED=”5da6b4f5-6f60-11e8-b2d6-0010e05f3e06:8”;

Buy Now
Questions 7

Host slave1 has ip address 192.0.2.10.

Host slave2 has ip address 203.0.113.50

Examine these commands:

1z0-888 Question 7

Why did this error occur?

Options:

A.

The host on the command line is not defined in the login path.

B.

The mysqld instance has not been restarted after creating the login path.

C.

There is no password defined in the login path.

D.

The DNS is not configured correctly for slave1 host.

E.

The .mylogin.cnf file is not readable.

Buy Now
Questions 8

A MySQL Server has been running an existing application successfully for six months. The my.cnf is adjusted to contain this additional configuration:

1z0-888 Question 8

The MySQL Server is restarted without error.

What effect will the new configuration have on existing account?

Options:

A.

They are not affected by this configuration change.

B.

They all connect via the secure sha256_password algorithm without any configuration change.

C.

They will have their passwords updated on start-up to sha256_password format.

D.

They will have to change their password the next time they login to the server.

Buy Now
Questions 9

Which statement is true about tablespaces?

Options:

A.

All tablespace files must be in the directory specified by the –-datadir option.

B.

General tablespaces can be configured to span multiple files.

C.

All tables must be in either the system tablespace or a general tablespace.

D.

The system tablespace can be configured to span multiple files.

Buy Now
Questions 10

Which two statements are true about InnoDB auto-increment locking? (Choose two.)

Options:

A.

InnoDB never uses table-level locks.

B.

InnoDB always protects auto-increment updates with a table-level lock

C.

InnoDB does not use locks to enforce auto-increment uniqueness.

D.

The auto-increment lock can be a table-level lock.

E.

Some settings for innodb_autoinc_lock_mode can help reduce locking.

Buy Now
Questions 11

Why should you be selective when granting the PROCESS privilege to an account?

Options:

A.

It allows a client to process scripts.

B.

It allows the use of stored routines.

C.

It allows a client to see another user’s queries with the SHOW PROCESSLIST command.

D.

It allows a client to control running processes on a server.

Buy Now
Questions 12

Is it true that binary backups always take less space than text backups?

Options:

A.

Yes, because binary backups only contain data, and not statements required to insert data into the tables.

B.

No, because text backups can have optimizations, which make them smaller, such as updating many rows at once.

C.

No, because if InnoDB tables contain many empty pages, they could take more space than the INSERT statements.

D.

Yes, because even if InnoDB tables contain many empty pages, text backups have empty INSERT statements for them.

Buy Now
Questions 13

SQL injection is a common security threat.

Which two methods would help protect against this risk?

Options:

A.

using stored procedures to validate values that are input

B.

using SQL variables to secure input values

C.

using prepared statements to handle unsecured values

D.

installing the SQL Protection plugin to catch such attempts

E.

starting the server with the –-injection-protection command-line option.

Buy Now
Questions 14

What is the best method for monitoring Group Replication conflict resolution?

Options:

A.

the PERFORMANCE_SCHEMA tables

B.

the SHOW PROCESSLIST command

C.

the INNODB Lock Monitor details

D.

the SHOW STATUS command

E.

the INFORMATION_SCHEMA tables

Buy Now
Questions 15

Which two statements are true regarding the creating of new MySQL physical and logical backups? (Choose two.)

Options:

A.

Physical backups can be used to recover from data corruption.

B.

Logical backups are human-readable whereas physical backups are not.

C.

Logical backups are always larger than physical backups.

D.

Physical backups are usually slower than text backups.

E.

Physical backups are usually faster than text backups.

Buy Now
Questions 16

You have a consistent InnoDB backup created with mysqldump, the largest table is 50 GB in size.

You start to restore your backup with this command;

shell> mysql –u root –p < backup.sql

After 30 minutes, you notice that the rate of restore seems to have slowed down. No other processes or external factors are affecting server performance.

Which is the most likely explanation for this slowdown?

Options:

A.

The MySQL server has stopped inserting data to check index consistency.

B.

InnoDB is doing CRC32 checks over the tablespace data as it grows.

C.

The MySQL server is taking a periodical snapshot of data so it can resume the restore if it is interrupted mid-way.

D.

InnoDB has filled the redo log and now must flush the pages.

E.

Secondary indexes no longer fit into the buffer pool.

Buy Now
Questions 17

You enable binary logging on MySQL Server with the configuration:

binlog-format=STATEMENT

log-bin

Which database updates are logged on the master server to the binary log by default?

Options:

A.

all updates except to the TEMPDB database

B.

all updates except to the PERFORMANCE_SCHEMA database

C.

all updates not involving temporary tables

D.

all updates to the default database, except temporary tables

E.

all updates to all databases

Buy Now
Questions 18

A single InnoDB table has been dropped by accident. You are unable to use an additional intermediate MySQL instance to restore the table. Which two backup methods can be used to restore the single table without stopping the MySQL instance? (Choose two.)

Options:

A.

a backup created with mysqldump --all-databases

B.

a backup created using FLUSH TABLES … FOR EXPORT

C.

an up-to-date replication slave

D.

a file system-level snapshot

E.

a file system copy created while MySQL was shut down.

Buy Now
Exam Code: 1z0-888
Exam Name: MySQL 5.7 Database Administrator
Last Update: Apr 30, 2024
Questions: 124

PDF + Testing Engine

$56  $159.99

Testing Engine

$42  $119.99
buy now 1z0-888 testing engine

PDF (Q&A)

$35  $99.99
buy now 1z0-888 pdf
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 03 May 2024