Winter Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

1z0-908 Sample Questions Answers

Questions 4

Which two are features of MySQL Enterprise Firewall? (Choose two.)

Options:

A.

recording incoming SQL statement to facilitate the creation of a whitelist of permitted commands

B.

blocking of potential threats by configuring pre-approved whitelists

C.

modifying SQL statement dynamically with substitutions

D.

automatic locking of user accounts who break your firewall

E.

provides stateless firewall access to TCP/3306

Buy Now
Questions 5

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

Buy Now
Questions 6

Examine this command and output:

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 7

Which two are valid uses for binary logs on a MySQL instance? (Choose two.)

Options:

A.

recording the order in which queries are issued

B.

audit of all queries

C.

point-in-time recovery

D.

replication

E.

logging the duration and locks for all queries

Buy Now
Questions 8

Your MySQL server is running on the Microsoft Windows platform.

Which three local connection protocols are available to you? (Choose three.)

Options:

A.

named pipes

B.

shared memory

C.

SOCKET

D.

X Protocol

E.

UDP

F.

TCP/IP

Buy Now
Questions 9

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 10

How can mysql_multi be configured to allow MySQL instances to use the same port number?

Options:

A.

The instances use different user accounts unique to each instance.

B.

The instances listen on different IP addresses.

C.

The instances use different socket names.

D.

The instances have appropriate net masks set.

Buy Now
Questions 11

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

Buy Now
Questions 12

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

Options:

A.

performance metrics

B.

InnoDB buffer pool LRU management data

C.

access control lists

D.

view definitions

E.

server runtime configuration

F.

server configuration rollback

G.

stored procedure definitions

Buy Now
Questions 13

Which three settings control global buffers shared by all threads on a MySQL server? (Choose three.)

Options:

A.

sort_buffer_size

B.

key_buffer_size

C.

table_open_cache

D.

read_buffer_size

E.

innodb_buffer_pool_size

F.

tmp_table_size

Buy Now
Questions 14

Which two are true about binary logs used in asynchronous replication? (Choose two.)

Options:

A.

They are pushed from the master to the slave.

B.

They contain events that describe database changes on the master.

C.

They contain events that describe all queries run on the master.

D.

They contain events that describe only administrative commands run on the master.

E.

They are pulled from the master to the slave.

Buy Now
Questions 15

Examine this command, which executes successfull

mysqlbackup --defaults-file=/backups/server-my.cnf --backup-dir=/backups/full

copy-back

Which statement is true about the copy-back process?

Options:

A.

The copy-back process is used to overwrite a new backup over an existing backup.

B.

It restores files from the data directory to their original MySQL server locations.

C.

It restores files from the backup directory to their original MySQL server locations.

D.

The copy-back process makes inconsistent backups.

Buy Now
Questions 16

Which two statements are true about raw binary backups? (Choose two.)

Options:

A.

They are converted to a highly compressible binary format.

B.

The data format is identical to how MySQL stores the data on disk.

C.

They are required to obtain FIPS security compliance.

D.

The resulting files are easily human readable.

E.

They are faster than logical backups because the process is a simple file or file system copy.

Buy Now
Questions 17

What does the binlog dump thread do?

Options:

A.

It monitors and schedules the rotation/deletion of the binary logs.

B.

It reads the relay log and executes the events contained in them.

C.

It acquires a lock on the binary log for reading each event to be sent to the slave.

D.

It connects to the master and asks it to send updates recorded in its binary logs.

Buy Now
Questions 18

Examine this statement, which executes successfully:

You want to improve the performance of this query:

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 19

Examine this command, which executes successfully:

mysqlpump -–user=root --password > full_backup.sql

Which two databases will be excluded from this dump? (Choose two.)

Options:

A.

information_schema

B.

world

C.

employee

D.

sys

E.

mysql

Buy Now
Questions 20

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

Examine the output:

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 21

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.

Buy Now
Questions 22

What does the slave I/O thread do?

Options:

A.

connects to the master and requests it to send updates recorded in its binary logs

B.

monitors and schedules I/O calls to the subsystem for the relay logs

C.

acquires a lock on the binary log for reading each event to be sent to the slave

D.

reads the relay log and executes the events contained in them

Buy Now
Questions 23

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.

