Get New 2023 Valid Practice To your 1Z0-908 Exam (Updated 142 Questions)
MySQL Database Administration 1Z0-908 Exam Practice Test Questions Dumps Bundle!
NEW QUESTION # 27
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 25 experiences a lock wait timeout.
- B. A deadlock occurs after innodb_lock_wait_timeout seconds.
- C. A deadlock occurs immediately.
- D. Connection 24 experiences a lock wait timeout.
- E. All statements execute without error.
Answer: B
NEW QUESTION # 28
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 25 experiences a lock wait timeout.
- B. A deadlock occurs after innodb_lock_wait_timeout seconds.
- C. A deadlock occurs immediately.
- D. Connection 24 experiences a lock wait timeout.
- E. All statements execute without error.
Answer: B
NEW QUESTION # 29
Examine these statements and output:
Which statement is true?
- A. The user is authenticated as the anonymous proxy user ''@'%'.
- B. The user is authorized as the accounting@localhost user.
- C. The user is authorized as the rsmith@localhost user.
- D. The user failed to define a username and the connecting username defaulted to ''@'%'.
- E. The user is logged in with --user=accounting as an option.
Answer: C
NEW QUESTION # 30
You are having performance issues with MySQL instances. Those servers are monitored with MySQL Enterprise Monitor.
Using Query Analyzer, where do you begin to look for problem queries?
- A. Sort the "Exec" column and check for SQL queries with low Query Response Time index (QRTi) values.
- B. Sort the "Exec" column and check for SQL queries with high Query Response Time index (QRTi) values.
- C. Look for queries with low total latency times in the Latency section in the times series graph.
- D. Look for queries with big prolonged spikes in row activity/access graph in the times series graph.
Answer: D
NEW QUESTION # 31
You are using mysqlcheck for server maintenance.
Which two statements are true? (Choose two.)
- A. The mysqlcheck --optimize --all-databases command reclaims free space from table files.
- B. The mysqlcheck command can be renamed mysqlrepair so that it repairs tables by default.
- C. The mysqlcheck --check --all-databases command takes table write locks while performing a series of checks.
- D. The mysqlcheck --repair --all-databases command can repair an InnoDB corrupted table.
- E. The mysqlcheck --analyze --all-databases command performs a series of checks to spot eventual table corruptions.
Section: (none)
Explanation
Answer: B,E
NEW QUESTION # 32
Examine this command, which executes successfully:
Which statement is true?
- A. Only files for MySQL or Its built-in storage engines are backed
- B. Only tables stored in their own tablespaces are backed up.
- C. Only InnoDB data and log files are backed up.
- D. Only non-encrypted files are backed up.
- E. The backup includes only data files and their metadata.
Answer: C
NEW QUESTION # 33
Examine this query and output:
Which two statements are true? (Choose two.)
- A. The query returns exactly 125 rows.
- B. 35 rows from the city table are included in the result.
- C. The country table is accessed as the first table, and then joined to the city table.
- D. The optimizer estimates that 51 rows in the country table have Continent = 'Asia'.
- E. It takes more than 8 milliseconds to sort the rows.
Answer: B,D
NEW QUESTION # 34
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. variables_by_thread
- C. global_variables
- D. session_variables
Answer: D
NEW QUESTION # 35
Which two statements are true about InnoDB data-at-rest encryption? (Choose two.)
- A. It does not support the transportable tablespaces feature.
- B. It supports only non-blob datatypes.
- C. It supports all indexes transparently.
- D. It decrypts data for use in memory.
- E. It enforces encryption from disk to memory and over network transmission.
Answer: C,D
Explanation:
Explanation/Reference: https://docs.oracle.com/cd/E17952_01/mysql-8.0-en/faqs-tablespace-encryption.html
NEW QUESTION # 36
Binary log events for the ‘mydb1’ schema must be copied to a different schema name ‘mydb2’.
Which command will do this?
- A. mysqlbinlog --rewrite-db=’mydb1->mydb2’ | mysql
- B. mysqlbinlog --datebase=mydb1 --database=mydb2 | mysql
- C. mysqlbinlog --rewrite-db=’mydb1’ --rewrite-db=’mydb2’ | mysql
- D. mysqlbinlog --read-from-remote-server --raw | sed ‘s/mydb1/mydb2/g’ | mysql
Answer: D
NEW QUESTION # 37
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
- B. using stored procedures for any database access
- C. avoiding concatenation of SQL statements and user-supplied values in an application
- D. using PREPARED STATEMENTS
Answer: B
Explanation:
Explanation/Reference: https://www.ptsecurity.com/ww-en/analytics/knowledge-base/how-to-prevent-sql-injection-attacks/
NEW QUESTION # 38
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.
- B. It is a cold backup.
- C. This option uses the READ COMMITTED transaction isolation mode.
- D. The backup created is a consistent data dump.
- E. It enforces consistent backups for all storage engines.
Answer: A,C
NEW QUESTION # 39
Examine this query and its output:
Which two statements are true? (Choose two.)
- A. The app user had the highest total number of rows read from storage engines.
- B. The root user had the largest number of modified rows for a SELECT statement.
- C. User bob had a significantly higher ratio of SELECT + INSERT statements to QUIT than both app and root users.
- D. The root user had the largest single wait time.
- E. User bob had the largest total time waiting for locks.
Answer: A,C
NEW QUESTION # 40
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. error log
- D. slow query log
- E. binary log
Answer: E
NEW QUESTION # 41
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. sync_binlog=0
- C. innodb_doublewrite=0
- D. max_connections=10000
- E. innodb_undo_directory=/dev/shm
- F. innodb_log_file_size=1G
- G. buffer_pool_size=24G
Answer: A,D,F
Explanation:
Explanation/Reference: https://aws.amazon.com/blogs/database/best-practices-for-configuring-parameters-for-amazon- rds-for-mysql-part-1-parameters-related-to-performance/
NEW QUESTION # 42
A colleague complains about slow response time on your website.
Examine this query and output:
What is the most likely cause for the high number of lock waits?
- A. Your table accesses wait for the operating system level flush.
- B. You use the MyISAM storage engine for most common tables.
- C. The Innodb Buffer pool is full.
- D. You use the InnoDB storage engine and statements wait while data is inserted.
Answer: D
NEW QUESTION # 43
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 all privileges from r_role1 and r_role2 before dropping the roles.
- C. It fails if you do not have the ADMIN OPTION of the roles r_role1 and r_role2.
- D. Existing connections can continue to use the roles' privileges until they reconnect.
- E. You must revoke r_role1 and r_role2 from all users and other roles before dropping the roles.
- F. It fails if at least one of the roles does not exist.
Answer: C,D
NEW QUESTION # 44
You have just installed MySQL on Oracle Linux and adjusted your /etc/my.cnfparameters to suit your installation.
Examine the output:
What statement is true about the start attempt?
- A. systemdattempted to start mysqld, found another systemd mysqldprocess running, and shut it down.
- B. systemdwaited for 30 seconds before timing out and start up failed.
- C. MySQL server continued to start up even though another process existed.
- D. MySQL server was not started due to a problem while executing process 2732.
- E. systemd found the mysqldservice disabled and failed to start it.
Answer: A
NEW QUESTION # 45
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. log_throttle_queries_not_using_indexes=5
min_examined_ row_limit=5000 - B. long_query_time=5
min_examined_row_limit=5000 - C. long_query_time=5
log_throttle_queries_not_using_indexes=5 - D. long_query_time=5
log_throttle_queries_not_using_indexes=5
min_examined_row_limit=5000 - E. long_query_time=5
- F. log_throttle_queries_not_using_indexes=5
- G. min_examined_row_limit=5000
Answer: A
NEW QUESTION # 46
Where is the default data directory located after installing MySQL using RPM on Oracle Linux 7?
- A. /usr/bin
- B. /usr/mysql
- C. /etc/my.cnf
- D. /usr
- E. /var/lib/mysql
Answer: E
NEW QUESTION # 47
Which two are features of MySQL Enterprise Firewall? (Choose two.)
- A. provides stateless firewall access to TCP/3306
- 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. recording incoming SQL statement to facilitate the creation of a whitelist of permitted commands
Answer: B,E
NEW QUESTION # 48
Which three actions are effective in capacity planning? (Choose three.)
- A. monitoring OS resources for patterns
- B. adding circular replication nodes for increased DML capability
- C. basing expected growth on an average of the last 3 years
- D. buying more RAM
- E. buying more disk
- F. buying more CPU
- G. consulting the application team about any future projects and use
- H. upgrading to the latest application version
Answer: A,C,G
NEW QUESTION # 49
......
Fully Updated Dumps PDF - Latest 1Z0-908 Exam Questions and Answers: https://www.exam4pdf.com/1Z0-908-dumps-torrent.html
Updated 1Z0-908 PDF for the 1Z0-908 Tests Free Updated Today: https://drive.google.com/open?id=1AfmN8YbAbsNiHArHvahp4cREACg8dAQN

