0% found this document useful (0 votes)
4K views75 pages

1z0 908 Actual Exam Question From Oracle

The document contains a series of multiple-choice questions related to MySQL, covering topics such as query optimization, role characteristics, GTID replication, database performance, InnoDB statistics, MySQL Enterprise Firewall features, and server shutdown methods. Each question includes options with community-voted answers and correct answers highlighted. The content is aimed at testing knowledge and understanding of MySQL functionalities and best practices.

Uploaded by

Nguyen Viet Duc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4K views75 pages

1z0 908 Actual Exam Question From Oracle

The document contains a series of multiple-choice questions related to MySQL, covering topics such as query optimization, role characteristics, GTID replication, database performance, InnoDB statistics, MySQL Enterprise Firewall features, and server shutdown methods. Each question includes options with community-voted answers and correct answers highlighted. The content is aimed at testing knowledge and understanding of MySQL functionalities and best practices.

Uploaded by

Nguyen Viet Duc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 75

Question #1Topic 1

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?

 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); Most Voted

 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);

Hide Solution Discussion 7


Correct Answer: C 🗳️

Community vote distribution


C (100%)
Question #2Topic 1
Which three are characteristics of a newly created role? (Choose three.)

 A. It can be dropped using the DROP ROLE statement. Most Voted

 B. It is stored in the mysql.role table.

 C. It is created as a locked account. Most Voted

 D. It can be renamed using the RENAME ROLE statement.


 E. It can be granted to user accounts. Most Voted

 F. It can be protected with a password.

Hide Solution Discussion 7


Correct Answer: ACE 🗳️

Community vote distribution


ACE (100%)
Question #3Topic 1
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?

 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; Most Voted
 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;

Hide Solution Discussion 2


Correct Answer: D 🗳️

Community vote distribution


C (100%)
Question #4Topic 1
The data in this instance is transient; no backup or replication will be
required. It is currently under performing.
The database size is static and including indexes is 19G.
Total system memory is 32G.
After profiling the system, you highlight these MySQL status and global
variables:

The OS metrics indicate that disk is a bottleneck.


Other variables retain their default values.
Which three changes will provide the most benefit to the instance? (Choose
three.)

 A. innodb_flush_log_at_trx_commit=1

 B. buffer_pool_size=24G Most Voted

 C. innodb_log_file_size=1G

 D. sync_binlog=0

 E. innodb_doublewrite=0 Most Voted


 F. max_connections=10000

 G. innodb_undo_directory=/dev/shm Most Voted

Hide Solution Discussion 11


Correct Answer: ACF 🗳️

Community vote distribution


BEG (67%)
DEG (33%)

Question #5Topic 1
Which statement is true about InnoDB persistent index statistics?

 A. Updating index statistics is an I/O expensive operation. Most Voted

 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.

Hide Solution Discussion 9


Correct Answer: A 🗳️

Community vote distribution


A (83%)
D (17%)
Question #6Topic 1
Which two are features of MySQL Enterprise Firewall? (Choose two.)

 A. recording incoming SQL statement to facilitate the creation of a


whitelist of permitted commands Most Voted
 B. blocking of potential threats by configuring pre-approved
whitelists Most Voted

 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

Hide Solution Discussion 3


Correct Answer: AB 🗳️

Community vote distribution


AB (100%)
Question #7Topic 1
Examine the modified output:

Seconds_Behind_ Master value is steadily growing.


What are two possible causes? (Choose two.)

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

 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. Most Voted

 E. The parallel slave threads are experiencing lock contention.

Hide Solution Discussion 7


Correct Answer: CD 🗳️

Community vote distribution


AD (50%)
DE (25%)
BD (25%)
Question #8Topic 1
You must configure the MySQL command-line client to provide the highest
level of trust and security when connecting to a remote MySQL Server.
Which value of --ssl-mode will do this?

 A. PREFERRED

 B. VERIFY_CA

 C. REQUIRED

 D. VERIFY_IDENTITY Most Voted

Hide Solution Discussion 3


Correct Answer: D 🗳️

Community vote distribution


D (100%)

Topic 1 - Exam A
Question #1Topic 1
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?
 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); Most Voted
 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);
Hide Solution Discussion 7
Correct Answer: C

Community vote distribution


C (100%)
Question #2Topic 1
Which three are characteristics of a newly created role? (Choose three.)
 A. It can be dropped using the DROP ROLE statement. Most Voted

 B. It is stored in the mysql.role table.


 C. It is created as a locked account. Most Voted
 D. It can be renamed using the RENAME ROLE statement.
 E. It can be granted to user accounts. Most Voted
 F. It can be protected with a password.
Hide Solution Discussion 7
Correct Answer: ACE

Community vote distribution


ACE (100%)
Question #3Topic 1
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?
 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; Most
Voted
 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;
Hide Solution Discussion 2
Correct Answer: D

Community vote distribution


C (100%)
Question #4Topic 1
The data in this instance is transient; no backup or replication will be required. It is currently
under performing.
The database size is static and including indexes is 19G.
Total system memory is 32G.
After profiling the system, you highlight these MySQL status and global variables:

The OS metrics indicate that disk is a bottleneck.


Other variables retain their default values.
Which three changes will provide the most benefit to the instance? (Choose three.)
 A. innodb_flush_log_at_trx_commit=1

 B. buffer_pool_size=24G Most Voted


 C. innodb_log_file_size=1G
 D. sync_binlog=0
 E. innodb_doublewrite=0 Most Voted
 F. max_connections=10000
 G. innodb_undo_directory=/dev/shm Most Voted
Hide Solution Discussion 11
Correct Answer: ACF

Community vote distribution


BEG (67%)
DEG (33%)
Question #5Topic 1
Which statement is true about InnoDB persistent index statistics?
 A. Updating index statistics is an I/O expensive operation. Most Voted

 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.
Hide Solution Discussion 9
Correct Answer: A

Community vote distribution


A (83%)
D (17%)
Question #6Topic 1
Which two are features of MySQL Enterprise Firewall? (Choose two.)
 A. recording incoming SQL statement to facilitate the creation of a whitelist of permitted
commands Most Voted
 B. blocking of potential threats by configuring pre-approved whitelists Most Voted
 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
Hide Solution Discussion 3
Correct Answer: AB

Community vote distribution


AB (100%)
Question #7Topic 1
Examine the modified output:

Seconds_Behind_ Master value is steadily growing.


What are two possible causes? (Choose two.)
 A. The master is most probably too busy to transmit data and the slave needs to wait for
more data. Most Voted
 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. Most Voted
 E. The parallel slave threads are experiencing lock contention.
Hide Solution Discussion 7
Correct Answer: CD

Community vote distribution


AD (50%)
DE (25%)
BD (25%)
Question #8Topic 1
You must configure the MySQL command-line client to provide the highest level of trust and
security when connecting to a remote MySQL Server.
Which value of --ssl-mode will do this?
 A. PREFERRED

 B. VERIFY_CA
 C. REQUIRED
 D. VERIFY_IDENTITY Most Voted
Hide Solution Discussion 3
Correct Answer: D

Community vote distribution


D (100%)
Question #: 9
Topic #: 1
[All 1z0-908 Questions]
Consider this shell output and executed commands:
[root@oel7 ~]# ps aux | grep mysqld
mysql 2076 3.5 24.6 1386852 372572 ? Ssl 12:01 0:01 /usr/sbin/mysqid
[root@oel7 ~]# kill -15 2076
Which statement is true about MySQL server shutdown?
 A. kill -15 should be avoided. Use other methods such as mysqladmin shutdown or
systemctl stop mysqld.
 B. kill -15 and kill -9 are effectively the same forced shutdown that risk committed
transactions not written to disk.
 C. kill -15 carries out a normal shutdown process, such as mysqladmin shutdown. Most
Voted
 D. mysqld_safe prohibits commands that would harm the operation of the server. An
error would be returned by the kill command.
Hide Answer
Suggested Answer: C

Community vote distribution


C (100%)
Question #: 10
Topic #: 1
[All 1z0-908 Questions]
You wish to protect your MySQL database against SQL injection attacks.
Which method would fail to do this?
 A. installing and configuring the Connection Control plugin Most Voted

 B. avoiding concatenation of SQL statements and user-supplied values in an application


 C. using stored procedures for any database access
 D. using PREPARED STATEMENTS
Hide Answer
Suggested Answer: A

Community vote distribution


A (67%)
D (33%)

