RedHat Red Hat Certified Engineer - RHCE (RHCE Korean Version) - RHCE Korean Exam Practice Test

Question 1
올바른 텍스트
웹 서비스를 구성하려면 http://instructor.example.com/pub/serverX.html에서 다운로드하세요. 시스템을 재부팅한 후에도 서비스가 계속 실행되어야 합니다.
Correct Answer:
cd/var/www/htmlwgethttp://instructor.example.com/pub/serverX.htmlmvserverX.htmlindex.html/etc/init.d/httpdrestartchkconfighttpdon
Question 2
올바른 텍스트
NFS 서비스를 구성하세요. NFS 공유 서비스를 통해 디렉터리를 공유하세요.
Correct Answer:
/etc/init.d/rpcbindstart/etc/init.d/nfslockstart/etc/init.d/nfsstartchkconfigrpcbindonchkconfignfslockonchkconfignfsonshowmount-elocalhost
Question 3
올바른 텍스트
부팅 시 자동으로 적용되는 2G 스왑 파티션을 생성하면 원래 스왑 파티션에 영향을 미치지 않습니다.
Correct Answer:
#fdisk/dev/sdap(checkPartitiontable)n(createnewpartition:pressetocreateextendedpartitionpressptocreatethemainpartitionandtheextendedpartitionisfurtherdividedintologicalpartitions)Enter+2Gt8I82Wpartx-a/dev/sdapartprobemkswap/dev/sda8CopyUUIDswapon-avim/etc/fstabUUID=XXXXXswapswapdefaults00(swapon-s)
Question 4
올바른 텍스트
시스템 관리자입니다. 로그 파일을 사용하면 시스템을 매우 쉽게 모니터링할 수 있습니다. 현재 메일, 웹, 프록시, DNS 서비스 등으로 50대의 서버가 운영되고 있습니다. 모든 서버의 로그를 LOG 서버로 중앙 집중화하려고 합니다.
원격 호스트에서 로그를 수신하도록 LOG 서버를 어떻게 구성하시겠습니까?
Correct Answer:
Bydefaultsystemacceptthelogsonlygeneratedfromlocalhost.ToaccepttheLogfromotherhostconfigure:vi/etc/sysconfig/syslogSYSLOGD_OPTIONS="-m0-r"Where-m0disables'MARK'messages.-renablesloggingfromremotemachines-xdisablesDNSlookupsonmessagesreceivedwith-rservicesyslogrestart
Question 5
올바른 텍스트
당신은 새로운 시스템 관리자이며, 지금부터 시스템을 관리하게 됩니다. 주요 업무는 네트워크 모니터링, 백업 및 복원입니다. 하지만 루트 비밀번호를 모르시겠습니까? 루트 비밀번호를 redhat으로 변경하고 기본 실행 레벨로 로그인하세요.
Correct Answer:
WhenyouBoottheSystemitstartsondefaultRunlevelspecifiedin/etc/inittab:Id:?:initdefault:WhenSystemSuccessfullybootitwillaskforusernameandpassword.Butyoudon'tknowtheroot'spassword.Tochangetherootpasswordyouneedtobootthesystemintosingleusermode.Youcanpassthekernelargumentsfromthebootloader.1.RestarttheSystem.2.YouwillgetthebootloaderGRUBscreen.3.Pressaandtype1orsforsinglemoderoroot=LABEL=/rhgbqueits4.SystemwillbootonSingleUsermode.5.Usepasswdcommandtochange.6.Pressctrl+d
Question 6
올바른 텍스트
다음 요구 사항에 따라 로컬 디렉토리 /common/admin을 생성합니다.
이 디렉토리에는 admin 그룹이 있습니다.
이 디렉토리는 모든 관리자 그룹 구성원에게 읽기, 쓰기, 실행 권한을 부여합니다.
다른 그룹과 사용자에게는 아무런 권한이 없습니다.
/common/admin에 생성된 모든 문서나 디렉토리는 자동으로 admin 그룹을 상속받습니다.
Correct Answer:
mkdir-p/common/adminchgrpadmin/common/adminchmod2770/common/admin
Question 7
올바른 텍스트
사용자 소유자와 그룹 소유자 멤버만 전체에 접근할 수 있는 데이터를 만듭니다.
Correct Answer:
chmod770/data
Verifyusing:ls-ld/dataPreviewshouldbelike:drwxrwx---2rootsysadmin4096Mar1618:08/dataTochangethepermissionondirectoryweusethechmodcommand.Accordingtothequestionthatonlytheowneruser(root)andgroupmember(sysadmin)canfullyaccessthedirectoryso:chmod770/data
Question 8
올바른 텍스트
/usr/share/dict/words 파일에서 seismic 문자열이 포함된 모든 줄을 찾습니다. 이 모든 줄을 원래 순서대로 /root/wordlist 파일에 복사합니다. /root/wordlist 파일에는 빈 줄이 없어야 하며, 모든 줄은 /usr/share/dict/words 파일의 원본 줄과 정확히 일치해야 합니다.
Correct Answer:
grepseismic/usr/share/dict/words>/root/wordlist