Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > 其他操作系统 > 关于一些NTP的问题
【标  题】:关于一些NTP的问题
【关键字】:NTP
【来  源】:http://www.cublog.cn/u/24312/showart.php?id=243932

关于一些NTP的问题

Your Ad Here

Question 1

How often do NTP servers advertise on the network?

  • A. Every minute

  • B. Every 5 seconds

  • C. Every 15 seconds

  • D. Every 64 seconds

A1:

Answer D is correct because NTP servers advertise every 64 seconds. This obviously makes A, B, and C incorrect.

Question 2

You are configuring an NTP client. Which template file will you copy to become your configuration file?

  • A. /etc/inet/ntp.keys

  • B. /etc/inet/ntp.client

  • C. /var/ntp/ntp.drift

  • D. /etc/inet/ntp.conf

A2:

Answer B is correct because /etc/inet/ntp.client is the template file that you would copy to create the configuration file. Answer A is incorrect because /etc/inet/ntp.keys is the file used to contain authentication entries and is not a template file for NTP client configuration. Answer C is incorrect because /var/ntp/ntp.drift is the default location for the drift file. Answer D is incorrect because the /etc/inet/ntp.conf file is the location of the configuration file, that is, where the template file is copied to, by default. This file does not exist until the correct template file is copied to create it.

Question 3

Which of the following are valid uses for NTP? Choose 2.

  • A. A billing system

  • B. Encryption and key management

  • C. A personnel database

  • D. Creating a new user account

A3:

Answers A and B are correct because a billing system might be charging customers by the second (or less) and needs to be very accurate. Also, NTP is used in encryption because the timestamp is often used as part of the key to encrypt a message. Answers C and D are incorrect because they are not time-critical applications and do not rely on accurate clocks as part of their functionality.

Question 4

What is the name of the NTP daemon that runs on NTP servers and clients?

  • A. ntpq

  • B. xntpdc

  • C. xntpd

  • D. /etc/init.d/xntpd

A4:

Answer C is correct because xntpd is the daemon process that controls NTP. Answer A is incorrect because ntpq is a utility used to query NTP servers. Answer B is incorrect because xntpdc is a utility used to query the xntpd daemon. Answer D is incorrect because /etc/init.d/xntpd is the startup script that starts and stops xntpd.

Question 5

On a running NTP server, which file would you edit to change the location of the drift file?

  • A. /etc/inet/ntp.server

  • B. /etc/inet/ntp.conf

  • C. /var/ntp/ntp.drift

  • D. /etc/inet/ntp.client

A5:

Answer B is correct because the file /etc/inet/ntp.conf is the configuration file that is created when the NTP server is initially configured and contains an entry that defines the drift file's location. Of course, after changing the file, the NTP server would have to be restarted. Answer A is incorrect because /etc/inet/ntp.server is the template file that is copied to /etc/inet/ntp.conf to configure an NTP server. Answer C is incorrect because /var/ntp/ntp.drift is the default location for the drift file, which is specified in the configuration file. Answer D is incorrect because /etc/inet/ntp.client is the template file that is copied to /etc/inet/ntp.conf to configure an NTP client.

Question 6

At which run level does NTP get started?

  • A. S

  • B. 1

  • C. 2

  • D. 3

A6:

Answer C is correct because NTP is started at run level 2. The startup script is located in /etc/rc2.d/S74xntpd.

Question 7

Which command is used to query the NTP process and can also turn on the debugging facility?

  • A. ntpq

  • B. xntpdc

  • C. xntpd

  • D. ntpdate

A7:

Answer B is correct because the xntpdc command is used to query the NTP daemon process, xntpd. Answer A is incorrect because the ntpq command is used to query an NTP server, not the running daemon process for a particular server. Answer C is incorrect because xntpd is the NTP daemon process that is queried when you run xntpdc. Answer D is incorrect because ntpdate is used by an NTP client to initially obtain the time from an NTP server when the client starts up.

Question 8

There are four NTP servers present on your network, and each is configured with a different stratum level between 1 and 4. Which stratum level is deemed the most reliable?

  • A. 1

  • B. 2

  • C. 3

  • D. 4

A8:

Answer A is correct because the lower the stratum level, the more reliable the clock. Stratum level 0 servers are normally reference sources, such as a GPS signal. A stratum level 1 server would normally be directly connected to a reference source.

FreeBSD下用mrtg监控本机流量、内存、cpu使用率、整网流量:【上一篇】
操作数组导致的宕机:【下一篇】
【相关文章】
  • SVNParentPath和SVNPath 关于accessfile的区别
  • Frontpage被微软淘汰了,还是被市场?
  • ntpdate
  • NTP Config Guide
  • 安装 FrontPage 服务器扩展(FPSE)
  • Linux NTP服务器搭建
  • 让FreeBSD使用ntpd同步时间
  • ntp服务的配置
  • FreeBSD NTP 简单使用
  • FrontPage 2000 WEB 扩展客户端 安装失败
  • 【随机文章】
  • 用 Preferences API 存储对象
  • 使用word大纲视图
  • 用asp.net实现将上传的图片变小存入数据库
  • [设计模式]单态学习笔记
  • 游戏开发技巧三
  • To handle Unhandled Exception
  • IBM虚拟带库的配置
  • 入侵检测技术综述(5)
  • 今天又去见客户了
  • TRY CATCH妙用
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.