Oracle 1Z0-918 Certification Sample Questions and Answers

1Z0-918 PDF, 1Z0-918 Dumps PDF Free Download, 1Z0-918 Latest Dumps Free PDF, MySQL Database Administration PDF DumpsThe Oracle MySQL Database Administration (1Z0-918) Sample Question Set is designed to help you prepare for the MySQL Database Administration Certified Professional certification exam. To become familiar with the actual Oracle Certification exam environment, we suggest you try our Sample Oracle 1Z0-918 Certification Practice Exam.

This MySQL Database Administration Professional certification sample practice test and sample question set are designed for evaluation purposes only. If you want to test your Oracle 1Z0-918 knowledge to identify your areas of improvement and get familiar with the actual exam format, we suggest you prepare with the Premium MySQL Database Administration Certified Professional Certification Practice Exam. Our team of Oracle MySQL experts has designed Questions-Answers for this premium practice exam by collecting inputs from recently certified candidates. Our premium Oracle 1Z0-918 certification practice exam will boost your confidence as well as your actual Oracle MySQL Database Administration exam result.

Oracle 1Z0-918 Sample Questions:

01. On a SaaS platform's server, an analyst opened a REPEATABLE READ transaction, ran a SELECT, and left the session idle for several hours. Heavy updates continued on the same tables throughout. The DBA sees the InnoDB history list length climbing steadily and the undo tablespaces growing.
Which two statements are true?
(Choose two.)
a) Rerunning the SELECT in that session returns rows as of its first read
b) The idle transaction holds shared locks on the rows it read, which is what slows the updates
c) Purge cannot discard undo records that the idle transaction's read view may still need, so history keeps accumulating until it ends
d) Old row versions live in the redo log, which grows
e) Adding purge threads lets purge remove records that the idle read view still needs
 
02. A university's student records server stores its binary logs on the same volume as its data. The DBA must estimate how much disk the volume will need in twelve months, covering both table growth and binary log usage.
Which approach gives a sound estimate?
a) Track DATA_LENGTH plus INDEX_LENGTH in information_schema.TABLES over several weeks, and add daily binary log volume times the retention period
b) Multiply the current COUNT(*) of each table by the expected row growth, and leave out binary logs because the server purges them after every full backup
c) Project growth from Innodb_buffer_pool_pages_data, and size the binary logs from max_binlog_size
d) Use today's datadir size as the baseline, and add today's binary log files as a fixed allowance
 
03. Players of a game studio's online title intermittently fail to log in, and the application logs show Too many connections. During an incident, SHOW GLOBAL STATUS reports Threads_connected equal to the configured max_connections value of 800 and Threads_running of 6. Most rows in the process list show the command Sleep.
Which statement is true?
a) Threads_running counts the sessions queued for a free connection slot, so raising thread_cache_size will clear the errors
b) Idle sessions, not active queries, are using up the connection limit
c) The server is CPU-bound, because every connected thread is executing a statement and new logins cannot be scheduled
d) Threads_connected counts the connections refused since startup, so the value will fall only after a server restart
 
04. An online retailer has approved a larger InnoDB buffer pool for a production server as part of a scheduled capacity change. The application must stay connected, so during business hours the DBA runs SET GLOBAL innodb_buffer_pool_size with the new value.
Which statement is true about how this change is carried out?
a) It takes effect only at the next restart, because innodb_buffer_pool_size is read-only
b) InnoDB evicts the cached pages, then allocates a larger pool
c) Only sessions that connect after the change use the larger pool, while sessions that already exist keep using the old one
d) InnoDB grows the pool online in background chunk-sized steps, and Innodb_buffer_pool_resize_status reports its progress
 
05. A payments company runs gtid_mode=ON and enforce_gtid_consistency=ON on source pay-src1. A new replica has been restored from a backup that set gtid_purged correctly. The team wants replication to start without anyone looking up a binary log file or position.
What should you do on the replica?
a) Run CHANGE REPLICATION SOURCE TO with SOURCE_HOST, the credentials, SOURCE_LOG_FILE='binlog.000001' and SOURCE_LOG_POS=4, then START REPLICA
b) Run CHANGE REPLICATION SOURCE TO with only SOURCE_HOST and the credentials, as GTID mode positions the replica automatically
c) Run CHANGE REPLICATION SOURCE TO with SOURCE_HOST, the credentials and SOURCE_AUTO_POSITION=1, then START REPLICA
d) Set gtid_mode to OFF_PERMISSIVE on the replica, then START REPLICA
 
