没有合适的资源?快使用搜索试试~ 我知道了~
首页MySQL85题版本1z0-888.pdf
MySQL85题版本1z0-888.pdf
5星 · 超过95%的资源 需积分: 32 24 下载量 84 浏览量
更新于2023-03-16
评论 4
收藏 682KB PDF 举报
最新的MySQL 5.7题库,85题最新版,考MySQL 5.7 OCP的必看。
资源详情
资源评论
资源推荐
NO.1 To satisfy a security requirement, you have created or altered some user accounts to include
REQUIRE X509.
Which additional task needs to be performed for those user accounts to fulfill the requirement to use
X509?
A. Install the X509 plug-in on the server.
B. Set the X509 option in the [client] section of the MySQL server's configuration file.
C. Restart the server with the --require-x509 option.
D. Distribute client digital certificates to the client computers being used to log in by the user
accounts.
E. Provide users access to the server's private key.
Answer: B
NO.2 A master-slave replication setup has the slave showing this error:
On the master server, the binary logs show:
What could explain this error? (Choose two.)
A. binlog_cache_size=1024 is too small and transactions are lost.
B. binlog_format=STATEMENT and a non-deterministic query was executed.
C. enforce_gtid_consistency=ON and consistency is broken between the master and the slave.
D. The sync_relay_log=1000 setting on the slave is too small.
E. sync_binlog=0 and the master server crashed.
Answer: A,C
NO.3 You attempt to connect to a MySQL Server by using the mysql client program. However, you
receive this notice:
What would you run to fix the issue?
A. the mysql_upgrade script
B. the mysql client with the --ignore-password-hashing option
C. the mysql_secure_installation script to update server security settings
D. the mysql client with the --enable-cleartext-plugin option
E. the install plugin command for the mysql_cleartext_password plugin
Answer: C
Reference: http://planet.mysql.com/entry/?id=34077
IT Certification Guaranteed, The Easy Way!
2
NO.4 You are using the Performance Schema to investigate replication on a slave which has a single
master. The option slave-parallel-type is set to DATABASE.
Assume that all instruments and consumers are enabled and all threads are instrumented.
Which two facts can be concluded from the given output?
A. The salve has two intermediate relay slaves connected to it.
B. The slave is configured with slave_parallel_workers = 4
C. At most, two schemas are being updates concurrently.
D. THREAD_ID 21 has stopped running.
E. The slave cannot process the relay log fast enough to use all threads.
F. The server needs more cores to use all slave threads.
Answer: B,E
NO.5 One of your colleagues is trying to make a change using the mysql command-line client for his
or her application session.
The colleague instant messages you this command:
mysql> SET SESSION max_connections = 200;
Why does the command fail?
A. max_connections requires the GLOBAL scope.
B. Its current user does not have the SUPER privilege.
C. max_connections is not a dynamic variable. You need to change the config file and restart the
database.
IT Certification Guaranteed, The Easy Way!
3
D. Users can control only the max_user_connections variable.
Answer: A
NO.6 You have a consistent InnoDB backup created with mysqldump, the largest table is 50 GB in
size.
You start to restore your backup with this command;
shell> mysql -u root -p < backup.sql
After 30 minutes, you notice that the rate of restore seems to have slowed down. No other processes
or external factors are affecting server performance.
Which is the most likely explanation for this slowdown?
A. The MySQL server has stopped inserting data to check index consistency.
B. InnoDB is doing CRC32 checks over the tablespace data as it grows.
C. The MySQL server is taking a periodical snapshot of data so it can resume the restore if it is
interrupted mid-way.
D. InnoDB has filled the redo log and now must flush the pages.
E. Secondary indexes no longer fit into the buffer pool.
Answer: A
NO.7 After analysis on the slow query log on a high-end OLTP service, the table identified in the slow
queries is:
What are the two most likely reasons for the slowness given this output?
A. Date should be a TIMESTAMP field for better performance.
B. The User field is too long for most names.
C. The engine type is not appropriate to the application use.
D. Using default values for DATETIME causes table scans.
E. No indexes are defined.
Answer: C,E
NO.8 An admin attempts to enforce stronger security by using these commands:
IT Certification Guaranteed, The Easy Way!
4
The admin then leaves the system running with the specified changes. What are two remaining
security concerns?
A. validate_password_policy cannot be set without restarting the MySQL instance.
B. The name of the dictionary file is too obvious.
C. The dictionary file word list is too short.
D. validate_password_dictionary_file cannot be set without restarting the MySQL instance.
E. The validate_password plug-in has not been loaded.
F. The dictionary file is an insecure location.
Answer: B,F
NO.9 These details are shown when logged in to an account:
Which set of statements would match the accounts shown?
A. mysql> CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets'; mysql> CREATE USER
''@'' IDENTIFIED BY 'valid_password' WITH PROXY
IT Certification Guaranteed, The Easy Way!
5
'employee'@'localhost';
B. mysql> CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets'; mysql> GRANT PROXY
ON 'employee'@'localhost' TO 'robert'@'localhost';
C. mysql> CREATE USER 'robert'@'localhost' IDENTIFIED BY 'secret_password'; mysql>CREATE USER
'employee'@'localhost' IDENTIFIED BY 'more_secrets';
D. mysql> CREATE_USER ''@'' IDENTIFIED WITH authentication_pam ACCOUNT
LOCK;
mysql> CREATE USER 'employee'@'localhost' IDENTIFIED BY 'more_secrets'; mysql> GRANT PROXY
ON 'employee'@'localhost' TO ''@'';
Answer: D
NO.10 You have a MySQL instance with the following variables in the /etc/my.cnf file:
You issue these statements:
USE prices;
UPDATE sales.january SET amount=amount+1000;
An hour after excluding the statements, you realize that you made a mistake and you want to go to
the binary log and look at the statements again.
Which statement is true? (Choose two.)
A. You would receive an error on the statement because you cannot update a different database that
what is specified with the USE statement.
B. The changes caused by the UPDATE statement are logged to the binary log because the instance is
using --binlog-format = ROW
C. The statement would fail because you cannot update more than one row at a time when using -
binlogformat = ROW.
D. Nothing is logged because you are executing an UPDATE statement that will cause changes to
more than one row, and you do not have the --binlog-format value set to STATEMENT.
E. Nothing was written to the binary log because you cannot perform a calculation in a query without
enclosing the statement in single quotation marks.
Answer: D,E
NO.11 On a master server that is using statement-based replication, a table of log data has become
very large. You decide to delete 100.000 rows.
Which two methods can be independently invoked to ensure that the delete is properly propagated
to the slave? (Choose two.)
A. Change the replication mode to mixed before issuing any delete statements when the limit clause
is used.
B. If the data modification is non-deterministic, the query optimizer will resolve any potential issues.
IT Certification Guaranteed, The Easy Way!
6
剩余31页未读,继续阅读
yejinhe1986
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2023年中国辣条食品行业创新及消费需求洞察报告.pptx
- 2023年半导体行业20强品牌.pptx
- 2023年全球电力行业评论.pptx
- 2023年全球网络安全现状-劳动力资源和网络运营的全球发展新态势.pptx
- 毕业设计-基于单片机的液体密度检测系统设计.doc
- 家用清扫机器人设计.doc
- 基于VB+数据库SQL的教师信息管理系统设计与实现 计算机专业设计范文模板参考资料.pdf
- 官塘驿林场林防火(资源监管)“空天地人”四位一体监测系统方案.doc
- 基于专利语义表征的技术预见方法及其应用.docx
- 浅谈电子商务的现状及发展趋势学习总结.doc
- 基于单片机的智能仓库温湿度控制系统 (2).pdf
- 基于SSM框架知识产权管理系统 (2).pdf
- 9年终工作总结新年计划PPT模板.pptx
- Hytera海能达CH04L01 说明书.pdf
- 数据中心运维操作标准及流程.pdf
- 报告模板 -成本分析与报告培训之三.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1