考试题量:85
通过分数:62%
官方考试说明:https://education.oracle.com/产品目录-ouexam-pexam_1z0-908/pexam_1Z0-908

Q1.Examine this command, which executes successfully:
mysqlbackup --user=dba --password --port=3306 --with-timestamp --backup- dir=/export/backups backup-and-apply-log
Which statement is true?
A)The backup accesses the MySQL server files by using a pre-existing connection.
B)The database server is put into a read-only state for the duration of the backup. C)An offline backup of InnoDB tables is taken.
D)The backup can be impacted when DDL operations run during the backup.
Answer:D
参见《MySQL8.0 for Database Administrators studentGuide 2》243页
While the non-InnoDB backup runs:
— Prior to version 8.0.16, the database cannot be modified
— As of version 8.0.16, only non-InnoDB tables cannot be modified and InnoDB tables allow DML operations but not DDL operations

Q2.You reconfigure and start a slave that was not replicating for several days.
The configuration file and CHANGE MASTER command are correct. Examine the GTID information from both master and slave:

Master:
Gtids_executed:
aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-321,
bbbbbbbb-bbbb-bbbb-bbbbbbbbbbbb:1-50,
Cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237Gtids_purged: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-100,
bbbbbbbb-bbbb-bbbb-bbbbbbbbbbbb:1-10,
cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237Slave:
Gtids_executed:
aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-160,
cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237Gtids_purged: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-70,
cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237

Which statement is true?
A)Replication will fail because the master does not have the required transaction with bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb GTIDs in its binary logs.
B)Replication will fail because the master has already purged transactions with cccccccc-cccc-cccc-cccc-cccccccccc GTIDs.
C)Replication will fail because of inconsistent numbers in cccccccc-cccc-cccc-cccc-cccccccccccc GTIDs.
D)Replication will fail because the slave has purged more aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa transactions than the master.
E)Replication will work.
Answer:A

Q3.Which two authentication plugins require the plain text client plugin for authentication to work?
A)Windows Native authentication B)PAM authentication
C)LDAP SASL authentication D)LDAP authentication E)SHA256 authentication F)MySQL Native Password
Answer:BD
https://dev.mysql.com/doc/refman/8.0/en/cleartext-pluggable-authentication.html

Q4.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)error log
B)slow query log
C) general query log
D)binary log
E)audit log
Answer:D

Q5.You have an installation of MySQL 8 on Oracle Linux. Consider the outputs:

Mysql>SHOW GLOBAL VARIABLES
WHERE Varisble_name=’tmpdir‘ OR Variable_name =’ tmp_table_size;
+------------------+-----------+
| Variable_name |Value |
+------------------------+-----+
|tmp_tabe_size | 16777216|
|tmpdir | /tmp |
+-------------------+----------+
Shell>cd/var/lib/mysql Shell>ls -1|grep temp
Drwxr-x---.2 mysql mysql 4096 Dec 11 14:05 #innodb_temp

Which statement is true about disk temporary tables for this installation? A)Temporary tables are created in tmpdir only if configured to use MyISAM。 B)Temporary tables are created in tmpdir only after they reach tmp_table_size. C)Temporary tables will use the InnoDB temporary tablespace located in datadir. D)Only internal temporary tables from the optimizer will be created in tmpdir.
E)Temporary tables will use the InnoDB temporary tablespace located in /tmp. Answer:C
超过tmp_table_size 和max_heap_table_size最小值的临时表创建到磁盘上。 Tmpdir目录下创建的是临时文件,默认是/tmp
InnoDB用户创建的临时表和磁盘上的内部临时表是在MySQL数据目录中名为ibtmp1的临 时表空间文件中创建的,是全局临时表空间。#innodb_temp 目录下是会话临时表空间 参见官方文档: 15.6.3.5 Temporary Tablespaces 在另外一个题库里选两个,就加上A。

Q6.Which two actions will secure a MySQL server from network-based attacks?
A)Use MySQL Router to proxy connections to the MySQL server.
B)Place the MySQL instance behind a firewall.
C)Use network file system (NFS) for storing data.
D)Change the listening port to 3307.
E)Allow connections from the application server only.
Answer:BE

关于作者