Question #: 33
Topic #: 1
[All 1z0-908 Questions]
On examination, your MySQL installation datadir has become recursively world
read/write/executable.
What are two major concerns of running an installation with incorrect file privileges? (Choose
two.)
 A. Users could overwrite configuration files. Most Voted

 B. Data files could be deleted.


 C. SQL injections could be used to insert bad data into the database.
 D. MySQL binaries could be damaged, deleted, or altered. Most Voted
 E. Extra startup time would be required for the MySQL server to reset the privileges.
Hide Answer
Suggested Answer: BE

Community vote distribution


AB (67%)
AD (33%)

Question #: 110
Topic #: 1
[All 1z0-908 Questions]
How can mysql_multi be configured to allow MySQL instances to use the same port number?
 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. Most Voted
 D. The instances have appropriate net masks set.
Hide Answer
Suggested Answer: B

Community vote distribution


C (50%)
B (50%)
Question #: 11
Topic #: 1
[All 1z0-908 Questions]
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?
 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.
 A (100%)

Actual exam question from Oracle's 1z0-908


Question #: 14
Topic #: 1
[All 1z0-908 Questions]
You encountered an insufficient privilege error in the middle of a long transaction.
The database administrator is informed and immediately grants the required privilege:
GRANT UPDATE ON world.city TO ‘user1’;
How can you proceed with your transaction with the least interruption?

 A. Roll back the transaction and start the transaction again in the same session.
 B. Re-execute the failed statement in your transaction. Most Voted
 C. Change the default database and re-execute the failed statement in your
transaction.
 D. Close the connection, reconnect, and start the transaction again.

Hide Answer
Suggested Answer: B 🗳️

Community vote distribution


B (100%)
Question #: 17
Topic #: 1
[All 1z0-908 Questions]
Examine this MySQL Shell command:
dba.rebootClusterFromCompleteOutage()
Which two statements are true? (Choose two.)

 A. It reconfigures InnoDB Cluster if the cluster was stopped. Most Voted


 B. It performs InnoDB Cluster instances rolling restart.
 C. It only starts all InnoDB Cluster instances.
 D. It is not mandatory that all instances are running and reachable
before running the command.
 E. It stops and restarts all InnoDB Cluster instances and initializes the
metadata.
 F. It only stops and restarts all InnoDB Cluster instances.
 G. It picks the minimum number of instances necessary to rebuild the
quorum and reconfigures InnoDB Cluster. Most Voted

Hide Answer
Suggested Answer: BD 🗳️

Community vote distribution


AG (100%)
Question #: 18
Topic #: 1
[All 1z0-908 Questions]
Which two statements are true about MySQL server multi-source replication?
(Choose two.)

 A. It is not compatible with auto-positioning.


 B. It needs to be re-instanced after a crash to maintain consistency.
 C. It uses only time-based replication conflict resolution.
 D. It relies on relay_log_recovery for resilient operations. Most Voted
 E. It does not attempt to detect or resolve replication conflicts. Most
Voted
 F. It must use GTID replication.

Hide Answer
Suggested Answer: DE 🗳️

Community vote distribution


DE (75%)
EF (25%)
Question #: 19
Topic #: 1
[All 1z0-908 Questions]
Which command enables rule-based MySQL Auditing capabilities?

 A. shell> mysql < audit_log_filter_linux_install.sql


 B. shell> mysqld --initialize --log-raw=audit.log
 C. mysql> INSTALL PLUGIN audit_log;
 D. mysql> INSTALL COMPONENT audit_log;

Hide Answer
Suggested Answer: A 🗳️
Question #: 22
Topic #: 1
[All 1z0-908 Questions]
You have an InnoDB Cluster configured with three servers.
Examine this command, which executes successfully:
mysqldump -uroot -p -d mydatabase > mydatabase_backup.sql
Due to data loss, the cluster is initialized and a restore is attempted resulting
in this error:
ERROR 13176 (HY000) at line 23: Cannot update GTID_PURGED with the
Group Replication plugin running
Which two actions, either one of which, can fix this error and allow a
successful restore of the cluster? (Choose two.)

 A. Stop all instances except the primary read/write master instance


and run the restore.
 B. Remove the @@GLOBAL.gtid_purged statement from the dump file.
 C. Create the backup by using the --set-gtid-purged=OFF option.
 D. Remove the group replication plugin from each instance before
restoring.
 E. Remove the @@GLOBAL.gtid_executed statement from the dump
file.
 F. Restore using the --set-gtid-purged=OFF option.

Hide Answer
Suggested Answer: BC 🗳️

Question #: 24
Topic #: 1
[All 1z0-908 Questions]
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?

 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. Most Voted
 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.

Hide Answer
Suggested Answer: B 🗳️

Community vote distribution


C (100%)
Question #: 25
Topic #: 1
[All 1z0-908 Questions]
You wish to store the username and password for a client connection to
MySQL server in a file on a local file system.
Which is the best way to encrypt the file?

 A. Use the AES_ENCRYPT() MySQL function on the option file.


 B. Use mysql_secure_installation to encrypt stored login credentials.
 C. Use a text editor to create a new defaults file and encrypt it from
Linux prompt.
 D. Use mysql_config_editor to create an encrypted file. Most Voted

Hide Answer
Suggested Answer: D 🗳️

Community vote distribution


D (100%)

Question #: 27
Topic #: 1
[All 1z0-908 Questions]
You made some table definition changes to a schema in your MySQL Server.
Which two statements reflect how MySQL Server handles the table definition
changes? (Choose two.)

 A. MySQL writes SDI to the binary log for distributed backups.


 B. MySQL keeps InnoDB metadata changes in .sdi files in datadir.
 C. The metadata is serialized in JSON format in Serialized Dictionary
Information (SDI). Most Voted
 D. MySQL Server stores a copy of the serialized data in the InnoDB user
tablespace. Most Voted
 E. MySQL implicitly executes FLUSH TABLES and stores a snapshot
backup of the metadata.

Hide Answer
Suggested Answer: CD 🗳️

Community vote distribution


CD (100%)
Question #: 28
Topic #: 1
[All 1z0-908 Questions]
Which two are characteristics of snapshot-based backups? (Choose two.)

 A. Snapshot-based backups greatly reduce time during which the


database and applications are unavailable.
 B. There is no need for InnoDB tables to perform its own recovery when
restoring from the snapshot backup.
 C. The frozen file system can be cloned to another virtual machine
immediately into active service.
 D. A separate physical copy must be made before releasing the
snapshot backup.
 E. Snapshot backups can be used only in virtual machines.

Hide Answer
Suggested Answer: DE 🗳️
Actual exam question from Oracle's 1z0-908
Question #: 29
Topic #: 1
[All 1z0-908 Questions]
You must run multiple instances of MySQL Server on a single host.
Which three methods are supported? (Choose three.)

 A. Run MySQL Server docker containers. Most Voted


 B. Use systemd with different settings for each instance. Most Voted
 C. Use system tools to lock each instance to its own CPU.
 D. Start mysqld or mysqld_safe using different option files for each
instance. Most Voted
 E. Run mysqld with --datadir defined for each instance.
 F. Use resource groups to lock different instances on separate CPUs.

Hide Answer
Suggested Answer: BDE 🗳️

Community vote distribution


ABD (50%)
BDE (25%)
ADE (25%)
Question #: 30
Topic #: 1
[All 1z0-908 Questions]
There are five MySQL instances configured with a working group replication.
Examine the output of the group members:

Which two statements are true about network partitioning in the cluster?
(Choose two.)

 A. The cluster will shut down to preserve data consistency.


 B. The cluster has built-in high availability and updates
group_replication_ip_whitelist to remove the unreachable nodes.
 C. The group replication will buffer the transactions on the online nodes
until the unreachable nodes return online.
 D. There could be both a 2 node and 3 node group replication still
running, so shutting down group replication and diagnosing the issue is
recommended. Most Voted
 E. A manual intervention to force group members to be only the
working two instances is required. Most Voted

Hide Answer
Suggested Answer: DE 🗳️

Community vote distribution


DE (100%)
Question #: 31
Topic #: 1
[All 1z0-908 Questions]
Examine this statement and output:

You must try to reduce query execution time.


Which two queries should you focus on? (Choose two.)

 A. QN = 3
 B. QN = 5
 C. QN = 1
 D. QN = 4
 E. QN = 2

Hide Answer
Suggested Answer: CE 🗳️

Community vote distribution


BD (100%)
uestion #: 32
Topic #: 1
[All 1z0-908 Questions]
Examine this query:

