RedHat Red Hat Certified Engineer - RHCE (RHCE Korean Version) - RHCE Korean Exam Practice Test
올바른 텍스트
논리 볼륨의 크기를 조정합니다.
vo 논리 볼륨의 크기를 조정하세요. 파일 시스템 크기는 290MB여야 합니다. 이 시스템의 내용이 완전한지 확인하세요.
참고: 파티션 크기는 필요한 크기와 정확히 일치하지 않는 경우가 많으므로 270M~320M 범위가 허용 가능합니다.
논리 볼륨의 크기를 조정합니다.
vo 논리 볼륨의 크기를 조정하세요. 파일 시스템 크기는 290MB여야 합니다. 이 시스템의 내용이 완전한지 확인하세요.
참고: 파티션 크기는 필요한 크기와 정확히 일치하지 않는 경우가 많으므로 270M~320M 범위가 허용 가능합니다.
Correct Answer:
Additiondf-hTlvextend-L+100M/dev/vg0/voLvscanxfs_growfs/home///homeisthemounteddirectoryoftheLVMthisstepjustneedtodointhepracticeenvironmentandtestEXT4doesnotneedthisstep.resize2fs/dev/vg0/vo//usethiscommandtoupdateinexamination.df-hTORSubtractione2fsck-f/dev/vg0/voumount/homeresize2fs/dev/vg0/vo//thefinalrequiredpartitioncapacityis100Mlvreduce-l100M/dev/vg0/vomount/dev/vg0/vo/homedf-hT
올바른 텍스트
http://station.domain40.example.com을 통해 접근할 수 있는 HTTP 서버를 구성합니다.
http://ip/dir/example.html 에서 공개된 페이지를 다운로드하세요.
http://station.domain40.example.com을 통해 접근할 수 있는 HTTP 서버를 구성합니다.
http://ip/dir/example.html 에서 공개된 페이지를 다운로드하세요.
Correct Answer:
#yuminstall-yhttpd
#chkconfighttpdon
#cd/var/www/html
#wgethttp://ip/dir/example.html
#cpexample.comindex.html
#vim/etc/httpd/conf/httpd.confNameVirtualHost192.168.0.254:80<VirtualHost192.168.0.254:80>DocumentRoot/var/www/html/ServerNamestation.domain40.example.com</VirtualHost>
#chkconfighttpdon
#cd/var/www/html
#wgethttp://ip/dir/example.html
#cpexample.comindex.html
#vim/etc/httpd/conf/httpd.confNameVirtualHost192.168.0.254:80<VirtualHost192.168.0.254:80>DocumentRoot/var/www/html/ServerNamestation.domain40.example.com</VirtualHost>
올바른 텍스트
시스템에서 ISO 이미지 /root/examine.iso를 /mnt/iso 디렉터리에 마운트하고, 시스템 재시작 후 자동 마운트(영구 마운트)를 활성화합니다.
시스템에서 ISO 이미지 /root/examine.iso를 /mnt/iso 디렉터리에 마운트하고, 시스템 재시작 후 자동 마운트(영구 마운트)를 활성화합니다.
Correct Answer:
mkdir-p/mnt/iso/etc/fstab:/root/examine.iso/mnt/isoiso9660loop00mount-amount|grepexamine
올바른 텍스트
커널을 2.6.36.7.1로 업그레이드하고, 기본 커널을 시작하도록 시스템을 구성하고, 기존 커널도 그대로 유지합니다.
커널을 2.6.36.7.1로 업그레이드하고, 기본 커널을 시작하도록 시스템을 구성하고, 기존 커널도 그대로 유지합니다.
Correct Answer:
#cat/etc/grub.conf
#cd/boot
#lftpit
#getdr/dom/kernel-xxxx.rpm
#rpm-ivhkernel-xxxx.rpm
#vim/etc/grub.confdefault=0
#cd/boot
#lftpit
#getdr/dom/kernel-xxxx.rpm
#rpm-ivhkernel-xxxx.rpm
#vim/etc/grub.confdefault=0
올바른 텍스트
100MB 크기의 스왑 파티션을 만드세요. 시스템 부팅 시 자동으로 사용 가능하게 설정하세요.
100MB 크기의 스왑 파티션을 만드세요. 시스템 부팅 시 자동으로 사용 가능하게 설정하세요.
Correct Answer:
Usefdisk/dev/hda->Tocreatenewpartition.
Typen->ForNewpartition
ItwillaskforLogicalorPrimaryPartitions.Presslforlogical.
ItwillaskfortheStartingCylinder:UsetheDefaultbypressingEnterKey.
TypetheSize:+100M->YoucanSpecifyeitherLastcylinderofSizehere.
PressPtoverifythepartitionslistsandrememberthepartitionsname.DefaultSystemIDis83thatmeansLinuxNative.
TypettochangetheSystemIDofpartition.
TypePartitionNumber
Type82thatmeansLinuxSwap.
Presswtowriteonpartitionstable.
EitherRebootorusepartprobecommand.
mkswap/dev/hda?->TocreateSwapFilesystemonpartition.
swapon/dev/hda?->ToenabletheSwapspacefrompartition.
free-m->VerifyEitherSwapisenabledornot.
vi/etc/fstab/dev/hda?swapswapdefaults00
ReboottheSystemandverifythatswapisautomaticallyenabledornot.
Typen->ForNewpartition
ItwillaskforLogicalorPrimaryPartitions.Presslforlogical.
ItwillaskfortheStartingCylinder:UsetheDefaultbypressingEnterKey.
TypetheSize:+100M->YoucanSpecifyeitherLastcylinderofSizehere.
PressPtoverifythepartitionslistsandrememberthepartitionsname.DefaultSystemIDis83thatmeansLinuxNative.
TypettochangetheSystemIDofpartition.
TypePartitionNumber
Type82thatmeansLinuxSwap.
Presswtowriteonpartitionstable.
EitherRebootorusepartprobecommand.
mkswap/dev/hda?->TocreateSwapFilesystemonpartition.
swapon/dev/hda?->ToenabletheSwapspacefrompartition.
free-m->VerifyEitherSwapisenabledornot.
vi/etc/fstab/dev/hda?swapswapdefaults00
ReboottheSystemandverifythatswapisautomaticallyenabledornot.
올바른 텍스트
eric이라는 사용자를 생성하고 대화형 로그인을 거부합니다.
eric이라는 사용자를 생성하고 대화형 로그인을 거부합니다.
Correct Answer:
useradderic
passwderic
vi/etc/passwd
eric:x:505:505::/home/eric:/sbin/nologinWhichshellorprogramshouldstartatlogintimeisspecifiedin/etc/passwdfile?BydefaultRedhatEnterpriseLinuxassignsthe/bin/bashshelltotheusers.Todenytheinteractiveloginyoushouldwrite/sbin/nologinor/bin/falseinsteadofloginshell.
passwderic
vi/etc/passwd
eric:x:505:505::/home/eric:/sbin/nologinWhichshellorprogramshouldstartatlogintimeisspecifiedin/etc/passwdfile?BydefaultRedhatEnterpriseLinuxassignsthe/bin/bashshelltotheusers.Todenytheinteractiveloginyoushouldwrite/sbin/nologinor/bin/falseinsteadofloginshell.
올바른 텍스트
다음 요구 사항에 따라 사용자, 사용자 그룹 및 그룹 구성원을 생성합니다.
- admin이라는 그룹.
- mary라는 사용자이고, admin이라는 보조 그룹에 속합니다.
- alice라는 이름의 사용자이며, 2차 그룹인 admin에 속합니다.
- bobby라는 사용자가 있는 경우, bobby의 로그인 셸은 비대화형이어야 합니다. Bobby는 보조 그룹인 admin에 속해서는 안 됩니다.
Mary, Alice, bobby 사용자는 사용자 비밀번호로 "password"를 설정해야 합니다.
다음 요구 사항에 따라 사용자, 사용자 그룹 및 그룹 구성원을 생성합니다.
- admin이라는 그룹.
- mary라는 사용자이고, admin이라는 보조 그룹에 속합니다.
- alice라는 이름의 사용자이며, 2차 그룹인 admin에 속합니다.
- bobby라는 사용자가 있는 경우, bobby의 로그인 셸은 비대화형이어야 합니다. Bobby는 보조 그룹인 admin에 속해서는 안 됩니다.
Mary, Alice, bobby 사용자는 사용자 비밀번호로 "password"를 설정해야 합니다.
Correct Answer:
groupaddadminuseradd-Gadminmaryuseradd-Gadminaliceuseradd-s/sbin/nologinbobbyecho"password"|passwd--stdinmaryecho"password"|passwd--stdinaliceecho"password"|passwd--stdinbobby
올바른 텍스트
커널을 업그레이드하고 기본적으로 새 커널을 시작합니다. 다음 주소에서 커널을 다운로드하세요:
ftp://server1.domain10.example.com/pub/update/new.kernel
커널을 업그레이드하고 기본적으로 새 커널을 시작합니다. 다음 주소에서 커널을 다운로드하세요:
ftp://server1.domain10.example.com/pub/update/new.kernel
Correct Answer:
Downloadthenewkernelfileandtheninstallit.[root@desktop8Desktop]#lskernel-2.6.32-71.7.1.el6.x86_64.rpmkernel-firmware-2.6.32-71.7.1.el6.noarch.rpm[root@desktop8Desktop]#rpm-ivhkernel-*Preparing...###########################################[100%]1:kernel-firmware###########################################[50%]2:kernel################
#[100%]Verifythegrub.conffilewhetherusethenewkernelasthedefaultboot.[root@desktop8Desktop]
#cat/boot/grub/grub.confdefault=0titleRedHatEnterpriseLinuxServer(2.6.32-71.7.1.el6.x86_64)root(hd00)kernel/vmlinuz-2.6.32-71.7.1.el6.x86_64roroot=/dev/mapper/vol0-rootrd_LVM_LV=vol0/rootrd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=uscrashkernel=autorhgbquietinitrd/initramfs-2.6.32-71.7.1.el6.x86_64.img
#[100%]Verifythegrub.conffilewhetherusethenewkernelasthedefaultboot.[root@desktop8Desktop]
#cat/boot/grub/grub.confdefault=0titleRedHatEnterpriseLinuxServer(2.6.32-71.7.1.el6.x86_64)root(hd00)kernel/vmlinuz-2.6.32-71.7.1.el6.x86_64roroot=/dev/mapper/vol0-rootrd_LVM_LV=vol0/rootrd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8SYSFONT=latarcyrheb-sun16KEYBOARDTYPE=pcKEYTABLE=uscrashkernel=autorhgbquietinitrd/initramfs-2.6.32-71.7.1.el6.x86_64.img
올바른 텍스트
시스템의 기본 소프트웨어 저장소를 구성합니다.
이미 하나의 YUM이 제공되어 http://server.domain11.example.com/pub/x86_64/Server에서 시스템을 구성하고 정상적으로 사용할 수 있습니다.
시스템의 기본 소프트웨어 저장소를 구성합니다.
이미 하나의 YUM이 제공되어 http://server.domain11.example.com/pub/x86_64/Server에서 시스템을 구성하고 정상적으로 사용할 수 있습니다.
Correct Answer:
Yum-config-manager--add-repo=http://content.example.com/rhel7.0/x86-64/dvd"istogenerateafilevimcontent.example.com_rhel7.0_x86_64_dvd.repoAddalinegpgcheck=0YumcleanallYumrepolistAlmost4305packagesarerightWrongYumConfigurationwillleadtosomefollowingquestionscannotbeworkedout.
올바른 텍스트
iptables를 구성합니다. 네트워크에 두 개의 도메인이 있고 로컬 도메인의 주소는 172.24.0.0/16이고 다른 도메인은 172.25.0.0/16입니다. 이제 도메인 172.25.0.0/16이 서버에 액세스하는 것을 거부합니다.
iptables를 구성합니다. 네트워크에 두 개의 도메인이 있고 로컬 도메인의 주소는 172.24.0.0/16이고 다른 도메인은 172.25.0.0/16입니다. 이제 도메인 172.25.0.0/16이 서버에 액세스하는 것을 거부합니다.
Correct Answer:
below
iptables-F
serviceiptablessave
iptables-AINPUT-s172.25.0.0/16-jREJECT
serviceiptablessave
serviceiptablesrestart
iptables-F
serviceiptablessave
iptables-AINPUT-s172.25.0.0/16-jREJECT
serviceiptablessave
serviceiptablesrestart