1Z0-908 Exam Questions
85 real 1Z0-908 exam questions with expert-verified answers and explanations. Page 2 of 2.
- Question #51High Availability and Scalability
Examine this command, which executes successfully: $ mysqlrouter --bootstrap user@hostname:port --directory=directory_path Which activity is performed?
MySQL RouterbootstrapInnoDB Clusterrouter configuration - Question #52Security
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 UPD...
transaction recoveryprivilege grantssession behaviorerror handling - Question #53Security
Examine these statements, which execute successfully: CREATE ROLE r_world_rd; GRANT SELECT ON world.* TO r_world_rd; CREATE USER john IDENTIFIED BY `P@ssw0rd'; GRANT r_world_rd TO...
role activationprivilege managementuser securityrole lifecycle - Question #54Replication
Binary log events for the `mydb1' schema must be copied to a different schema name `mydb2'. Which command will do this?
binary logsmysqlbinlogschema rewritingreplication - Question #55High Availability and Scalability
Examine this MySQL Shell command: dba.rebootClusterFromCompleteOutage() Which two statements are true? (Choose two.)
InnoDB ClusterCluster RecoveryMySQL ShellQuorum - Question #56Replication
What does the binlog dump thread do?
binlog dump threadreplication architecturemaster-slave communicationbinary logs - Question #57MySQL Architecture
Which two commands will display indexes on the parts table in the manufacturing schema? (Choose two.)
SHOW INDEXESinformation_schema.statisticsindex metadataCOLUMN_STATISTICS - Question #58Installation and Configuration
Your MySQL server is running on the Microsoft Windows platform. Which three local connection protocols are available to you? (Choose three.)
named pipesshared memoryTCP/IPWindows protocols - Question #59Monitoring
Which two statements are true about using MySQL Enterprise Monitor Query Analyzer? (Choose two.)
Query AnalyzerPerformance MonitoringQuery AdvisorTime-series Analysis - Question #60Replication
Which two are use cases of MySQL asynchronous replication? (Choose two.)
MySQL ReplicationRead ScalingAsynchronous ReplicationBackup Strategy - Question #61Backup and Recovery
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 exec...
mysqldumpbinary logslog purgingbackup strategy - Question #62Monitoring
Which step or set of steps can be used to rotate the error log?
error logFLUSH ERROR LOGSlog rotationlog management - Question #63Backup and Recovery
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.)
mysqldump--master-data--single-transactionconsistent backup - Question #64Performance Tuning
Examine this query and output: Which two statements are true? (Choose two.)
execution plansoptimizer statisticsquery performancejoin analysis - Question #65Backup and Recovery
Examine this command, which executes successfully: mysqlpump --user=root --password > full_backup.sql Which two databases will be excluded from this dump? (Choose two.)
mysqlpumpinformation_schemasys schemaexcluded databases - Question #66Security
Examine this MySQL client command to connect to a remote database: mysql -h remote.example.org -u root -p --protocol=TCP --ssl-mode= Which two --ssl-mode values will ensure that an...
SSL/TLS configurationCertificate validationMySQL client connectionX.509 certificates - Question #67Backup and Recovery
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?
binary logginglogging typeschange trackingbackup recovery - Question #68Backup and Recovery
Which two statements are true about using backups of the binary log? (Choose two.)
Binary LogPoint-in-Time RecoveryData RestorationSchema Changes - Question #69Installation and Configuration
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 2...
SIGTERMMySQL shutdownProcess signalsGraceful termination - Question #70Security
You wish to protect your MySQL database against SQL injection attacks. Which method would fail to do this?
SQL injectionPrepared statementsStored proceduresDynamic SQL - Question #71Installation and Configuration
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...
systemdservice managementprocess conflictsMySQL startup - Question #72Replication
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?...
binary logsbinlog_expire_logs_secondsPURGE BINARY LOGSlog space management - Question #73MySQL Architecture
Which two storage engines provide a view of the data consistent with the storage system at any moment? (Choose two.)
storage enginesMyISAMMEMORYdata consistency - Question #74Performance Tuning
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?
index typesFULLTEXT indexquery optimizationALTER TABLE - Question #75Security
Which three are characteristics of a newly created role? (Choose three.)
RolesAccess ControlPrivilege ManagementDDL - Question #76Replication
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...
GTID replicationRESET MASTERfailover scenariostransaction consistency - Question #77Performance Tuning
Examine this statement and output: You must try to reduce query execution time. Which two queries should you focus on? (Choose two.)
query execution timeperformance analysisSQL optimizationexecution plans - Question #78Monitoring
Examine this query: What information does this query provide?
memory monitoringconnection statisticsperformance metricsquery analysis - Question #79Security
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 privi...
File PermissionsAccess ControlMySQL HardeningData Security - Question #80Security
User account baduser@hostname on your MySQL instance has been compromised. Which two commands stop any new connections using the compromised account? (Choose two.)
account lockingALTER USER commandauthentication securityuser account compromise - Question #81Replication
An existing asynchronous replication setup is running MySQL 8. Which two steps are a part of implementing GTID replication? (Choose two.)
GTID replicationgtid_modeCHANGE MASTER TOreplication setup - Question #82Installation and Configuration
Which four connection methods can MySQL clients specify with the --protocol option when connecting to a MySQL server? (Choose four.)
--protocol optionTCPSOCKETPIPE - Question #83Advanced Features
Examine this command and output: Which two statements are true? (Choose two.)
table locksexclusive lockslock levelslock types - Question #84Replication
Which three statements are true about MySQL replication? (Choose three.)
server ID uniquenessbinary loggingreplication privilegesreplication topology - Question #85Installation and Configuration
Which two statements are true about the mysql_config_editor program? (Choose two.)
mysql_config_editorlogin-path.mylogin.cnfclient configuration