- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
MySQL 5.7 OCP 考试习题大全
Question: 1
A MySQL database uses all InnoDB tables and is configured as follows: shellcat/ etc/ f
[mysqld] log-bin server-id=1
You will be setting up a replication slave by using mysqldump. You will need a consistent backup taken from your running production server. The process should have minimal impact to active database connections.
Which two arguments will you pass to mysqldump to achieve this? A.--skip-opt
B.--lock-all-tables C.--create-apply-log
D.--single-transaction E.--master-data Answer: DE
Question: 2
Consider the key buffer in a MySQL server. Which two statements are true about this feature? A.It caches index blocks for MyISAM tables only.
It caches index blocks for all storage engine tables.
It is a global buffer.
It is set on a per-connection basis.
It caches index blocks for InnoDB tables only. Answer: A,C
Question: 3
You have a MySQL replication setup and you intentionally stop the SQL thread on the slave. mysql SHOW SLAVE STATUS\ G
...
Slave_IO_Running: Yes Slave_SQL_Running: No
What are two reasons that you may stop the SQL thread on the slave while keeping the I/ O thread running?
to allow the remaining events to be processed on the slave while not receiving new events from the master
to allow a backup to be created under reduced load
to allow for point-in-time recovery on the slave
to prevent schema changes from propagating to the slave before they are validated
to prevent any transaction experiencing a deadlock Answer: C,D
Question: 4
Which three statements correctly describe MySQL InnoDB Cluster?
The cluster can be operated in multimaster mode with conflict detection for DML statements.
All MySQL client programs and connectors can be used for executing queries.
It provides fully synchronous replication bentowdeeesn. the
There is support for automatic failover when foanielsn.ode
The data is automatically shared between the nodes.
Each query will be executed in parallel across the nodes. Answer: ABD
Question: 1
A MySQL da
本司主营文章撰写、培训教材、合同协议、发言稿、策划、汇报、各类文案。 ~ 海量资深编辑老师无缝对接,一对一服务。 ~ 保原创!可加急!免费改!
原创力文档


文档评论(0)