多项选择题You want to shutdown a running Mysql Server cleanly. Which three commands that are valid on either Windows or Linux will achieve this?()

A.Shell> mysqladmin –u root –p shutdown
B.Shell> nmc mysql shutdown
C.Mysql> STOP PROCESS mysqld
D.Shell> /etc/init.d/mysql stop
E.Shell> service mysql safe_exit
F.Shell> pkill –u mysql mysqld_safe
G.Shell> net stop mysql


您可能感兴趣的试卷

你可能感兴趣的试题

1.多项选择题When backing up a replication slave, which three should also be backed up in addition to data?()

A.The master.info and relay.info files
B.The relay log files
C.The relay index file
D.Mysql.slave_master_info table
E.Mysql.slave_relay_log_info table
F.Mysql.slave_worker_info table

2.单项选择题User A issues the command: LOCK TABLES pets READ; Which command can User B execute against the pets table?()

A.UPDATE pets…
B.SELECT….FROM pets
C.INSERT INTO pets…
D.ALTER TABLE pets…

3.单项选择题You are using CTIDS in replication. You need to skip a transaction with the CTID of aaa-bbb-cccddd-eee : 3 on a slave. Which command would you execute from a Mysql prompt?()

A.STOP SLAVE; SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; START SLAVE
B.STOP SLAVE; BEGIN; SET GTID_IGNORE="aaa-bbb-ccc-ddd-eee: 3"; COMMIT; START SLAVE
C.STOP SLAVE; SETGTID_NEXT="aaa-bbb-ccc-ddd-eee: 3"; BEGIN; COMMIT; SET GTID_NEXT="AUTOMATIC"; START SLAVE
D.STOP SLAVE; RESET SLAVE; BEGIN; SKIP NEXT GTID; COMMIT; START SLAVE

4.多项选择题Which two statements are true regarding partitioning in Mysql?()

A.Tables with BLOB and TEXT columns cannot be partitioned
B.Partitioning allows easier management of smaller data sets for certain queries
C.Partitioning allows different columns to be stored in separate files
D.The partitioning expression is an integer or function that returns an integer value or NULL value
E.Partitioning is only available for those storage engines that implements it natively

6.多项选择题

A Mysql instance is running on a dedicated server. Developers access the server from the same network subnet. Users access the database through an application that is running on a separate server in a DMZ.
Which two will optimize the security of this setup?()
 

A.Disabling connections from named pipes or socket files (depending on the operating system of the server)
B.Enabling and using SSL for connections to the Mysql database
C.Installing Mysql on the application server, and running the database and application on the same server
D.Starting the server with – bind- address=0.0.0.0 specified
E.Running the server with – skip-networking specified
F.Limiting logins to originate from the application server or the server's subnet'

7.多项选择题

The InnoDB engine has a feature known as clustered indexes.
Which three statements are true about clustered indexes as used in InnoDB?()

A.A primary key must exist for creation of a clustered index
B.A clustered index allows fulltext searching within InnoDB
C.The first unique index is always used as a clustered index and not a primary key
D.A clustered index provides direct access to a page containing row data
E.If no indexes exist, a hidden clustered index is generated based on row IDs
F.A primary key is used as a clustered index
G.A clustered index is a grouping of indexes from different tables into a global index for faster searching

8.多项选择题Which two events will cause a slave server to create a new relay log file?()

A.Execution of the FLUSH LOGS statement
B.Starting of the SQL thread
C.Reaching the slave_pendign _jobs_size_max limit
D.Execution of FULSH TABLES WITH READ LOCK
E.Starting of the I/O thread

9.单项选择题

You want to start monitoring statistics on the distribution of storage engines that are being used and the average sizes of tables in the various databases.
Some details are as follows:
The Mysql instance has 400 databases. Each database on an average consists of 25-50 tables. You use the query:
SELECT TABLE_SCHEMA, 'ENGINE', COUNT (*), SUM(data_length) total_size FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE= 'BASE TABLE' GROUP BY TABLE_SCHEMA, 'ENGINE' ;
Why is this query slow to execute?()

A.Collecting information requires large numbers of locks on various INFORMATION_SCHEMA tables
B.Aggregating details from various storage engine caches for the final output is time consuming
C.Collecting information requires various disk-level operations and is time consuming
D.Counting and summarizing all table pages in the InnoDB shared tablespace is time consuming

10.多项选择题Which two are correct steps in taking a binary backup of MyISAM tables?()

A.Always stop the server prior to the backup
B.Stop the server or lock the tables prior to the backup
C.Stop the server or lock the databases prior to the backup
D.Make a copy of the .frm, .myd, and the .myi files
E.Make a copy of the binary log and tablespace files

最新试题

Which three statements are true about memory buffer allocation by a MySQL Server?()

题型:多项选择题

Consider the following:Which statement best describes the meaning of the value for the key_len column?()

题型:单项选择题

Which three methods will show the storage engine for the Country table?()

题型:多项选择题

You need to dump the data from the master server and import it into a new slave server.Which mysqldump option can be used when dumping data from the master server in order to include the master server's binary log information?()

题型:单项选择题

Which two statements are true about setting the per-thread buffers higher than required?()

题型:多项选择题

Compare a typical Distributed Replicated Block Device (DRBD) with MySQL Standard Replication using master-slave replication. Which two statements are correct?()

题型:多项选择题

You have taken a Logical Volume Manager (LVM) snapshot backup of a volume that contains the MySQL data directory. Why is it important to remove snapshots after completing a RAW backup in this way?()

题型:单项选择题

Which statement is true about the log-output variable?()

题型:单项选择题

You adjust a default configuration to the following /etc/my.cnf on a Linux installation:[mysqld] Loq-bin Binrylog_format=ROW You do not notice the spelling error in binrylog_format and restart your production server. How does the MySQL server behave with incorrectly spelled options?()

题型:单项选择题

You need to replicate a table from a master to a slave. The master and slave copies of the table will have different number of columns.Which two conditions must be true?()

题型:多项选择题