06. Six months ago a help-desk vendor ran ANALYZE TABLE tickets UPDATE HISTOGRAM ON priority, with no other histogram options, on this non-indexed and heavily skewed column, and row estimates for filters on it became accurate. Since then a new triage process has changed the distribution of priority values substantially, and the estimates are now far from the actual row counts. innodb_stats_auto_recalc is enabled.
Which statement is true?
a) InnoDB refreshes the histogram automatically when innodb_stats_auto_recalc detects enough changed rows, so the estimates will correct themselves
b) The histogram changes only when it is rebuilt with ANALYZE TABLE … UPDATE HISTOGRAM
c) Running ANALYZE TABLE tickets with no histogram clause rebuilds the histogram together with the index statistics
d) The optimizer uses histograms only for indexed columns, so an index on priority must be added before any estimate can improve
 
07. At 14:07 a developer at an online retailer ran DROP TABLE orders by mistake. The last full backup ran at 02:00 and recorded binary log file binlog.000412, position 1540. Binary logging is enabled and every log since the backup is available.
What should you do to recover orders with the least data loss?
a) Restore the 02:00 backup, then use mysqlbinlog to replay from binlog.000412 position 1540 to the end of the latest log, so that no transaction committed after the backup is lost
b) Replay binlog.000412 from its first event onto the running server with mysqlbinlog
c) Restore the 02:00 backup, replay with mysqlbinlog from binlog.000412 position 1540 to just before the DROP TABLE event, then resume replay after that event
d) Restore the 02:00 backup and start the server, as the redo log in the backup covers later changes
 
08. An analytics team adds a second mysqld instance to a Linux host that already runs one, using a separate systemd instance unit and its own option group. The DBA has already given the new instance its own datadir and pid-file.
Which two other settings must also differ from the first instance?
(Choose two.)
a) The innodb_buffer_pool_size value configured for this new instance's workload
b) The TCP port the new instance listens on
c) The basedir holding the MySQL server binaries and support files
d) The character_set_server setting
e) The Unix socket file path it creates
 
09. A SaaS provider's compliance audit requires that every client connection over TCP/IP to its MySQL server be encrypted. The server has more than 300 accounts, new accounts are created weekly by several teams, and the DBA team wants a control that does not depend on each team remembering an extra clause.
The server already has a valid certificate and key configured.
What should you do?
a) Set require_secure_transport to ON with SET PERSIST, so that the server rejects unencrypted TCP/IP connections for every account, including accounts created later
b) Set ssl_ca, ssl_cert and ssl_key in the [mysqld] section, then restart
c) Run ALTER USER … REQUIRE SSL for each existing account, so that those accounts are refused unless they connect with TLS
d) Add ssl-mode=REQUIRED to the [client] section of the server's option file
 
10. At a telecom operator, the DBA suspects that an index merge chosen for one reporting SELECT on net.call_records (alias c) is slower than using a single index. The production application sends many other statements over the same pooled connections, and the DBA must not change the optimizer's behaviour for any of them.
What should you do to test the alternative plan?
a) Add index_merge=off to optimizer_switch in the option file and restart the server
b) Run SET GLOBAL optimizer_switch='index_merge=off' and compare the plan of that reporting SELECT
c) Run that SELECT with EXPLAIN ANALYZE, which executes both the index merge and the single-index plan and reports the timing of each
d) Add the optimizer hint /*+ NO_INDEX_MERGE(c) */ to that one SELECT and compare its EXPLAIN output and timing

Answers:

Question: 01

Answer: a, c

Question: 02

Answer: a

Question: 03

Answer: b

Question: 04

Answer: d

Question: 05

Answer: c

Question: 06

Answer: b

Question: 07

Answer: c

Question: 08

Answer: b, e

Question: 09

Answer: a

Question: 10

Answer: d

Rating: 5 / 5 (1 vote)