What information does this query provide?

 A. total memory used across all connections associated with the user
on connection number 10
 B. total memory used by the first 10 connections
 C. total memory used by thread number 10
 D. total memory used across all connections associated with the user
on thread number 10
 E. total memory used by connection number 10
 F. total memory used by the first 10 threads

Hide Answer
Suggested Answer: E 🗳️
Question #: 33
Topic #: 1
[All 1z0-908 Questions]
On examination, your MySQL installation datadir has become recursively
world read/write/executable.
What are two major concerns of running an installation with incorrect file
privileges? (Choose two.)

 A. Users could overwrite configuration files. Most Voted


 B. Data files could be deleted.
 C. SQL injections could be used to insert bad data into the database.
 D. MySQL binaries could be damaged, deleted, or altered. Most Voted
 E. Extra startup time would be required for the MySQL server to reset
the privileges.

Hide Answer
Suggested Answer: BE 🗳️
Community vote distribution
AB (67%)
AD (33%)
Question #: 34
Topic #: 1
[All 1z0-908 Questions]
User account baduser@hostname on your MySQL instance has been
compromised.
Which two commands stop any new connections using the compromised
account? (Choose two.)

 A. ALTER USER baduser@hostname PASSWORD DISABLED;


 B. ALTER USER baduser@hostname MAX_USER_CONNECTIONS 0;
 C. ALTER USER baduser@hostname ACCOUNT LOCK; Most Voted
 D. ALTER USER baduser@hostname IDENTIFIED WITH
mysql_no_login; Most Voted
 E. ALTER USER baduser@hostname DEFAULT ROLE NONE;

Hide Answer
Suggested Answer: CD 🗳️

Community vote distribution


CD (100%)
Question #: 37
Topic #: 1
[All 1z0-908 Questions]
Examine this command and output:

Which two statements are true? (Choose two.)


 A. The lock is at the metadata object level.
 B. The lock is a shared lock.
 C. The lock is an intentional lock.
 D. The lock is at the table object level.
 E. The lock is a row-level lock. Most Voted
 F. The lock is an exclusive lock. Most Voted

Hide Answer
Suggested Answer: EF 🗳️

Community vote distribution


EF (100%)
Question #: 40
Topic #: 1
[All 1z0-908 Questions]
Examine this command, which executes successfully:
shell> mysqldump --master-data=2 --single-transaction --result-
file=dump.sql mydb
Which two statements are true? (Choose two.)

 A. It executes flush tables with read lock. Most Voted


 B. It enforces consistent backups for all storage engines.
 C. The backup created is a consistent data dump. Most Voted
 D. This option uses the READ COMMITTED transaction isolation mode.
 E. It is a cold backup.

Hide Answer
Suggested Answer: AD 🗳️

Community vote distribution


AC (50%)
BC (50%)

Question #: 41
Topic #: 1
[All 1Z0-908 Questions]
Examine these entries from the general query log:
All UPDATE statements reference existing rows.

Which describes the outcome of the sequence of statements?

A Connection 24 experiences a lock wait timeout.

B Connection 25 experiences a lock wait timeout.

CA deadlock occurs immediately.

D All statements execute without error.

EA deadlock occurs after innodb_lock_wait_timeout seconds.

Hide Answer
Suggested Answer: E

Question #: 44
Topic #: 1
[All 1z0-908 Questions]
You want to log only the changes made to the database objects and data on
the MySQL system.
Which log will do this by default?

 A. general query log


 B. audit log
 C. slow query log
 D. binary log Most Voted
 E. error log

Hide Answer
Suggested Answer: D 🗳️

Community vote distribution


D (100%)
Question #: 45
Topic #: 1
[All 1z0-908 Questions]
Which two statements are true about using backups of the binary log?
(Choose two.)

 A. Multiple binary logs can be used to restore data. Most Voted


 B. Multiple binary logs can be applied in parallel for faster data
restoration.
 C. Binary logs are relatively small, and therefore, excellent for long-
term storage and disaster recovery.
 D. Binary logs can always be used to unapply unwanted schema
changes.
 E. They allow for point-in-time recovery of the data. Most Voted

Hide Answer
Suggested Answer: DE 🗳️

Community vote distribution


AE (100%)
Question #: 46
Topic #: 1
[All 1z0-908 Questions]
Where is the default data directory located after installing MySQL using RPM
on Oracle Linux 7?

 A. /usr/mysql
 B. /usr/bin
 C. /etc/my.cnf
 D. /var/lib/mysql Most Voted
 E. /usr

Hide Answer
Suggested Answer: D 🗳️

Community vote distribution


D (100%)
uestion #: 48
Topic #: 1
[All 1z0-908 Questions]
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?

 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. Most Voted
 D. If ANALYZE TABLE; is invoked from the same session, it hangs until
the transaction is committed or rolled back.

Hide Answer
Suggested Answer: C 🗳️

Community vote distribution


C (100%)
Question #: 49
Topic #: 1
[All 1z0-908 Questions]
Which two MySQL Server accounts are locked by default? (Choose two.)

 A. any user set as DEFINER for stored programs


 B. any internal system accounts Most Voted
 C. any new ROLE accounts Most Voted
 D. any user created without a password
 E. any user created with a username, but missing the host name

Hide Answer
Suggested Answer: AB 🗳️

Community vote distribution


BC (50%)
BD (50%)
Question #: 50
Topic #: 1
[All 1z0-908 Questions]
Examine this SQL statement:

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

 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’@’%’; Most Voted
 D. GRANT UPDATE ON ‘world’.‘city’ TO ‘tom’@’%’;
GRANT SELECT ON ‘world’.‘country’ TO ‘tom’@’%’;

Hide Answer
Suggested Answer: C 🗳️

Community vote distribution


C (100%)
Question #: 51
Topic #: 1
[All 1z0-908 Questions]
Examine these commands and output:

Which connection ID is holding the metadata lock?


 A. 20
 B. 24
 C. 21
 D. 25
 E. 22
 F. 6

Hide Answer
Suggested Answer: D 🗳️
Question #: 52
Topic #: 8
[All 1Z0-908 Questions]
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?

A RESETMASTER;
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;

Hide Answer
Suggested Answer: D
Question #: 53
Topic #: 1
[All 1z0-908 Questions]
Which two queries are examples of successful SQL injection attacks? (Choose
two.)

 A. SELECT user,passwd FROM members -


WHERE user = ‘?’;INSERT INTO members(‘user’,’passwd’) VALUES
(‘bob@example.com’,‘secret’);--‘; Most Voted
 B. SELECT id, name FROM user WHERE user.id=(SELECT members.id
FROM members);
 C. SELECT id, name FROM user WHERE id=23 OR id=32 OR 1=1; Most
Voted
 D. SELECT id, name FROM user WHERE id=23 OR id=32 AND 1=1;
 E. SELECT email,passwd FROM members
WHERE email = ‘INSERT INTO members(‘email’,’passwd’) VALUES
(‘bob@example.com’, ‘secret’);--‘;
 F. SELECT user, phone FROM customers WHERE name = ‘\; DROP
TABLE users; --‘;

Hide Answer
Suggested Answer: DE 🗳️
Community vote distribution
AC (50%)
AE (50%)
Question #: 55
Topic #: 1
[All 1z0-908 Questions]
Which two are contained in the InnoDB system tablespace (ibdata1) by
default? (Chose two.)

 A. table data Most Voted


 B. primary indexes
 C. user privileges
 D. InnoDB Data Dictionary
 E. change buffer Most Voted
 F. doublewrite buffer

Hide Answer
Suggested Answer: AE 🗳️

Community vote distribution


AE (75%)
EF (25%)
Question #: 56
Topic #: 1
[All 1z0-908 Questions]
Which two MySQL Shell commands are excluded from the InnoDB Cluster
creation procedure? (Choose two.)

 A. dba.configureInstance() Most Voted


 B. cluster.setPrimaryInstance() Most Voted
 C. dba.configureLocalInstance()
 D. cluster.forceQuorumUsingPartitionOf()
 E. cluster.addInstance()
 F. dba.createCluster()
 G. dba.checkInstanceConfiguration()

Hide Answer
Suggested Answer: BD 🗳️

Community vote distribution


AB (100%)
Question #: 57
Topic #: 1
[All 1z0-908 Questions]
Examine this statement:
mysql> DROP ROLE r_role1, r_role2;
Which two are true? (Choose two.)

 A. It fails if any of the roles is specified in the mandatory_roles variable.


 B. You must revoke r_role1 and r_role2 from all users and other roles