Buy Now
Questions 24

You want to dump all databases with names that start with "db".

Which command will achieve this?

Options:

A.

mysqlpump --include-tables=db.% --result-file=all_db_backup.sql

B.

mysqlpump > all_db_backup.sql

C.

mysqlpump --include-databases=db --result-file=all_db_backup.sql

D.

mysqlpump --include-databases=db% --result-file=all_db_backup.sql

Buy Now
Questions 25

User account baduser@hostname on your MySQL instance has been compromised.

Which two commands stop any new connections using the compromised account? (Choose two.)

Options:

A.

ALTER USER baduser@hostname PASSWORD DISABLED;

B.

ALTER USER baduser@hostname MAX_USER_CONNECTIONS 0;

C.

ALTER USER baduser@hostname ACCOUNT LOCK;

D.

ALTER USER baduser@hostname IDENTIFIED WITH mysql_no_login;

E.

ALTER USER baduser@hostname DEFAULT ROLE NONE;

Buy Now
Questions 26

Examine these statements, which execute successfully:

CREATE ROLE r_world_rd;

GRANT SELECT ON world.* TO r_world_rd;

CREATE USER john IDENTIFIED BY ‘P@ssw0rd’;

GRANT r_world_rd TO john;

Examine these statements issued by user John:

What is the reason for the error?

Options:

A.

The statement was blocked by MySQL Firewall.

B.

John has not activated the role.

C.

John needs to reconnect to the database.

D.

The DBA needs to execute FLUSH PRIVILEGES.

Buy Now
Questions 27

What is the correct syntax for using transparent data encryption with an existing InnoDB table?

Options:

A.

ALTER TABLE t1 ADD ENCRYPTED_TABLESPACE = 'Y';

B.

ALTER TABLE t1 ENCRYPTION='Y';

C.

ALTER TABLE t1 WITH ENCRYPTION USING MASTER KEY;

D.

ALTER TABLE t1 SET TDE = 'ON';

Buy Now
Questions 28

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 29

Which three are characteristics of a newly created role? (Choose three.)

Options:

A.

It can be dropped using the DROP ROLE statement.

B.

It is stored in the mysql.role table.

C.

It is created as a locked account.

D.

It can be renamed using the RENAME ROLE statement.

E.

It can be granted to user accounts.

F.

It can be protected with a password.

Buy Now
Questions 30

Examine these statements and output:

Which statement is true?

Options:

A.

The user is logged in with --user=accounting as an option.

B.

The user is authenticated as the anonymous proxy user ‘’@’%’.

C.

The user is authorized as the accounting@localhost user.

D.

The user is authorized as the rsmith@localhost user.

E.

The user failed to define a username and the connecting username defaulted to ‘’@’%’.

Buy Now
Questions 31

Examine the modified output:

Seconds_Behind_ Master value is steadily growing. What are two possible causes? (Choose two.)

Options:

A.

The master is most probably too busy to transmit data and the slave needs to wait for more data.

B.

One or more large tables do not have primary keys.

C.

This value shows only I/O latency and is not indicative of the size of the transaction queue.

D.

The master is producing a large volume of events in parallel but the slave is processing them serially.

E.

The parallel slave threads are experiencing lock contention.

Buy Now
Questions 32

Which two are use cases of MySQL asynchronous replication? (Choose two.)

Options:

A.

You can scale writes by creating a replicated mesh.

B.

It guarantees near real-time replication between a master and a slave.

C.

You can scale reads by adding multiple slaves.

D.

MySQL Enterprise Backup will automatically back up from an available slave.

E.

It allows backup to be done on the slave without impacting the master.

Buy Now
Questions 33

Which two storage engines provide a view of the data consistent with the storage system at any moment? (Choose two.)

Options:

A.

MyISAM

B.

NDB

C.

MEMORY

D.

ARCHIVE

E.

InnoDB

Buy Now
Questions 34

Binary log events for the ‘mydb1’ schema must be copied to a different schema name ‘mydb2’.

Which command will do this?

Options:

A.

mysqlbinlog --rewrite-db=’mydb1->mydb2’ | mysql

B.

mysqlbinlog --datebase=mydb1 --database=mydb2 | mysql

C.

