当前位置:网站首页>MySQL 8.0 OCP 1z0-908 certification examination question bank 1
MySQL 8.0 OCP 1z0-908 certification examination question bank 1
2022-07-26 08:35:00 【YaoYuan ace】
Examination questions :85
Through the score :62%
Official examination instructions :https://education.oracle.com/ Product catalog -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
See 《MySQL8.0 for Database Administrators studentGuide 2》243 page
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-1237
Gtids_purged: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-100,
bbbbbbbb-bbbb-bbbb-bbbbbbbbbbbb:1-10,
cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237
Slave:
Gtids_executed:
aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1-160,
cccccccc-cccc-cccc-cccc-cccccccccccc:1234-1237
Gtids_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
exceed tmp_table_size and max_heap_table_size The minimum temporary table is created on disk . Tmpdir Temporary files are created under the directory , The default is /tmp
InnoDB The temporary table created by the user and the internal temporary table on the disk are in MySQL Data directory named ibtmp1 The presence of Created in the time table space file , Is the global temporary table space .#innodb_temp Under the directory is the session temporary table space See official documentation : 15.6.3.5 Temporary Tablespaces Choose two from the other question bank , Just add 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
need OCP Please add me to the certification examination materials qq Group
边栏推荐
- 【FreeSwitch开发实践】使用SIP客户端Yate连接FreeSwitch进行VoIP通话
- Mysql8 one master one slave +mycat2 read write separation
- JS工具函数大全
- 基于C语言设计的换乘指南打印系统
- Kotlin data type
- 监控用户积分变化的两种方式
- 1、 Redis data structure
- 2022-7-8 personal qualifying 5 competition experience (supplementary)
- Vscode domestic image server acceleration
- The full name of flitter IDFA is identity for advertisers, that is, advertising identifiers. It is used to mark users. At present, it is most widely used for advertising, personalized recommendation,
猜你喜欢

关于期刊论文所涉及的一些概念汇编+期刊查询方法

QT note 2

mysql函数汇总之日期和时间函数

Mysql8 dual master and dual slave +mycat2 read / write separation
![[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)](/img/25/475c91d7e673fda3930e5a69be0f28.png)
[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)
![[GUI] swing package (window, pop-up window, label, panel, button, list, text box)](/img/05/8e7483768a4ad2036497cac136b77d.png)
[GUI] swing package (window, pop-up window, label, panel, button, list, text box)

23.6 23.7 web environment web environment variable reading

Lesson 3: gcc compiler

Bee guitar score high octave and low octave
![[endnote] detailed explanation of document template layout syntax](/img/fd/2caf4ff846626411fe8468f870e66a.png)
[endnote] detailed explanation of document template layout syntax
随机推荐
23.10 Admin features
NLP (natural language processing) natural language processing learning
[time complexity, space complexity]
Random distribution learning notes
2022年收益率最高的理财产品是哪个?
If Yi Lijing spits about programmers
flink oracle cdc 读取数据一直为null,有大佬知道么
【时间复杂度空间复杂度】
有限元学习知识点备案
23.5 event listeners of application events and listeners
Redis进阶
Shell homework the next day
Kotlin中room数据库的使用
关于期刊论文所涉及的一些概念汇编+期刊查询方法
Common Oracle functions
Kotlin variables and constants
Flutter custom player progress bar
2022-024ARTS:最长有效括号
VIM cross line matching search
Special lecture 2 dynamic planning learning experience (should be updated for a long time)