before dropping the roles. Most Voted
 C. Existing connections can continue to use the roles’ privileges until
they reconnect. Most Voted
 D. You must revoke all privileges from r_role1 and r_role2 before
dropping the roles.
 E. It fails if you do not have the ADMIN OPTION of the roles r_role1 and
r_role2.
 F. It fails if at least one of the roles does not exist.

Hide Answer
Suggested Answer: CE 🗳️

Community vote distribution


BC (50%)
AF (50%)
Question #: 58
Topic #: 1
[All 1z0-908 Questions]
Examine these statements and output:

Which statement is true?

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


 B. The user is authenticated as the anonymous proxy user ‘’@’%’. Most
Voted
 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 ‘’@’%’.
Hide Answer
Suggested Answer: D 🗳️

Community vote distribution


B (67%)
C (33%)
Question #: 59
Topic #: 1
[All 1z0-908 Questions]
Which two statements are true about InnoDB data-at-rest encryption?
(Choose two.)

 A. It supports only non-blob datatypes.


 B. It does not support the transportable tablespaces feature.
 C. It supports all indexes transparently. Most Voted
 D. It decrypts data for use in memory.
 E. It enforces encryption from disk to memory and over network
transmission. Most Voted

Hide Answer
Suggested Answer: CD 🗳️

Community vote distribution


CE (50%)
CD (50%)
Question #: 60
Topic #: 1
[All 1z0-908 Questions]
You plan to install MySQL Server by using the RPM download.
Which two statements are true? (Choose two.)

 A. You can provide the root password interactively.


 B. You must manually initialize the data directory. Most Voted
 C. The MySQL RPM package installation supports deploying multiple
MySQL versions on the same host.
 D. MySQL uses the RPM relocatable installation target feature.
 E. The functionality is split among several RPM package files. Most Voted
 F. You can find the root password in the error log after the first start.

Hide Answer
Suggested Answer: CF 🗳️

Community vote distribution


BE (50%)
EF (50%)
Question #: 61
Topic #: 1
[All 1z0-908 Questions]
You plan to take daily full backups, which include the ndbinfo and sys
(internal) databases.
Which command will back up the databases in parallel?

 A. mysqldump --single-transaction > full-backup-$(date +%Y%m


%d).sql
 B. mysqlpump --include-databases=% > full-backup-$(date +%Y
%m$d).sql Most Voted
 C. mysqlpump --all-databases > full-backup-$(date +%Y%m%d).sql
 D. mysqldump --all-databases > full_backup-$(date +%Y%m%d).sql

Hide Answer
Suggested Answer: B 🗳️

Community vote distribution


B (100%)
Question #: 63
Topic #: 1
[All 1z0-908 Questions]
Which two commands will display indexes on the parts table in the
manufacturing schema? (Choose two.)

 A. DESCRIBE manufacturing.parts;
 B. SELECT * FROM information_schema.statistics WHERE
table_schema=’manufacturing’ AND TABLE_NAME=’parts’; Most Voted
 C. SHOW INDEXES FROM manufacturing.parts; Most Voted
 D. SELECT * FROM information_schema.COLUMN_STATISTICS;
 E. EXPLAIN SELECT INDEXES FROM manufacturing.parts;

Hide Answer
Suggested Answer: BC 🗳️

Community vote distribution


BC (100%)
Question #: 64
Topic #: 1
[All 1z0-908 Questions]
Your MySQL server is running on the Microsoft Windows platform.
Which three local connection protocols are available to you? (Choose three.)
 A. named pipes Most Voted
 B. shared memory Most Voted
 C. SOCKET
 D. X Protocol
 E. UDP
 F. TCP/IP Most Voted

Hide Answer
Suggested Answer: ABF 🗳️

Community vote distribution


ABF (100%)
Question #: 66
Topic #: 1
[All 1z0-908 Questions]
Which two are use cases of MySQL asynchronous replication? (Choose two.)

 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. Most Voted
 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. Most Voted

Hide Answer
Suggested Answer: CE 🗳️

Community vote distribution


CE (100%)
Question #: 67
Topic #: 1
[All 1z0-908 Questions]
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.)

 A. All databases are backed up to the output file. Most Voted


 B. All non-active binary logs are removed from the master.
 C. All binary logs are deleted from the master. Most Voted
 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.

Hide Answer
Suggested Answer: CE 🗳️

Community vote distribution


AC (67%)
AD (33%)
Question #: 68
Topic #: 1
[All 1z0-908 Questions]
Which step or set of steps can be used to rotate the error log?

 A. Execute SET GLOBAL log_error = ‘<new error log file>’.


 B. Execute SET GLOBAL max_error_count = <number of messages at
point to rotate>.
 C. Execute SET GLOBAL expire_logs_days=0 to enforce a log rotation.
 D. Rename the error log file on disk, and then execute FLUSH ERROR
LOGS. Most Voted

Hide Answer
Suggested Answer: D 🗳️

Community vote distribution


D (100%)
Question #: 69
Topic #: 1
[All 1z0-908 Questions]
A valid raw backup of the shop.customers MyISAM table was taken.
You must restore the table.
You begin with these steps:
1. Confirm that secure_file_priv=’/var/tmp’
2. mysql> DROP TABLE shop.customers;
3. shell> cp /backup/customers.MY* /var/lib/mysql/shop/
Which two actions are required to complete the restore? (Choose two.)

 A. shell> cp /backup/customers.sdi /var/tmp Most Voted


 B. shell> cp /backup/customers.sdi /var/lib/mysql/shop/
 C. mysql> SOURCE ‘/var/tmp/customers.sdi’
 D. mysql> IMPORT TABLE FROM /var/tmp/customers.sdi Most Voted
 E. shell> cp /backup/customers.frm /var/lib/mysql/shop/
 F. mysql> IMPORT TABLE FROM /var/lib/mysql/shop/customers.sdi
 G. mysql> ALTER TABLE shop.customers IMPORT TABLESPACE
 H. mysql> ALTER TABLE shop.customers DISCARD TABLESPACE

Hide Answer
Suggested Answer: DG 🗳️

Community vote distribution


AD (33%)
AF (33%)
BF (33%)
Question #: 70
Topic #: 1
[All 1z0-908 Questions]
You want to check the values of the sort_buffer_size session variables of all
existing connections.
Which performance_schema table can you query?

 A. user_variables_by_thread
 B. global_variables
 C. variables_by_thread Most Voted
 D. session_variables

Hide Answer
Suggested Answer: C 🗳️

Community vote distribution


C (100%)
Question #: 71
Topic #: 1
[All 1z0-908 Questions]
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.)

 A. NDB
 B. ARCHIVE Most Voted
 C. InnoDB
 D. BLACKHOLE
 E. MEMORY Most Voted
 F. MyISAM Most Voted

Hide Answer
Suggested Answer: ADF 🗳️

Community vote distribution


BEF (67%)
AEF (33%)
Actual exam question from Oracle's 1z0-908
Question #: 73
Topic #: 1
[All 1z0-908 Questions]
Which three actions are effective in capacity planning? (Choose three.)

 A. buying more RAM


 B. monitoring OS resources for patterns
 C. adding circular replication nodes for increased DML capability
 D. buying more CPU
 E. buying more disk
 F. basing expected growth on an average of the last 3 years
 G. consulting the application team about any future projects and use
 H. upgrading to the latest application version

Hide Answer
Suggested Answer: BFG 🗳️
Question #: 75
Topic #: 1
[All 1z0-908 Questions]
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.)

 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. Most Voted
 D. Truncating the transactions table will free up the most disk space.
 E. The transactions table was created with
innodb_file_per_table=OFF. Most Voted

Hide Answer
Suggested Answer: AE 🗳️

Community vote distribution


CE (100%)

Question #: 76
Topic #: 1
[All 1z0-908 Questions]
You reconfigure and start a slave that was not replicating for several days.
The configuration file and CHANGE MASTER command are correct.
Examine the GTID information from both master and slave:
Which statement is true?

 A. Replication will fail because the slave has purged more aaaaaaaa-
aaaa-aaaa-aaaa-aaaaaaaaaaaa transactions than the master.
 B. Replication will fail because the master does not have the required
transaction with bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb GTIDs in
its binary logs. Most Voted
 C. Replication will fail because the master has already purged
transactions with cccccccc-cccc-cccc-cccc-cccccccccccc GTIDs.
 D. Replication will fail because of inconsistent numbers in cccccccc-
