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

You have created a backup of the ‘sales’ database with the command:

Which two procedures can be used to restore the ‘orders’ table from the backup?

A.

B.

C.

D.

An administrator installs MySQL to run under a mysql OS account. The administrator decides to disable logins to the mysql account by using /nologin or /bin/false as the user’s shell setting.

Which statement is true?

A.

The mysql user needs a login and its home directory must be the base directory of the installation.

B.

The OS needs to allow logging in as mysql so that administrative tasks can be performed.

C.

This prevents mysqld from starting when standard startup scripts are used.

D.

This prevents creation of a command shell with the mysql account, while allowing mysqld to run.

Which three tasks are handled by the optimizer? (Choose three.)

A.

Decide which indexes to use.

B.

Rewrite the WHERE clause.

C.

Parse the query.

D.

Change the order in which the tables are joined.

E.

Validate the query.

F.

Execute the query.

G.

Verify that the user is allowed to execute the query.

Which are three facts about backups with mysqldump? (Choose three.)

A.

will lock all storage engines for duration of backup

B.

can back up a remote database server

C.

allow a consistent backup to be taken

D.

are able to back up specific items within a database

E.

create automatically compressed backups

F.

are always faster to restore than binary backups

A particular government’s security policy is to have very strict data encryption and safety settings. This is done by restricting access based on their own CA authority and limiting access to particular users within a department. Which method could be used to restrict access as required?

A.

using GRANT … REQUIRE X509 AND REQUIRE ISSUER ‘/C=…..’ AND REQUIRE SUBJECT ‘/C=…..’

B.

using GRANT USAGE, X509, …….ON *.* TO user@remotehost IDENTIFIED BY ‘secret_password’

C.

using GRANT … REQUIRE SSL for a secure connection

D.

using GRANT USAGE, SSL, …..ON *.* TO user@remotehost IDENTIFIED BY ‘secret_password’

A MySQL database uses all InnoDB tables and is configured as follows;

You will be setting up a replication slave by using mysqldump. You will need a consistent backup taken from your running production server. The process should have minimal impact to active database connections.

Which two arguments will you pass to mysqldump to achieve this? (Choose two.)

A.

--skip-opt

B.

--lock-all-tables

C.

--create-apply-log

D.

--single-transaction

E.

--master-data

You have a MySQL replication setup and you intentionally stop the SQL thread on the slave.

What are two reasons that you may stop the SQL thread on the slave while keeping the I/O thread running? (Choose two.)

A.

to allow the remaining events to be processed on the slave while not receiving new events from the master

B.

to allow a backup to be created under reduced load

C.

to allow for point-in-time recovery on the slave

D.

to prevent schema changes from propagating to the slave before they are validated

E.

to prevent any transaction experiencing a deadlock