姚远:Oracle ACE(Oracle和MySQL数据库方向 http://apex.oracle.com/pls/apex/aces/d/yuan.yao),华为云MVP,曾任IBM公司数据库部门经理。拥有包括Oracle 10g和12c OCM在内的20多项数据库相关技术认证,数据库类畅销书《MySQL 8.0运维与优化》的作者。
需要更多OCP认证考试资料的请加我的微信

MySQL 8.0 OCP 1Z0-908认证考试题库1相关推荐

  1. mysql 1z0_MySQL 8 OCP(1Z0-908)认证考试题库原题(第10题)

    Mysql 8.0 OCP认证考试原题题库整理(CUUG内部资料)-第10题 Choose the best answer. Examine these commands, which execute ...

  2. mysql ocp 认证 题库_MySQL 8 OCP(1Z0-908)认证考试题库原题(第10题)

    Mysql 8.0 OCP认证考试原题题库整理(CUUG内部资料)-第10题 Choose the best answer. Examine these commands, which execute ...

  3. mysql ocp 认证 题库_MySQL 8 OCP(1Z0-908)认证考试题库原题(第12题)

    Mysql 8.0 OCP认证考试原题题库整理(CUUG内部资料)-第12题 Choose the best answer. You plan to upgrade your MySQL 5.7 in ...

  4. mysql认证题库_MySQL 8 OCP(1Z0-908)认证考试题库原题(第11题)

    Mysql 8.0 OCP认证考试原题题库整理(CUUG内部资料)-第11题 Choose the best answer. You have upgraded the MySQL binaries ...

  5. 【MySQL 8.0 OCP 1Z0-908认证考试】 题库精讲--第一讲mysqlbackup

    第一讲--mysqlbackup专题 完整版题库请到我的资源中下载,此为传送门.https://download.csdn.net/download/kanon_lgt/85010419?spm=10 ...

  6. MySQL 8.0 OCP(1Z0-908)中文题库解析

    作者介绍:姚远,Oracle ACE(Oracle和MySQL数据库方向),华为云MVP,<MySQL 8.0运维与优化>的作者.中国第一个Oracle高可用大师,拥有包括 Oracle ...

  7. 一站到底题库 mysql_MySQL 8 OCP(1Z0-908)认证考试题库原题(第12题)

    Mysql 8.0 OCP认证考试原题题库整理(CUUG内部资料)-第12题 Choose the best answer. You plan to upgrade your MySQL 5.7 in ...

  8. MySQL 8.0 OCP (1Z0-908)有中文考试了

    MySQL 8.0 OCP (1Z0-908)有中文考试了,英文绝缘体的同学有福了!这里介绍一下整个报考流程. 文章目录 注册vue和oracle帐号 填写补充资料 使用Oracle的Certview ...

  9. 腾讯云TCA运维认证考试题库

    腾讯云TCA运维认证考试题库 9.(1.0分)公司A的用户创建了一个存储桶,并在根目录下放置了一张图片,将该图片嵌入公司站点首页www.example.com,公司B由于不想付流量费用,通过引用该图片 ...

  10. linux 认证考试 题库,Linux认证考试题库及答案

    1.一个文件的'权限是-rw-rw-r--,这个文件所有者的权限是什么() a.read-only b.read-write c.write 答案 b 2.下面哪个值代表多用户启动() a.1 b.0 ...

最新文章

  1. OSPF分解试验部分-LAB7:NSSA区域
  2. GIS空间数据结构 - 矢量和栅格
  3. 从程序员到CTO都应该了解的一些技术趋势
  4. 两条平行导线同向电流_电磁学(9)——磁场对电流的作用,安培力
  5. tab翻页导致的问题
  6. abc类ip地址_通信网络的IP地址分配原理
  7. aix linux运维,运维老司机分享的八个AIX日常运维经验及案例
  8. python读取xml文件内容显示不全_python读取xml文件时的问题
  9. SAP License:OB52等与Client状态相关的前台操作
  10. django的配置文件字符串是怎么导入的?
  11. Cisco路由器配置dhcp服务器
  12. 基于WordNet的英文同义词、近义词相似度评估及代码实现
  13. Python对遥感影像重采样,以及重采样方法
  14. 服务器cpu和磁盘规律毛刺问题排查
  15. Linux内核编译依赖
  16. Jetson Nano 硬件相关
  17. 20180402-A · US Tuition Costs · ggplot2, 折线图 · R 语言数据可视化 案例 源码
  18. 云之讯手机号短信验证
  19. RPC服务器不可用解决方法汇集
  20. Matlab T型速度规划

热门文章

  1. Gallery3d 学习笔记(14)
  2. 微信小程序购物车商品单选、多选、数量变化、结算等
  3. 社交礼仪与口才艺术 艾跃进
  4. (一)音视频:解码H264文件流程 渲染和拿到解码后源数据YUV 完整Demo
  5. python和java md5加密,如何将javamd5加密代码移植到Python中?
  6. delphi(注入)附部分源代码
  7. 九、ISO 27000 术语定义及相关资料
  8. 中达优控触摸屏编程视频教程_中达优控触摸屏编程软件下载
  9. Cow Roller Coaster
  10. 大写金额用计算机简单些,大写一到十怎么写 数字一到十的大写怎么写(开票用的大写)...