cccc-cccc-cccc-cccccccccccc GTIDs.
 E. Replication will work.

Hide Answer
Suggested Answer: A 🗳️

Community vote distribution


B (100%)
Question #: 80
Topic #: 1
[All 1z0-908 Questions]
You are using mysqlcheck for server maintenance.
Which two statements are true? (Choose two.)

 A. The mysqlcheck --check --all-databases command takes table write


locks while performing a series of checks.
 B. The mysqlcheck --optimize --all-databases command reclaims free
space from table files. Most Voted
 C. The mysqlcheck --repair --all-databases command can repair an
InnoDB corrupted table.
 D. The mysqlcheck command can be renamed mysqlrepair so that it
repairs tables by default. Most Voted
 E. The mysqlcheck --analyze --all-databases command performs a
series of checks to spot eventual table corruptions.

Hide Answer
Suggested Answer: DE 🗳️

Community vote distribution


BD (100%)
Actual exam question from Oracle's 1z0-908
Question #: 81
Topic #: 1
[All 1z0-908 Questions]
A MySQL server is monitored using MySQL Enterprise Monitor’s agentless
installation.
Which three features are available with this installation method? (Choose
three.)

 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

Hide Answer
Suggested Answer: CEG 🗳️
Question #: 82
Topic #: 1
[All 1z0-908 Questions]
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?

 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. Most Voted

Hide Answer
Suggested Answer: C 🗳️

Community vote distribution


D (100%)
Question #: 84
Topic #: 1
[All 1z0-908 Questions]
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.)

 A. Use SET GLOBAL binlog_expire_logs_seconds=<value> 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=<value>.
 E. Use PURGE BINARY LOGS to <binlog_name>. Most Voted
 F. Use SET GLOBAL binlog_expire_logs_seconds=<value> and run the
FLUSH BINARY LOGS command. Most Voted

Hide Answer
Suggested Answer: AD 🗳️

Community vote distribution


EF (100%)
Question #: 85
Topic #: 1
[All 1z0-908 Questions]
Which two storage engines provide a view of the data consistent with the
storage system at any moment? (Choose two.)

 A. MyISAM
 B. NDB Most Voted
 C. MEMORY
 D. ARCHIVE
 E. InnoDB Most Voted

Hide Answer
Suggested Answer: AC 🗳️

Community vote distribution


BE (100%)
Question #: 86
Topic #: 1
[All 1z0-908 Questions]
Examine Joe's account:
CREATE USER 'joe'@'%' IDENTIFIED BY '*secret*'
GRANT ALL PRIVILEGES ON *.* TO 'joe'@'%'
All existing connections for joe are killed.
Which two commands will stop joe establishing access to the MySQL
instance? (Choose two.)

 A. ALTER USER 'joe'@'%' ACCOUNT LOCK


 B. ALTER USER 'joe'@'%' SET password='*invalid*'
 C. REVOKE ALL PRIVILEGES ON *.* FROM 'joe'@'%'
 D. ALTER USER 'joe'@'%' PASSWORD HISTORY 0
 E. ALTER USER 'joe'@'%' IDENTIFIED BY '*invalid*' PASSWORD EXPIRE
 F. REVOKE USAGE ON *.* FROM 'joe'@'%'

Hide Answer
Suggested Answer: CE 🗳️
uestion #: 87
Topic #: 1
[All 1z0-908 Questions]
You have configured MySQL Enterprise Monitor to monitor your MySQL
server.
Which four features are available? (Choose four.)

 A. starting and stopping the MySQL instance


 B. tracing import and export with mysqidump
 C. deploying the MySQL agent on supported target operating system
 D. creating e-mail alerts and SNMP traps for MySQL warnings Most Voted
 E. monitoring the availability of the MySQL instance Most Voted
 F. analyzing executed MySQL queries Most Voted
 G. monitoring of NDB Cluster API nodes Most Voted

Hide Answer
Suggested Answer: BDEF 🗳️

Community vote distribution


DEFG (100%)
Question #: 89
Topic #: 1
[All 1z0-908 Questions]
Examine this command, which executes successfully:

Which two statements are true? (Choose two.)

 A. A single-file backup is created. Most Voted


 B. The backup operation will finish only when backup-and-apply-log is
executed.
 C. The --backup-dir option holds temporary output, status, and
metadata files. Most Voted
 D. The backup operation will finish only when apply-log is executed.
 E. A raw backup is created.

Hide Answer
Suggested Answer: CD 🗳️

Community vote distribution


AC (100%)
Question #: 94
Topic #: 1
[All 1z0-908 Questions]
Which statement is true about cold backups?

 A. They are backups taken from snapshots of a running database.


 B. They are backups taken from OS copy commands. Most Voted
 C. They are good to use if only data structures must be backed up but
not log files.
 D. They are good to use when many users are online accessing the
database.

Hide Answer
Suggested Answer: A 🗳️

Community vote distribution


B (100%)
Question #: 93
Topic #: 1
[All 1z0-908 Questions]
Which statement is true about displaying and retrieving data with MySQL
Enterprise Monitor Query Analyzer?
 A. The Query Analyzer graph view range selector can extend to cover
the same hour over multiple days.
 B. It is possible to filter a Query Analyzer view graph by database and
by table.
 C. The Query Analyzer can plot a CPU utilization graph for remote hosts
with a MySQL Enterprise Service Manager's built-in Agent installation.
 D. It is possible to export statements included in a graph selection in
CSV format.

Hide Answer
Suggested Answer: D 🗳️

Question #: 95
Topic #: 1
[All 1z0-908 Questions]
You have replication configured, which consists of one master and one slave
on different hosts with an asynchronous replication channel between them.
Your goal is to decrease the amount of data that is transferred between
these two hosts.
It is confirmed that the slave instance does not need to have data from the
example database.
Which replication filter contributes to your goal?

 A. on slave: --replicate-wild-ignore=example.%
 B. on slave: --replicate-ignore-db=example Most Voted
 C. on master: --replicate-ignore-db=example
 D. on master: --binlog-ignore-db=example
 E. on slave: --binlog-ignore-db=example

Hide Answer
Suggested Answer: C 🗳️

Community vote distribution


B (100%)
Question #: 96
Topic #: 1
[All 1z0-908 Questions]
Which two are valid uses for binary logs on a MySQL instance? (Choose two.)

 A. recording the order in which queries are issued


 B. audit of all queries
 C. point-in-time recovery Most Voted
 D. replication Most Voted
 E. logging the duration and locks for all queries
Hide Answer
Suggested Answer: CD 🗳️

Community vote distribution


CD (100%)
Question #: 97
Topic #: 1
[All 1z0-908 Questions]
Which two tools are available to monitor the global status of InnoDB locking?
(Choose two.)

 A. SHOW ENGINE INNODB STATUS;


 B. INFORMATION_SCHEMA.INNODB_METRICS
 C. SHOW TABLE STATUS;
 D. INFORMATION_SCHEMA.STATISTICS
 E. INFORMATION_SCHEMA.INNODB_TABLESTATS
 F. SHOW STATUS;

Hide Answer
Suggested Answer: DE 🗳️
Question #: 98
Topic #: 1
[All 1z0-908 Questions]
Examine these InnoDB Cluster parameter settings:

Now examine the partial status:


A permanent network failure isolates host3.
Which two statements are true? (Choose two.)

 A. The instance deployed on host2 is elected as the new primary


instance. Most Voted
 B. The instance deployed on host3 is expelled from the cluster and must
be rejoined using cluster.addInstance ('host3:3377') Most Voted
 C. The instance deployed on host3 will automatically rejoin the cluster
when connectivity is re-established.
 D. Failure of the instance deployed on host1 provokes an outage.
 E. The issuing command cluster.switchToMuitiPrimaryMode() will fail to
enable multi-primary mode.
 F. The primary instance can be specified by using the command
cluster.setPrimaryInstance(<host>:<port>).

Hide Answer
Suggested Answer: CF 🗳️

Community vote distribution


AB (50%)
CE (50%)
by Dhanushka at Aug. 2, 2023, 6:19 a.m.
Comments

Chosen Answer: A B C D E F
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

lucasnojimoto

