The new flashcard feature is useful to memorize questions.
?Change your study mode
At any time, you can change the study mode, and alternate between the practice mode and the exam mode. In practice mode, you can configure for example the number of questions or tests, and other parameters to help you study.
Randomized | 10 Questions per Test | 20 Minutes | 70% to pass|
To re-configure your study mode again and change - for example - the number of tests, whether you have random questions and all other configuration parameters.
?Simulator Configuration
Auto-scroll: You can use the automatic scrolling of the questionnaire that occurs as soon as you answer one or all of the answers to a question correctly. Auto scrolling is activated if you answer a single answer, or as soon as you answer all the mandatory answers. Learning Mode: During learning mode you can get a real time result for your answer.
Free Test
Question: / 10
20:00Min. left
?Restart the current test
To restart the current test by clearing all your answers and the time used up to now. Warning: all answers will be lost.
Question: / 10
4.6(407 Votes)
Quiz
Question 1/101/10
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?
Select the answer:Select the answer
1 correct answer
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);
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?
Select the answer:Select the answer
1 correct answer
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;
Answer: D. The slave has two kinds of GTIDs to distinguish: - GTIDs from the master, identified by the master UUID, aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa. These represent legitimate replicated transactions. - GTIDs generated on the slave, identified by the slave’s own UUID, bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb. These include the accidental local transactions and must not be presented as legitimate replication history. The goal is to retain the master’s legitimate GTID history through 10167 while removing the unwanted slave-originated GTIDs. Option D does this by resetting the slave’s local binary-log and GTID state, then restoring the appropriate master GTID information. It records the earlier master range, 1-2312, as purged and the legitimate executed range through 1-10167. Crucially, it does not include the slave UUID’s GTIDs. Why the other options are unsuitable: A marks the entire master range through 10167 as purged. That does not preserve the distinction between the purged range and the rest of the executed history. B includes the slave UUID’s GTIDs in the GTID state. That risks treating the unwanted local transactions as valid history during replication or failover. C uses RESET SLAVE, which resets replication connection and relay-log metadata; it does not clear the relevant local binary-log and GTID history. It also specifies different GTID ranges. E likewise uses RESET SLAVE and marks the entire master range as purged, so it does not establish the intended GTID state. Important operational note: RESET MASTER deletes the server’s binary logs, so it should be used only after confirming those logs are no longer needed. Also, the option’s command syntax appears malformed. In standard MySQL, gtid_executed is normally read-only; the exact commands needed to establish the desired GTID state depend on the MySQL version. The intended answer is D because it removes the unwanted slave-originated GTIDs while retaining the legitimate master GTID history.
Right Answer: D
Quiz
Question 4/104/10
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.)
Select multiple answer: (Choose 3)Select the answer
Which two are features of MySQL Enterprise Firewall? (Choose two.)
Select multiple answer: (Choose 2)Select the answer
2 correct answers
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
The correct answers are A and B. A. Recording incoming SQL statements to facilitate the creation of a whitelist of permitted commands MySQL Enterprise Firewall can learn the SQL statement patterns used by an application. These statements can be recorded and reviewed to help create an approved list, or whitelist, for that application. B. Blocking potential threats by configuring pre-approved whitelists Once a whitelist is configured, the firewall can compare incoming statements against the approved patterns. Statements that do not match can be rejected, helping protect the database from unauthorized or unexpected SQL activity. Why the other options are incorrect: C. Modifying SQL statements dynamically with substitutions is not a MySQL Enterprise Firewall feature. The firewall evaluates statements; it is not a SQL-rewriting system. D. Automatically locking accounts that violate firewall rules is not the firewall’s function. It can block statements that do not match the whitelist, but it does not automatically lock the user accounts that issued them. E. MySQL Enterprise Firewall operates at the SQL statement level, not as a network firewall providing stateless access control for TCP port 3306.
Right Answer: A, B
Quiz
Question 7/107/10
Examine the modified output:
Seconds_Behind_ Master value is steadily growing. What are two possible causes? (Choose two.)
Select multiple answer: (Choose 2)Select the answer
2 correct answers
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.
The intended answers are C and D. Seconds_Behind_Master is a time-based estimate of how far behind the replica is when applying source events. It is not a direct count of queued transactions or a measurement of the relay-log backlog. A steadily increasing value therefore indicates increasing replication delay, but by itself it does not show how many transactions are waiting or identify the bottleneck. D describes a common cause of growing lag: the source can generate events from multiple concurrent transactions, while the replica may apply them serially. If the source produces work faster than the replica can apply it, the replica falls progressively further behind. The wording of C needs a qualification. The useful point is that Seconds_Behind_Master is not a measure of transaction-queue size. In standard MySQL, however, it is not strictly “only I/O latency”; it is a timestamp-based lag estimate, and delays in fetching or applying events can affect replication progress. The other choices are not the intended answers based on the information given: A describes a possible source or network bottleneck, but the output alone does not establish that the source is failing to transmit events. B can make some row-based replication operations slower, especially updates or deletes that must locate rows, but the output does not indicate missing primary keys. E can slow parallel replication if workers contend on locks. That can be a real cause of lag, but the question’s stated answer points to the serial-apply bottleneck in D rather than providing evidence of lock contention.
Right Answer: C, D
Quiz
Question 8/108/10
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?
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?
Select the answer:Select the answer
1 correct answer
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.
D.
mysqld_safe prohibits commands that would harm the operation of the server. An error would be returned by the kill command.
The correct answer is C. On Unix-like systems, signal 15 is SIGTERM. MySQL Server handles SIGTERM as a request for a normal, graceful shutdown. It stops accepting new work and performs its shutdown procedures, including orderly cleanup and storage-engine shutdown. This is broadly comparable in effect to requesting shutdown with mysqladmin shutdown, though the two use different mechanisms: kill sends an operating-system signal, while mysqladmin sends a request through the MySQL server interface. Why the other options are incorrect: A. SIGTERM is not inherently unsafe or something that must be avoided. Tools such as mysqladmin shutdown or systemctl stop mysqld are often preferable because they integrate with MySQL or the service manager, but SIGTERM is a valid graceful-shutdown signal. B. SIGTERM and SIGKILL are not equivalent. SIGKILL (signal 9) cannot be caught or handled by the server, so it prevents MySQL from carrying out its normal shutdown steps and can require recovery when the server starts again. SIGTERM (signal 15) gives MySQL the opportunity to shut down cleanly. D. mysqld_safe does not block kill commands. If a process with sufficient permissions sends a signal to the MySQL process, the operating system delivers it. Depending on how mysqld_safe is configured, it may attempt to restart the server after the process exits, but it does not prevent the signal from being sent. Thus, assuming PID 2076 is the MySQL server process, kill -15 2076 requests a normal shutdown.
Right Answer: C
Quiz
Question 10/1010/10
You wish to protect your MySQL database against SQL injection attacks. Which method would fail to do this?
Select the answer:Select the answer
1 correct answer
A.
installing and configuring the Connection Control plugin
B.
avoiding concatenation of SQL statements and user-supplied values in an application
1z0-908: Oracle MySQL 8.0 Database Administrator Practice test unlocks all online simulator questions
Thank you for choosing the free version of the 1z0-908: Oracle MySQL 8.0 Database Administrator practice test! Further deepen your knowledge on Oracle Simulator; by unlocking the full version of our 1z0-908: Oracle MySQL 8.0 Database Administrator Simulator you will be able to take tests with over 140 constantly updated questions and easily pass your exam. 98% of people pass the exam in the first attempt after preparing with our 140 questions.
What to expect from our 1z0-908: Oracle MySQL 8.0 Database Administrator practice tests and how to prepare for any exam?
The 1z0-908: Oracle MySQL 8.0 Database Administrator Simulator Practice Tests are part of the Oracle Database and are the best way to prepare for any 1z0-908: Oracle MySQL 8.0 Database Administrator exam. The 1z0-908: Oracle MySQL 8.0 Database Administrator practice tests consist of 140 questions and are written by experts to help you and prepare you to pass the exam on the first attempt. The 1z0-908: Oracle MySQL 8.0 Database Administrator database includes questions from previous and other exams, which means you will be able to practice simulating past and future questions. Preparation with 1z0-908: Oracle MySQL 8.0 Database Administrator Simulator will also give you an idea of the time it will take to complete each section of the 1z0-908: Oracle MySQL 8.0 Database Administrator practice test . It is important to note that the 1z0-908: Oracle MySQL 8.0 Database Administrator Simulator does not replace the classic 1z0-908: Oracle MySQL 8.0 Database Administrator study guides; however, the Simulator provides valuable insights into what to expect and how much work needs to be done to prepare for the 1z0-908: Oracle MySQL 8.0 Database Administrator exam.
1z0-908: Oracle MySQL 8.0 Database Administrator Practice test therefore represents an excellent tool to prepare for the actual exam together with our Oracle practice test . Our 1z0-908: Oracle MySQL 8.0 Database Administrator Simulator will help you assess your level of preparation and understand your strengths and weaknesses. Below you can read all the quizzes you will find in our 1z0-908: Oracle MySQL 8.0 Database Administrator Simulator and how our unique 1z0-908: Oracle MySQL 8.0 Database Administrator Database made up of real questions:
Info quiz:
Quiz name:1z0-908: Oracle MySQL 8.0 Database Administrator
Total number of questions:140
Number of questions for the test:50
Pass score:80%
You can prepare for the 1z0-908: Oracle MySQL 8.0 Database Administrator exams with our mobile app. It is very easy to use and even works offline in case of network failure, with all the functions you need to study and practice with our 1z0-908: Oracle MySQL 8.0 Database Administrator Simulator.
Use our Mobile App, available for both Android and iOS devices, with our 1z0-908: Oracle MySQL 8.0 Database Administrator Simulator . You can use it anywhere and always remember that our mobile app is free and available on all stores.
Our Mobile App contains all 1z0-908: Oracle MySQL 8.0 Database Administrator practice tests which consist of 140 questions and also provide study material to pass the final 1z0-908: Oracle MySQL 8.0 Database Administrator exam with guaranteed success.
Our 1z0-908: Oracle MySQL 8.0 Database Administrator database contain hundreds of questions and Oracle Tests related to 1z0-908: Oracle MySQL 8.0 Database Administrator Exam. This way you can practice anywhere you want, even offline without the internet.