Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Oracle 1z0-908 Practice Exam with Questions & Answers | Set: 4

Questions 31

You have a MySQL system with 500 GB of data that needs frequent backups.

You use a mix of MyISAM and InnoDB storage engines for your data. Examine your backup requirement:

  • The MySQL system being backed up can never be unavailable or locked to the client applications.
  • The recovery from the backup must work on any system.
  • Only 1 hour of data can be lost on recovery of the backup.

Which option fulfills all backup requirements?

Options:
A.

Take a physical backup of the MySQL system.

B.

Use the Clone Plugin to copy the data to another MySQL system.

C.

Take a logical backup of the MySQL system.

D.

Take your backup from a slave of the MySQL system.

Oracle 1z0-908 Premium Access
Questions 32

Examine this statement, which executes successfully:

1z0-908 Question 32

Now examine this query:

1z0-908 Question 32

Which two statements can do this? (Choose two.)

Options:
A.

ALTER TABLE employees -

ADD INDEX (birth_date DESC);

B.

ALTER TABLE employees -

ADD INDEX ((MONTH(birth_date)));

C.

ALTER TABLE employees -

ADD COLUMN birth_month tinyint unsigned GENERATED ALWAYS AS (MONTH(birth_date)) VIRTUAL NOT NULL,

ADD INDEX (birth_month);

D.

ALTER TABLE employees -

ADD COLUMN birth_month tinyint unsigned GENERATED ALWAYS AS (birth_date->>'$.month') VIRTUAL NOT NULL,

ADD INDEX (birth_month);

E.

ALTER TABLE employees -

ADD INDEX ((CAST(birth_date->>'$.month' AS unsigned)));

F.

ALTER TABLE employees -

ADD INDEX (birth_date);

Questions 33

Examine this list of MySQL data directory binary logs:

binlog.000001 binlog.000002

.....

binlog.000289

binlog.000300

binlog.000301

binlog.index

Now examine this command, which executes successfully:

mysqldump --delete-master-logs --all-databases > /backup/db_backup.sql

Which two are true? (Choose two.)

Options:
A.

All databases are backed up to the output file.

B.

All non-active binary logs are removed from the master.

C.

All binary logs are deleted from the master.

D.

All binary logs are backed up and then deleted.

E.

All databases, excluding master metadata, are backed up to the output file.

F.

All details regarding deleted logs and master metadata are captured in the output file.

Questions 34

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.

Questions 35

Examine this SQL statement:

1z0-908 Question 35

Which set of privileges will allow Tom to execute this SQL statement?

Options:
A.

GRANT ALL PRIVILEGES ON ‘world’.‘city’ TO ‘tom’@’%’;

GRANT SELECT (‘code’) ON ‘world’.‘country’ TO ‘tom’@’%’;

B.

GRANT UPDATE ON ‘world’.* TO ‘tom’@’%’;

GRANT ALL PRIVILEGES ON ‘world’.‘country’ TO ‘tom’@’%’;

C.

GRANT UPDATE ON ‘world’.‘city’ TO ‘tom’@’%’; GRANT SELECT ON ‘world’.* TO ‘tom’@’%’;

D.

GRANT UPDATE ON ‘world’.‘city’ TO ‘tom’@’%’; GRANT SELECT ON ‘world’.‘country’ TO ‘tom’@’%’;

Questions 36

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

Questions 37

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

Questions 38

Examine these statements, which execute successfully:

TRUNCATE test; BEGIN;

INSERT INTO test(id, name) VALUES(1, “Hello”); ROLLBACK;

SELECT id FROM test;

Which three storage engines would return a nonempty recordset for the test table when executing the statements? (Choose three.)

Options:
A.

NDB

B.

ARCHIVE

C.

InnopB

D.

BLACKHOLE

E.

MEMORY

F.

MyISAM

Questions 39

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.

Questions 40

A user wants to connect without entering his or her username and password on the Linux command prompt.

Which three locations can be used to store the user’s mysql credentials to satisfy this requirement? (Choose three.)

Options:
A.

$HOME/.my.cnf file

B.

$MYSQL_HOME/my.cnf file

C.

DATADIR/mysqld-auto.cnf file

D.

$HOME/.mylogin.cnf file

E.

$HOME/.mysql/auth/login file

F.

/etc/my.cnf file

G.

$HOME/.mysqlrc file

Exam Code: 1z0-908
Certification Provider: Oracle
Exam Name: MySQL 8.0 Database Administrator
Last Update: Jul 15, 2025
Questions: 141