1 month ago
Selected Answer: CE
I created the 3 instances to test this case. A – Incorrect: Host2 is not elected as
primary, but rather Host1 due to its greater weight. B – Incorrect: The instance,
even with the ABORT_SERVER configuration, was not expelled from the cluster
after the interruption. C – Correct: After starting the host3 instance, it was
reintegrated into the cluster again. D – Incorrect: Failure on host1 will not cause an
interruption, host2 will still be functioning as primary. E – Correct: The command
“cluster.switchToMultiPrimaryMode()” will fail, since it requires all members of the
cluster to be ONLINE. F – Incorrect: The command
“cluster.setPrimaryInstance(<host>:<port>)” will cause an error because it also
requires all members to be ONLINE.
upvoted 1 times

marklv

10 months, 2 weeks ago


"A" my not be true. It will most likely be. B, host 3 is kicked out F,
setprimaryinstance will work
upvoted 1 times
Question #: 99
Topic #: 1
[All 1z0-908 Questions]
You have upgraded the MySQL binaries from 5.7.28 to 8.0.18 by using an in-
place upgrade.
Examine the message sequence generated during the first start of MySQL
8.0.18:

Which step or set of steps will resolve the errors?

 A. Remove the redo logs. Replace the MySQL binaries with the 5.7.28
binaries. Prepare the tables for upgrade. Upgrade to 8.0.18 again.
 B. Execute: mysqlcheck --check-upgrade mysql columns_priv event
proc proxies_priv tables_priv.
 C. Start mysqld again using the --upgrade=FORCE option.
 D. Execute: mysqlcheck --repair mysql columns_priv event proc
proxies_priv tables_priv.
 E. Go to the <datadir>/mysql directory and execute: myisamchk --
update-state columns_priv event proc proxies_priv tables_priv.

Hide Answer
Suggested Answer: C 🗳️
ctual exam question from Oracle's 1z0-908
Question #: 100
Topic #: 1
[All 1z0-908 Questions]
Which three requirements must be enabled for group replication? (Choose
three.)

 A. slave updates logging Most Voted


 B. semi-sync replication plugin
 C. primary key or primary key equivalent on every table Most Voted
 D. binary log checksum
 E. binary log ROW format Most Voted
 F. binary log MIXED format
 G. replication filters

Hide Answer
Suggested Answer: BCG 🗳️

Community vote distribution


ACE (100%)
Question #: 101
Topic #: 1
[All 1z0-908 Questions]
Which three are types of InnoDB tablespaces? (Choose three.)

 A. redo tablespaces
 B. encryption tablespaces
 C. schema tablespaces
 D. data tablespaces Most Voted
 E. undo tablespaces Most Voted
 F. temporary table tablespaces Most Voted

Hide Answer
Suggested Answer: BDE 🗳️

Community vote distribution


DEF (100%)
Question #: 102
Topic #: 1
[All 1z0-908 Questions]
You have semi-synchronous replication configured and working with one
slave. rpl_semi_sync_master_timeout has never been reached.
You find that the disk system on the master has failed and as a result, the
data on the master is completely unrecoverable.
Which two statements are true? (Choose two.)

 A. No committed transactions are lost. Most Voted


 B. The slave automatically identifies that the master is unreachable
and performs any required actions so that applications can start using
the slave as the new master.
 C. As soon as the incident happens, application can read data from the
slave and rely on it to return a full and current set of data.
 D. Reads from the slave can return outdated data until the value of the
rpi_semi_sync_master_timeout variable is reached. Most Voted
 E. Reads from the slave can return outdated data for some time, until
it applies all transactions from its relay log.
 F. A small amount of committed transactions may be lost in case they
were committed just before the disk failure.

Hide Answer
Suggested Answer: DF 🗳️

Community vote distribution


AE (67%)
AD (33%)
by Dhanushka at Aug. 2, 2023, 8:47 a.m.
Question #: 103
Topic #: 1
[All 1z0-908 Questions]
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?

 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. Most Voted

Hide Answer
Suggested Answer: D 🗳️

Community vote distribution


Question #: 104
Topic #: 1
[All 1z0-908 Questions]
Examine this statement and output:

Which two SQL statements can jsmith execute? (Choose two.)

 A. UPDATE world.country SET Name='all'; Most Voted


 B. UPDATE world.country SET Name='one' LIMIT 1; Most Voted
 C. UPDATE world.country SET Name='new' WHERE Name='old';
 D. UPDATE world.country SET Name=CONCAT('New ',Name);
 E. UPDATE world.country SET Name='first' ORDER BY Name LIMIT
Hide Answer
Suggested Answer: AC 🗳️

Community vote distribution


AB (100%)
Question #: 105
Topic #: 1
[All 1z0-908 Questions]
Which two statements are true about MySQL Enterprise Backup? (Choose
two.)

 A. It supports backing up only table structures.


 B. It can perform hot or warm backups. Most Voted
 C. It creates logical backups.
 D. It supports the creation of incremental backups. Most Voted
 E. It supports backup of a remote MySQL system.
 F. It supports restoring to a remote MySQL system.

Hide Answer
Suggested Answer: DF 🗳️

Community vote distribution


BD (100%)
by marklv at Oct. 23, 2023, 11:22 p.m.
Question #: 106
Topic #: 1
[All 1z0-908 Questions]
Four nodes are configured to use circular replication.
Examine these configuration parameters for each node:

Which statement is true?

 A. Each slave thread is responsible for updating a specific database.


 B. Cross-database constraints can cause database inconsistency.
 C. Increasing slave_parallel_workers will improve high availability.
 D. Setting slave_preserve_commit_order to on will improve data
consistency.
 E. Setting slave_parallel_type=DATABASE won't work for circular
replication; it should be set to LOGICAL_CLOCK.
 F. Setting transaction_allow_batching to on will improve data
consistency.
Hide Answer
Suggested Answer: D 🗳️

by marklv at Sept. 4, 2023, 9:34 p.m.


Comments

Chosen Answer: A B C D E F
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv

7 months, 3 weeks ago


B. cross database consistency can cause from with DATABASE
upvoted 1 times
uestion #: 107
Topic #: 1
[All 1z0-908 Questions]
Examine this command and output:

Which statement is true?

 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. Most Voted
 D. Firewall_access_granted is the number of connections granted from
whitelisted hosts.

Hide Answer
Suggested Answer: C 🗳️

Community vote distribution


C (100%)
by FelipeK at Nov. 9, 2023, 7:34 p.m.
Comments

Chosen Answer: A B C D
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

FelipeK

5 months, 2 weeks ago


Selected Answer: C
Question #: 108
Topic #: 1
[All 1z0-908 Questions]
What is the correct syntax for using transparent data encryption with an
existing InnoDB table?

 A. ALTER TABLE t1 ADD ENCRYPTED_TABLESPACE = 'Y';


 B. ALTER TABLE t1 ENCRYPTION='Y'; Most Voted
 C. ALTER TABLE t1 WITH ENCRYPTION USING MASTER KEY;
 D. ALTER TABLE t1 SET TDE = 'ON';

Hide Answer
Suggested Answer: B 🗳️

Community vote distribution


B (100%)
Question #: 110
Topic #: 1
[All 1z0-908 Questions]
How can mysql_multi be configured to allow MySQL instances to use the
same port number?

 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. Most Voted
 D. The instances have appropriate net masks set.

Hide Answer
Suggested Answer: B 🗳️

Community vote distribution


C (50%)
B (50%)
Question #: 111
Topic #: 1
[All 1z0-908 Questions]
What does the slave I/O thread do?

 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

Hide Answer
Suggested Answer: C 🗳️

by marklv at Oct. 23, 2023, 11:28 p.m.


Comments

Chosen Answer: A B C D
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv
6 months ago
A is it
upvoted 2 times
uestion #: 114
Topic #: 1
[All 1z0-908 Questions]
Examine this parameter setting:
audit_log=FORCE_LOG_PERMANENT
What effect does this have on auditing?

 A. It will force the load of the audit plugin even in case of errors at
server start.
 B. It causes the audit log to be created if it does not exist.
 C. It prevents the audit plugin from being removed from the running
server.
 D. It prevents the audit log from being removed or rotated.

Hide Answer
Suggested Answer: C 🗳️
Question #: 116
Topic #: 1
[All 1z0-908 Questions]
You issue this command:

SHOW SLAVE STATUS -


In the output, there is a value for Seconds_behind_master.
How is this time calculated?

 A. It is the time between the I/O thread receiving details of the


master's last transaction and the time it was applied by the SQL
thread. Most Voted
 B. It is the time between the most recent transaction written to the
relay logs and the time it was committed on the master.
 C. It is the time between the I/O thread receiving details of the
