Đề JN0-105, câu 15
How many rescue configuration files are supported on a Junos device?
Đáp án: D
Chỉ có một rescue configuration. Lưu lại sẽ ghi đè bản cũ. Đừng nhầm với 50 bản rollback.
37 câu luyện tập chủ đề Cấu hình trong bộ JN0-106 Junos, Associate (JNCIA-Junos), mỗi câu có đáp án và giải thích.
Gồm 99 câu của đề JN0-105 cũ (đã bỏ câu trùng, chép lại hình và output, thêm giải thích) và 100 câu bổ sung do RoutingBit viết theo các mảng kiến thức JNCIA-Junos. Câu nào đáp án gốc chưa chuẩn thì RoutingBit chọn theo tài liệu Juniper và ghi chú lại. Thấy chỗ chưa đúng thì bấm Báo lỗi.
Đề JN0-105, câu 15
How many rescue configuration files are supported on a Junos device?
Đáp án: D
Chỉ có một rescue configuration. Lưu lại sẽ ghi đè bản cũ. Đừng nhầm với 50 bản rollback.
Đề JN0-105, câu 22
Which service does RADIUS provide?
Đáp án: B
RADIUS (và TACACS+) dùng để xác thực tập trung người quản trị đăng nhập thiết bị. NTP lo đồng bộ giờ, DNS phân giải tên.
Đề JN0-105, câu 26
What will the request system configuration rescue save command do?
Đáp án: A
Lệnh lưu bản active (bản commit gần nhất) thành rescue. Muốn dùng lại thì rollback rescue rồi commit.
Đề JN0-105, câu 32
Which two external authentication methods does Junos support for administrative access? (Choose two.)
Đáp án: C, D
Junos hỗ trợ RADIUS và TACACS+ cho đăng nhập quản trị, thứ tự dùng khai bằng set system authentication-order.
Đề JN0-105, câu 37
You have configured some interfaces on a Junos device; however, you have not yet committed the configuration. What happens if you issue the rollback 0 command in this scenario?
Đáp án: C
rollback 0 nạp lại bản đang chạy vào candidate, tức bỏ mọi thay đổi chưa commit.
Đề JN0-105, câu 46
Which two fields are you required to enter when you create a new user account? (Choose two.)
Đáp án: A, D
Tạo user cần tên và login class (set system login user NAME class CLASS). full-name tùy chọn, uid tự cấp nếu không khai.
Đề JN0-105, câu 47
You need to configure interface ge-0/1/2 with an IP address of 172.16.100.1/24. You have accidentally entered 172.16.101.1/24 as shown in the exhibit. Which command should you issue to solve the problem?
[edit]
user@router# set interfaces ge-0/1/2 unit 0 family inet address 172.16.101.1/24
[edit]
user@router# commit check
configuration check succeeds
[edit]
user@router#
Đáp án: C
Thay đổi mới qua commit check, chưa commit. rollback 0 nạp lại bản đang chạy, bỏ dòng địa chỉ sai, rồi cấu hình lại địa chỉ đúng. rollback 1 sẽ kéo về bản commit trước đó, có thể làm mất cả thay đổi hợp lệ đã commit gần nhất.
Ghi chú về đáp án: các bản đề gốc ghi đáp án khác nhau (rollback 1 hoặc rollback 0). RoutingBit chọn rollback 0 vì cấu hình sai chưa được commit.
Đề JN0-105, câu 48
You configured your system authentication order using the set system authentication-order [ tacplus radius password ] command. Which statement is correct in this scenario?
Đáp án: B
Junos thử lần lượt theo thứ tự khai báo. Mật khẩu cục bộ là phương án dự phòng khi không liên lạc được máy chủ TACACS+ và RADIUS. Đây là cách giữ quyền đăng nhập khi máy chủ xác thực bị mất kết nối.
Đề JN0-105, câu 50
How many login classes are assignable to a user account?
Đáp án: D
Mỗi user chỉ gán đúng một login class. Muốn quyền khác thì tạo class riêng với permissions phù hợp.
Đề JN0-105, câu 52
You are unable to remotely access your Juniper device using the CLI. Referring to the exhibit, which command would you add to the existing configuration to enable remote CLI access?
user1@router> show configuration
## Last commit: 2023-10-19 16:10:49 UTC by user1
version 23.2R1.10;
system {
host-name router;
root-authentication {
encrypted-password "$1$..."; ## SECRET-DATA
}
login {
user user1 {
uid 2000;
class super-user;
authentication {
encrypted-password "$1$..."; ## SECRET-DATA
}
}
}
services {
web-management {
http {
interface fxp0.0;
}
https {
system-generated-certificate;
interface all;
}
}
}
}
Đáp án: C
Dưới services chỉ có web-management (J-Web), chưa có ssh hay telnet nên không vào CLI từ xa được. Thêm set system services ssh rồi commit.
Đề JN0-105, câu 53
What is the maximum number of rollback configuration files that the Junos OS will store?
Đáp án: B
Junos giữ rollback 0 đến 49, tổng 50 bản.
Đề JN0-105, câu 57
Which two actions happen when multiple users issue the configure exclusive command to enter configuration mode on a Junos device? (Choose two.)
Đáp án: A, D
configure exclusive khóa candidate, người khác không vào sửa cấu hình được cho tới khi người đang giữ khóa thoát.
Đề JN0-105, câu 58
Which statement is correct when multiple users are configuring a Junos device using the configure private command?
Đáp án: C
configure private tạo candidate riêng cho mỗi người, commit chỉ áp dụng thay đổi của chính người đó.
Đề JN0-105, câu 72
You have completed the initial configuration of your new Junos device. You want to be able to load this configuration at a later time. Which action enables you to perform this task?
Đáp án: D
Lưu cấu hình ban đầu thành rescue, sau này nạp lại bằng rollback rescue và commit.
Đề JN0-105, câu 77
You received a new Junos device and are configuring the system-related settings. You must configure this device for the current date and time on the US West coast. You have set the time zone to America/Los_Angeles, however the time and date did not change. In this scenario, which two additional actions would satisfy this requirement? (Choose two.)
Đáp án: C, D
Time zone chỉ đổi cách hiển thị giờ. Muốn giờ đúng thì đặt tay bằng set date hoặc đồng bộ NTP.
Đề JN0-105, câu 78
After the factory default configuration is loaded, which configuration object must be created prior to the first commit?
Đáp án: C
Junos bắt buộc có mật khẩu root trước khi commit.
Đề JN0-105, câu 87
Which two statements are true about the candidate configuration? (Choose two.)
Đáp án: B, D
Gom nhiều thay đổi rồi commit một lần, hoặc bỏ đi bằng rollback 0 trước khi commit. Thay đổi không tự áp dụng, và nhiều người có thể cùng sửa candidate chung khi dùng configure thường.
Câu bổ sung của RoutingBit
What happens when a user enters a set command in configuration mode?
Đáp án: B
Junos sửa trên candidate configuration. Chỉ khi commit thành công thì candidate mới thành active configuration. Nhờ vậy có thể sửa nhiều chỗ rồi áp dụng cùng lúc.
Câu bổ sung của RoutingBit
Which command verifies the syntax of the candidate configuration without activating it?
Đáp án: B
commit check kiểm tra cú pháp và tính hợp lệ của candidate nhưng không áp dụng. Lỗi sẽ được báo để sửa trước khi commit thật.
Câu bổ sung của RoutingBit
You run commit confirmed without any value. What happens if you do not issue another commit?
Đáp án: A
commit confirmed mặc định chờ 10 phút. Nếu không commit lại để xác nhận, Junos tự quay về bản trước. Rất hữu ích khi sửa từ xa, lỡ tự khóa mình ra khỏi thiết bị thì vài phút sau tự hồi phục.
Câu bổ sung của RoutingBit
Which configuration does rollback 0 load into the candidate configuration?
Đáp án: C
rollback 0 là bản đang chạy. Dùng rollback 0 để bỏ mọi thay đổi chưa commit trên candidate. rollback 1 là bản trước lần commit gần nhất.
Câu bổ sung của RoutingBit
You committed a change that caused a problem and want to restore the configuration that was active before that commit. Which sequence should you use?
Đáp án: B
rollback 1 nạp bản trước lần commit gần nhất vào candidate, rồi phải commit thì mới thành bản chạy. Chỉ gõ rollback mà quên commit thì thiết bị vẫn chạy cấu hình lỗi.
Câu bổ sung của RoutingBit
How many previous committed configurations (rollback files) does Junos OS keep by default, including the active configuration?
Đáp án: C
Junos giữ rollback 0 đến 49, tức 50 bản. Ba bản đầu nằm ở /config, các bản cũ hơn ở /var/db/config.
Câu bổ sung của RoutingBit
Before the first commit on a device running the factory default configuration, which statement must be configured?
Đáp án: B
Junos không cho commit khi chưa đặt mật khẩu cho root (set system root-authentication plain-text-password). Host name, IP quản lý và NTP nên cấu hình nhưng không bắt buộc để commit.
Câu bổ sung của RoutingBit
Which command saves the active configuration as the rescue configuration?
Đáp án: A
request system configuration rescue save (ở operational mode) lưu bản đang chạy làm bản cứu hộ. Khi cần, vào configuration mode gõ rollback rescue rồi commit để quay về bản này.
Câu bổ sung của RoutingBit
Several administrators are editing the configuration at the same time. You want to edit a separate copy so that only your changes are committed. Which command should you use?
Đáp án: B
configure private cho mỗi người một bản candidate riêng, commit chỉ đưa thay đổi của mình lên. configure exclusive khóa cấu hình, người khác không sửa được trong lúc mình đang sửa.
Câu bổ sung của RoutingBit
Which command temporarily disables a configuration statement without deleting it?
Đáp án: B
deactivate đánh dấu inactive: dòng cấu hình vẫn còn nhưng không có hiệu lực sau commit. activate để bật lại. delete xóa hẳn, annotate thêm chú thích.
Câu bổ sung của RoutingBit
Which load option replaces the entire candidate configuration with the contents of a file?
Đáp án: B
load override thay toàn bộ candidate bằng nội dung file. load merge gộp vào cấu hình hiện có, load replace chỉ thay các phần có thẻ replace:, load set nạp các lệnh set.
Câu bổ sung của RoutingBit
You want a change to be activated at 02:00 during the maintenance window. Which command should you use?
Đáp án: A
commit at hẹn giờ áp dụng cấu hình. commit synchronize đồng bộ cấu hình sang RE dự phòng, commit confirmed tự quay lại nếu không xác nhận.
Câu bổ sung của RoutingBit
Which command adds a comment that appears in the commit history?
Đáp án: A
commit comment ghi chú cho lần commit, xem lại bằng show system commit. annotate thêm chú thích vào một dòng cấu hình chứ không phải vào lịch sử commit.
Câu bổ sung của RoutingBit
You configured the following:
set groups GE-MTU interfaces <ge-*> mtu 9000
set apply-groups GE-MTU
What is the result after the commit?
Đáp án: B
Configuration group với ký tự đại diện <ge-*> áp cho mọi interface ge đã có trong cấu hình. Giá trị đặt trực tiếp trên interface được ưu tiên hơn giá trị thừa kế. Xem phần thừa kế bằng show | display inheritance.
Câu bổ sung của RoutingBit
Which command configures an IPv4 address on interface ge-0/0/1?
Đáp án: B
Junos đặt địa chỉ dưới logical unit và family: unit 0, family inet cho IPv4 (inet6 cho IPv6). Địa chỉ viết theo dạng prefix length, không dùng subnet mask.
Câu bổ sung của RoutingBit
Which two statements about the loopback interface lo0 are correct? (Choose two.)
Đáp án: A, B
lo0 là interface ảo luôn up, hay dùng làm router ID và địa chỉ quản lý ổn định. Filter đặt input trên lo0 lọc mọi lưu lượng đi lên RE, là cách chuẩn bảo vệ RE. Địa chỉ lo0 thường là /32.
Câu bổ sung của RoutingBit
Which command sets the host name of a Junos device to R1?
Đáp án: B
Host name đặt ở cấp [edit system] với lệnh set system host-name. Sau commit, prompt đổi theo tên mới.
Câu bổ sung của RoutingBit
Which login class gives a user permission to view the configuration and run operational commands but not change the configuration?
Đáp án: C
read-only chỉ xem. operator chạy được một số lệnh vận hành như clear, request nhưng không sửa cấu hình. super-user có toàn quyền, unauthorized không có quyền gì.
Câu bổ sung của RoutingBit
Which command enables SSH access to the device?
Đáp án: A
Dịch vụ quản lý bật ở [edit system services]: ssh, netconf ssh, web-management (J-Web)... Nên tắt telnet và giới hạn nguồn được SSH bằng filter trên lo0.
Câu bổ sung của RoutingBit
Which command configures an NTP server on a Junos device?
Đáp án: A
NTP cấu hình ở [edit system ntp]. Đồng bộ giờ quan trọng để log, chứng chỉ và phân tích sự cố khớp thời gian giữa các thiết bị.