mysqlbinlog --rewrite-db=’mydb1’ --rewrite-db=’mydb2’ | mysql

D.

mysqlbinlog --read-from-remote-server --raw | sed ‘s/mydb1/mydb2/g’ | mysql

Buy Now
Questions 35

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.

Buy Now
Questions 36

Examine this MySQL client command to connect to a remote database:

mysql -h remote.example.org -u root -p --protocol=TCP --ssl-mode=

Which two --ssl-mode values will ensure that an X.509-compliant certificate will be used to establish the

SSL/TLS connection to MySQL?

Options:

A.

REQUIRED

B.

VERIFY_CA

C.

VERIFY_IDENTITY

D.

PREFERRED

E.

DISABLED

Buy Now
Questions 37

You are upgrading a MySQL instance to the latest 8.0 version.

Examine this output:

You plan to add this parameter to the configuration: innodb_directories=’/innodb_extras’ Which statement is true?

Options:

A.

It defines all innodb tablespace options relative to a starting parent directory.

B.

It is not necessary because innodb_data_home_dir is already defined.

C.

It allows scanning of other locations to discover more innodb tablespaces.

D.

It moves all innodb tablespaces to the /innodb_extras directory to enable a new

innodb_data_home_dir to be defined.

E.

It adds more temporary workspace in addition to the innodb_tmpdir location.

Questions 38

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.

Buy Now
Questions 39

You have configured GTID-based asynchronous replication with one master and one slave.

A user accidentally updated some data on the slave.

To fix this, you stopped replication and successfully reverted the accidental changes. Examine the current GTID information:

You must fix GTID sets on the slave to avoid replicating unwanted transactions in case of failover. Which set of actions would allow the slave to continue replicating without erroneous transactions?

Options:

A.

RESET MASTER;

SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;

B.

SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-2312,bbbbbbbb- bbbb-bbbb-bbbb-bbbbbbbbbbbb:1-9;

SET GLOBAL gtid_executed=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;

C.

RESET SLAVE;

SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-3820;

SET GLOBAL gtid_executed=aaaaaaaa-aaaa-aaaa-aaaa—aaaaaaaaaaaa:1-10300;

D.

RESET MASTER;

SET GLOBAL gtid_purged-aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-2312;

SET GLOBAL gtid_executed=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;

E.

RESET SLAVE;

SET GLOBAL gtid_purged=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-10167;

Buy Now
Questions 40

Which two statements are true about the mysqld-auto.cnf file? (Choose two.)

Options:

A.

This file is for storing MySQL Server configuration options in ISON format.

B.

This file is for logging purposes only and is never processed.

C.

It is read and processed at the beginning of startup configuration.

D.

It is read and processed at the end of startup configuration.

E.

It is always updated with changes to system variables.

F.

This file is for storing MySQL server_uuid values only.

Buy Now
Questions 41

The mysqld instance has the connection control plugin enabled with these settings: connection_control_min_connection_delay=1000 connection_control_max_connection_delay=2000

The minimum and maximum delays need to be increased to 3000 and 5000, respectively.

A command is executed:

mysql> SET GLOBAL connection_control_min_connection_delay=3000;

What is the result?

Options:

A.

The minimum value increases to 3000 and the maximum value increases to 4000.

B.

Only the minimum connection value is increased to 3000.

C.

The minimum connection value is changed to 2000.

D.

An error is returned.

Buy Now
Questions 42

Your MySQL installation is running low on space due to binary logs. You need to reduce your log space usage urgently.

Which two sets of actions when completed will accomplish this? (Choose two.)

Options:

A.

Use SET GLOBAL binlog_expire_logs_seconds= and restart the server.

B.

Set binlog_expire_logs_seconds in my.cnf.

C.

Set binlog_expire_logs_seconds = 0 in my.cnf and restart the server.

D.

Use SET PERSIST binlog_expire_logs_seconds=.

E.

Use PURGE BINARY LOGS to .

F.

Use SET GLOBAL binlog_expire_logs_seconds= and run the FLUSH BINARY LOGS

command.

Buy Now
Exam Code: 1z0-908
Exam Name: MySQL 8.0 Database Administrator
Last Update: Nov 21, 2024
Questions: 141
$64  $159.99
$48  $119.99
$40  $99.99
buy now 1z0-908