master’s last transaction and the time it was written to the relay log on
the slave.
 D. It is the time between the most recent transaction applied by a SQL
thread and the time it was committed on the master.

Hide Answer
Suggested Answer: D 🗳️

Community vote distribution


A (100%)
Question #: 118
Topic #: 1
[All 1z0-908 Questions]
You are considering using file-system snapshots to back up MySQL.
Which three statements are true? (Choose three.)

 A. They take roughly twice as long as logical backups.


 B. They allow direct copying of table rows with operating system copy
commands.
 C. They work best for transaction storage engines that can perform
their own recovery when restored.
 D. The backup window is almost zero from the perspective of the
application. Most Voted
 E. They do not back up views, stored procedures, or configuration files.
 F. There is a slight performance cost while the snapshot is active. Most
Voted
 G. They do not use additional disk space. Most Voted

Hide Answer
Suggested Answer: CEG 🗳️

Community vote distribution


DFG (100%)
by Dhanushka at Aug. 2, 2023, 3:19 p.m.
Question #: 120
Topic #: 1
[All 1z0-908 Questions]
You want to dump all databases with names that start with "db".
Which command will achieve this?

 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 Most Voted

Hide Answer
Suggested Answer: C 🗳️

Community vote distribution


D (100%)
uestion #: 121
Topic #: 1
[All 1z0-908 Questions]
Which two statements are true about the binary log encryption feature?
(Choose two.)

 A. It encrypts any connecting slaves connection thread.


 B. It can be set at run time. Most Voted
 C. It requires a keyring plugin. Most Voted
 D. When enabled it encrypts existing binary logs.
 E. It can be activated per session.

Hide Answer
Suggested Answer: AE 🗳️

Community vote distribution


BC (100%)
by Dhanushka at Aug. 2, 2023, 3:35 p.m.
Comments

Chosen Answer: A B C D E
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

Dhanushka

8 months, 3 weeks ago


Selected Answer: BC
o use encryption, a keyring component or plugin must be installed and configured
upvoted 2 times
Question #: 122
Topic #: 1
[All 1z0-908 Questions]
A clean shutdown was performed with innodb_fast_shutdown=0.
While you were manipulating files, all files were accidentally deleted from
the top-level data directory.
Which two files must be restored from backup to allow the DB to restart
cleanly? (Choose two.)

 A. ibtmp1
 B. undo_001
 C. ib_buffer_pool
 D. ibdata1
 E. mysql.ibd
 F. ib_logfile0

Hide Answer
Suggested Answer: CE 🗳️
DE

Question #: 124
Topic #: 1
[All 1z0-908 Questions]
MySQL is installed on a Linux server with this configuration:

Which method sets the default authentication to SHA-256 hashing for


authenticating user account passwords?

 A. Set validate-user-plugins=caching_sha2_password in the


configuration file.
 B. Define CREATE USER ''@'%' IDENTIFIED WITH sha256_password in
the MySQL instance.
 C. Add default_authentication_plugin=mysql_native_password in the
configuration file.
 D. Add default_authentication_plugin=sha256_password in the
configuration file.

Hide Answer
Suggested Answer: D 🗳️
Question #: 125
Topic #: 1
[All 1z0-908 Questions]
The data in this instance is transient; no backup or replication will be
required. It is currently under performing.
The database size is static and including indexes is 19G.
Total system memory is 32G.
After profiling the system, you highlight these MySQL status and global
variables:
The OS metrics indicate that disk is a bottleneck.
Other variables retain their default values.
Which two changes will provide the most benefit to the instance? (Choose
two.)

 A. sync_binlog=0
 B. max_connections=10000
 C. innodb_log_file_size=1G
 D. innodb_doublewrite=0 Most Voted
 E. innodb_flush_log_at_trx_commit=1 Most Voted
 F. buffer_pool_size=24G

Hide Answer
Suggested Answer: BE 🗳️

Community vote distribution


DE (100%)
Actual exam question from Oracle's 1z0-908
Question #: 126
Topic #: 1
[All 1z0-908 Questions]
Which condition is true about the use of the hash join algorithm?

 A. No index can be used for the join.

 B. The query must access no more than two tables.

 C. The smallest of the tables in the join must fit in memory as set by
join_buffer_size.

 D. At least one of the tables in the join must have a hash index.

Hide Answer
Suggested Answer: B 🗳️

by marklv at Sept. 5, 2023, 10:45 p.m.


Comments

Chosen Answer: A B C D
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv

7 months, 3 weeks ago


C, from documentation
Question #: 127
Topic #: 1
[All 1z0-908 Questions]
Examine this query and its output:

Which two statements are true? (Choose two.)

 A. The root user had the largest number of modified rows for a SELECT
statement.
 B. User bob had the largest total time waiting for locks.
 C. The root user had the largest single wait time.
 D. The app user had the highest total number of rows read from
storage engines.
 E. User bob had a significantly higher ratio of SELECT + INSERT
statements to QUIT than both app and root users.
Show Suggested Answer
by marklv at Sept. 6, 2023, 6:35 p.m.
Comments

Chosen Answer: A B C D E
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv

7 months, 2 weeks ago


CD makes sense
upvoted 1 times
Question #: 129
Topic #: 1
[All 1z0-908 Questions]
Which two statements are true about MySQL Installer? (Choose two.)

 A. It installs most Oracle MySQL products.

 B. It performs product upgrades.

 C. It provides only GUI-driven, interactive installations.

 D. Manual download of separate product packages is required before


installing them through MySQL Installer.

 E. It provides a uniform installation wizard across multiple platforms.

Hide Answer
Suggested Answer: BC 🗳️

by marklv at Oct. 24, 2023, 12:37 a.m.


Comments
Chosen Answer: A B C D E
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv

6 months ago
I think A and C. B is maybe, but it can't do all upgrades.
Question #: 130
Topic #: 1
[All 1z0-908 Questions]
Your MySQL environment has asynchronous position based-replication with
one master and one slave.
The slave instance had a disk I/O problem, so it was stopped.
You determined that the slave relay log files were corrupted and unusable,
but no other files are damaged.
You restart MySQL Server.
How can replication be restored?

 A. The slave relay logs should be deleted; then execute START SLAVE;

 B. The relay logs from the master should be used to replace the
corrupted relay logs.

 C. The slave relay logs should be deleted; execute CHANGE MASTER to


adjust the replication relay log file name, then issue start SLAVE;

 D. The slave needs to be restored from backup.

Hide Answer
Suggested Answer: B 🗳️

by marklv at Sept. 6, 2023, 6:38 p.m.


Comments

Chosen Answer: A B C D
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.
Submit

marklv

7 months, 2 weeks ago


C is it
Question #: 131
Topic #: 1
[All 1z0-908 Questions]
Your my.cnf file contains these settings:

You want to log queries that looked at a minimum of 5000 records and either
took longer than 5 seconds to run or did not use indexes.
Which contains all the settings that you need to add to or modify the slow
log configuration?

 A. min_examined_row_limit=5000
 B. long_query_time=5
log_throttle_queries_not_using_indexes=5
 C. log_throttle_queries_not_using_indexes=5
min_examined_ row_limit=5000
 D. long_query_time=5
 E. long_query_time=5
min_examined_row_limit=5000
 F. log_throttle_queries_not_using_indexes=5
 G. long_query_time=5
log_throttle_queries_not_using_indexes=5
min_examined_row_limit=5000

Hide Answer
Suggested Answer: C 🗳️

by marklv at Sept. 6, 2023, 6:39 p.m.


Comments
Chosen Answer: A B C D E F G
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv

7 months, 2 weeks ago


G is it
upvoted 1 times

marklv

6 months ago
E sorry. log_queries_not_using_indexes only limits the number of queries that
don't ue indexes to the log, to it has nothing to do with what we want.
upvoted 1 times
Question #: 132
Topic #: 1
[All 1z0-908 Questions]
Examine this output:

Which change should optimize the number of buffer pool instances for this
workload?
 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.

Hide Answer
Suggested Answer: B 🗳️

by marklv at Sept. 6, 2023, 6:49 p.m.


Comments

Chosen Answer: A B C D E
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv

1 year ago
"In general, when setting innodb_buffer_pool_instances, it's a good idea to match
the maximum number of MySQL threads that will be running simultaneously." so
32, or B I think
upvoted 1 times

marklv

1 year, 1 month ago


I don't see clear documentation. 1 GB per pool is recommended, I think. so 12?
upvoted 1 times

marklv

