mysql8.0英文OCP考试第61-70题

Q61.You wish to protect your MySQL database against SQL injection attacks.

Which method would fail to do this?

A)using stored procedures for any database access

B)using PREPARED STATEMENTS

C)installing and configuring the Connection Control plugin ( slow down brute force attacks

D)avoiding concatenation of SQL statements and user-supplied values in an application

Answer:C

Q62.Which two statements are true about MySQL server multi-source replication?

A)It relies on relay_log_recovery for resilient operations.   

B)It does not attempt to detect or resolve replication conflicts.

C)It needs to be re-instanced after a crash to maintain consistency.

D)It is not compatible with auto-positioning.

E)It must use GTID replication.

F)It uses only time-based replication conflict resolution.

Answer:AB

Q63.You are using an existing server with a new configuration. MySQL Server fails to start. Examine this snapshot of the error log:

190925 12:49:05 InooDB;  Initializing buffer pool,size=3.0G

190925 12:49:05 InooDB;  Completed Initializing of buffer poo

InnoDB:Error:log file ./ib_logfiiel0 is of different size 0 5242880 bytes

InnoDB than specified in the .cnf fiel 0 26214400 bytes 1

190925 12:49:05 [ERROR] Plugin ‘InnoDB’ init  function returned error.

190925 12:49:05 [ERROR] Plugin ‘InnoDB’registation as a STORAGE PNGINR failed

190925 12:49:05 [ERROR] Plugin ‘Aborting

190925 12:49:05 [ERROR] Plugin ‘/usr/sbin/mysqld:Shutdown complete

Which action would allow the server to start?

A)Remove ib_logfile0 and ib_logfile1 files from the file system.

B)Execute mysqladmin flush-logs.</

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值