Month End Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Note! Following 1z0-883 Exam is Retired now. Please select the alternative replacement for your Exam Certification.

Verified By IT Certified Experts

CertsTopics.com Certified Safe Files

Up-To-Date Exam Study Material

99.5% High Success Pass Rate

100% Accurate Answers

Instant Downloads

Exam Questions And Answers PDF

Try Demo Before You Buy

Certification Exams with Helpful Questions And Answers

MySQL 5.6 Database Administrator Questions and Answers

Question 1

In a test database, you issue the SELECT … INTO OUTFILE statement to create a file with your t1 table data.

You then TRUNCATE this table to empty it.

Mysql> SELECT * INTO OUTFILE ‘/tmp/t1.sql’ from t1;

mysql> TRUNCATE t1;

Which two methods will restore data to the t1 table?

Options:

A.

Mysql> LOAD DATA INFILE ‘/tmp/t1.sql’ INTO TABLE t1;

B.

$ mysqladmin – u root – p – h localhost test – restore /tmp/t1.sql

C.

$ mysql – u root – p – h localhost test < /tmp/t1.sql

D.

$ mysqlimport – u root – p – h localhost test /tmp/t1.sql

E.

Mysql> INSERT INTO t1 VALUES FROM ‘/tmp/t1.sql’;

Buy Now
Question 2

Consider the query:

Mysql> SET @run = 15;

Mysql> EXPLAIN SELECT objective, stage, COUNT (stage)

FROM iteminformation

WHERE run=@run AND objective=’7.1’

GROUP BY objective,stage

ORDER BY stage;

The iteminformation table has the following indexes;

Mysql> SHOW INDEXES FROM iteminformation:

This query is run several times in an application with different values in the WHERE clause in a growing data set.

What is the primary improvement that can be made for this scenario?

Options:

A.

Execute the run_2 index because it has caused a conflict in the choice of key for this query.

B.

Drop the run_2 index because it has caused a conflict in the choice of key for this query.

C.

Do not pass a user variable in the WHERE clause because it limits the ability of the optimizer to use indexes.

D.

Add an index on the objective column so that is can be used in both the WHERE and GROUP BY operations.

E.

Add a composite index on (run,objective,stage) to allow the query to fully utilize an index.

Question 3

You are creating a new server with the same accounts as an existing server. You do this by importing a mysqldump file of the mysql database.

You test whether the import was successful by using the following commands:

Mysql> select user, host, password from mysql.user;

9 rows in set (0.00 sec)

Mysql> show grants for ‘admin’@’%’;

ERROR 1141 (42000): There is no such grant defined for user ‘admin’ on host ‘%’

Which command will fix this issue?

Options:

A.

CREATE USER ‘admin’ @’%’;

B.

GRANT USAGE ON *.* TO ‘admin’@’%’;

C.

FLUSH PRIVILEGES;

D.

FLUSH HOST CACHE;

E.

UPDATE mysql.user SET Create_user_priv = ‘Y’ WHERE user= ‘admin’;