10 months, 2 weeks ago


Ignore this statement. 32 threads so 32 is it.
upvoted 1 times
Question #: 133
Topic #: 1
[All 1z0-908 Questions]
Examine this command, which executes successfully on InnoDB Cluster:
dba.dropMetadataSchema()
Which two statements are true? (Choose two.)

 A. Group Replication will be dissolved and all metadata purged.


 B. Group Replication is still operational, but InnoDB Cluster must be
reimported under MySQL Shell.
 C. The mysql_innodb_cluster_metadata schema is dropped from the
instance where the connection was established.
 D. The command drops the mysql_innodb_cluster_metadata schema and
re-creates it.
 E. The mysql_innodb_cluster_metadata schema is dropped from all
reachable members of the cluster.
 F. Connections driven by MySQL Router are not affected by the
command.

Hide Answer
Suggested Answer: CE 🗳️

by marklv at Oct. 24, 2023, 12:56 a.m.


Comments

Chosen Answer: A B C D E F
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv

6 months ago
A and E, I think, it destroys the cluster
upvoted 1 times
Question #: 135
Topic #: 1
[All 1z0-908 Questions]
You recently upgraded your MySQL installation to MySQL 8.0.
Examine this client error:

Which option will allow this client to connect to MySQL Server?

 A. [mysqld]
default_authentication_plugin=sha256_password
 B. ALTER USER user -
IDENTIFIED WITH mysql_native_password
BY 'password';
 C. [mysqld]
default_authentication_plugin=caching_sha2_password
 D. ALTER USER user -
IDENTIFIED WITH caching_sha2_password
BY 'password';
 E. ALTER USER user -

IDENTIFIED WITH sha256_password -


BY 'password';
 F. [mysqld]
default_authentication_plugin=mysql_native_password

Hide Answer
Suggested Answer: E 🗳️

by marklv at Sept. 6, 2023, 8:14 p.m.


Comments
Switch to a voting comment New

Submit

marklv

1 year, 1 month ago


A. F is kinda valid, but it doesn't to current accounts, which is this one.
upvoted 1 times

marklv
10 months, 2 weeks ago
Sorry meant B. you have to use mysql native passwords. F only applies to new accounts.
upvoted 1 times
Question #: 136
Topic #: 1
[All 1z0-908 Questions]
You have a MySQL client installed on your Linux workstation with a default
installation. You have your admin login credentials to connect to a MySQL
server running Microsoft Windows on remote host 192.0.2.1:3306. You wish
to connect directly to the world database.
Which four options need to be specified to complete this task with a single
command? (Choose four.)

 A. --shared-memory-base-name=world
 B. --protocol=UDP
 C. --protocol=pipe
 D. --password
 E. --user=admin
 F. --host=192.0.2.1
 G. --socket=/tmp/mysql.sock
 H. --port=3306
 I. --database=world

Hide Answer
Suggested Answer: ACDF 🗳️

by marklv at Sept. 6, 2023, 9:27 p.m.


Comments

Chosen Answer: A B C D E F G H I
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv

1 year, 7 months ago


ACFH is it for windows. Windows has shared memory and pipe.
upvoted 1 times

marklv

1 year, 6 months ago


sorry, answered other question. DEF and H, user password host and port
upvoted 1 times

marklv

1 year, 4 months ago


Sorry again, DEFI, user, password, host or ip, and database H is not needed because its
the default port.
upvoted 1 times

LrnsTgh

1 year, 3 months ago


why not C?
upvoted 1 times

marklv

9 months, 1 week ago


You are connecting from Linux, there is no pipe connection from linux to windows.
upvoted 1 times
Question #: 138
Topic #: 1
[All 1z0-908 Questions]
You are using an existing server with a new configuration. MySQL Server fails
to start.
Examine this snapshot of the error log:

Which action would allow the server to start?


 A. Remove ib_logfile0 and ib_logfile1 files from the file system. Most
Voted

 B. Execute mysqladmin flush-logs.

 C. First run mysqld --initialize to refresh the Size of ib_logfile.

 D. Create a new ib_logfile0 file of size 26214400.

Hide Answer
Suggested Answer: C 🗳️

Community vote distribution


A (100%)
by Dhanushka at Aug. 2, 2023, 4:55 p.m.
Comments
Switch to a voting comment New

Submit

marklv

7 months, 3 weeks ago


A, those files will get recreated to the right size on start.
upvoted 1 times

marklv

6 months ago
ib_logfile1 doesn't exist,. so not A. Not C, you do not need to wipe data. The log file needs
to be fixed. So D, set it to what error message says.
upvoted 2 times

Dhanushka

8 months, 3 weeks ago


Selected Answer: A
C will wipe existing data
upvoted 1 times
Question #: 139
Topic #: 1
[All 1z0-908 Questions]
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.)

 A. ibdatal:12M;ibdata2:12M;ibdata3:12M

 B. ibdatal:12M:autoextend;ibdata2:12M:autoextend Most Voted

 C. ibdatal:12M:autoextend Most Voted

 D. ibdatal:12M;ibdata2:12M:autoextend

 E. ibdatal:12M

 F. ibdatal:12M;/tmp/ibdata2:12M:autoextend

Hide Answer
Suggested Answer: AE 🗳️

Community vote distribution


BC (100%)
by marklv at Sept. 6, 2023, 9:33 p.m.
Comments

Chosen Answer: A B C D E F
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

PRASAD180

2 months, 2 weeks ago


Selected Answer: BC
CB is correct
upvoted 1 times

marklv

7 months, 3 weeks ago


CD. Other are invalid for fixed sized. We want something that extends.
upvoted 1 times
Question #: 140
Topic #: 1
[All 1z0-908 Questions]
Examine this statement, which executes successfully:

Now examine this query:

You must add an index that can reduce the number of rows processed by the
query.
Which two statements can do this? (Choose two.)

 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);

Hide Answer
Suggested Answer: AD 🗳️

by marklv at Sept. 7, 2023, 1:10 a.m.


Comments

Chosen Answer: A B C D E F
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

marklv

7 months, 3 weeks ago


B functional index C virtual column with index.
upvoted 1 times
Question #: 141
Topic #: 1
[All 1z0-908 Questions]
Which three sets of item information are visible in the mysql system
database? (Choose three.)

 A. help topics
 B. performance monitoring information
 C. plugins
 D. information about table structures
 E. audit log events
 F. rollback segments
 G. time zone information and definitions

Hide Answer
Suggested Answer: ACF 🗳️

by marklv at Sept. 7, 2023, 1:13 a.m.


Comments
Switch to a voting comment New

Submit

marklv

1 year, 1 month ago


G not F
upvoted 1 times

marklv

1 year ago
maybe ADG
upvoted 1 times

marklv

10 months, 2 weeks ago


ACG, not sure about D because table structures are stored in data dictionary,.
upvoted 1 times
Question #: 142
Topic #: 1
[All 1z0-908 Questions]
Which statement is true about InnoDB persistent index statistics?

 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.
Hide Answer
Suggested Answer: A -
🗳️

by marklv at Oct. 24, 2023, 1:31 a.m.


Comments

Chosen Answer: A B C D E
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

LrnsTgh

9 months, 2 weeks ago


this question is the same with Question #5. D is not about persistent indexed. E might be
the answer but not sure.
upvoted 1 times

marklv

1 year ago
D I think
Question #: 143
Topic #: 1
[All 1z0-808 Questions]
Given the code fragment:

What is the result?

 A. 3142

 B. 2413
 C. 1324

 D. 4231 Most Voted

Hide Answer
Suggested Answer: D 🗳️

Community vote distribution


D (100%)
by shivkumarx at Sept. 16, 2022, 6:55 p.m.
Comments

Chosen Answer: A B C D
This is a voting comment (?). It is better to Upvote an existing comment if you don't have
anything to add.

Submit

Ericausdresden

9 months ago
man i needed 7 minutes to this shit in my head haha...i had start over several times, so i
guess i will move questions like that that to the end in the exam...
upvoted 1 times

iSnover

1 year, 6 months ago


Selected Answer: D
The answer is the letter D, you don't have to go far, both the initial value of the variable "i"
and "j" receive the length -1 and the matrix is 2x2. As java indexes from 0 and length is 2,
the first number to be printed is 4 which is in position [1][1] of the array and only the letter
D has 4 as the first. Don't even waste time doing the rest, in the OCA test they put
distractors just for you to spend more time on the question, and having additional time is
like gold in this exam.
upvoted 4 times

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy