Bài tập · 2 phút
EC2: nhận định đúng hay sai?
0/2
Từ khóa của phần nàyChọn một từ để xem nghĩa trước khi đọc
Phân loại từng nhận định vào ô Đúng hoặc Sai. Trên thiết bị di động: chọn thẻ, sau đó chọn ô đích.
Spot Instance bị gián đoạn sau interruption notice 2 phút
Spot request persistent được mở lại sau khi bị gián đoạn
Hủy Spot request không terminate instance đang chạy
Spot Fleet có thể gồm cả On-Demand
Instance store giữ dữ liệu khi stop instance
Instance store có thể tách ra và gắn sang instance khác
Hủy Spot request sẽ tự động terminate instance
Persistent Spot request mở lại ngay khi bạn stop Spot Instance
Dữ liệu instance store được đưa vào AMI tạo từ instance
Có thể gắn thêm instance store volume sau khi launch
Dữ liệu instance store vẫn còn sau khi reboot
Instance đã terminate có thể recover nếu cấu hình từ lúc launch
Khách hàng mới vẫn mua được Spot block 1 đến 6 giờ
Partition placement group phù hợp cho cụm Kafka hoặc Cassandra
Spread placement group chạy tối đa 7 instance mỗi AZ
Instance metadata dùng để chạy script khi khởi động
Instance có public IP vẫn bắt buộc dùng EC2 Instance Connect Endpoint
Public IP tự gán thay đổi sau khi stop và start
ĐúngTheo tài liệu AWS
SaiNhầm lẫn phổ biến
Câu hỏi kiểm tra
Với vai trò người thiết kế hệ thống MFTECH, chọn phương án phù hợp.
1. MFTECH cần 100 instance: 70 instance chạy liên tục, 30 instance xử lý batch có thể trì hoãn. Phương án mua nào có chi phí thấp nhất?
2. Tác vụ mô phỏng tồn kho chạy trên nhiều node và yêu cầu độ trễ mạng thấp nhất giữa các node. Các instance cần được bố trí như thế nào?
3. Cài đặt một EC2 instance của MFTECH mất 45 phút; Auto Scaling cần instance mới sẵn sàng nhanh, trong khi cấu hình thay đổi theo môi trường. Giải pháp nào phù hợp?
4. EC2 instance shop-api chấp nhận tối đa 10 phút downtime. Cơ chế tự phục hồi nào có chi phí thấp nhất khi xảy ra lỗi phần cứng?
5. Đối tác ngân hàng yêu cầu các EC2 instance xử lý thanh toán chạy trên phần cứng single-tenant, không có yêu cầu license đặc biệt. Phương án nào có chi phí thấp nhất?
6. Cụm Cassandra 12 node của MFTECH cần các nhóm bản sao nằm trên phần cứng tách biệt để một rack hỏng không làm mất dữ liệu. Placement strategy nào phù hợp?
7. Ứng dụng phân tích gen chạy MPI trên nhiều instance, cần hiệu năng giao tiếp liên node cao nhất. Instance nên dùng thiết bị mạng nào?
8. EC2 instance chuyển mã cần khoảng 10 TB không gian tạm với I/O cao nhất; kết quả được lưu lên S3. Lưu trữ tạm nào phù hợp?
Exercise · 2 phút
EC2: true or false?
0/3
Từ khóa của phần nàyChọn một từ để xem nghĩa trước khi đọc
Sort each statement into True or False. On a mobile device: tap a card, then tap the target box.
A Spot Instance is interrupted after a 2-minute interruption notice
A persistent Spot request is reopened after an interruption
Canceling a Spot request does not terminate running instances
A persistent Spot request reopens as soon as you stop the Spot Instance
A Spot Fleet can include On-Demand
Instance store keeps data when the instance stops
Instance store can be detached and attached to another instance
Canceling a Spot request automatically terminates the instances
Instance store data is included in an AMI created from the instance
Instance store volumes can be added after launch
Instance store data survives a reboot
A terminated instance can be recovered if configured at launch
New customers can still buy 1 to 6-hour Spot blocks
A partition placement group suits a Kafka or Cassandra cluster
A spread placement group runs at most 7 instances per AZ
Instance metadata is used to run scripts at boot
An instance with a public IP still requires an EC2 Instance Connect Endpoint
An auto-assigned public IP changes after stop and start
TruePer the AWS documentation
FalseCommon misconception
Câu hỏi kiểm tra
Với vai trò người thiết kế hệ thống MFTECH, chọn phương án phù hợp.
1. MFTECH needs 100 instances: 70 run continuously and 30 process batch jobs that can be deferred. Which purchasing option costs the least?
2. An inventory simulation runs on many nodes and needs the lowest network latency between them. How should the instances be placed?
3. Installing a MFTECH EC2 instance takes 45 minutes; Auto Scaling needs new instances ready quickly, while the configuration varies by environment. Which solution fits?
4. The shop-api EC2 instance tolerates at most 10 minutes of downtime. Which self-recovery mechanism costs the least when a hardware failure occurs?
5. A banking partner requires the payment EC2 instances to run on single-tenant hardware, with no special licensing requirements. Which option costs the least?
6. MFTECH's 12-node Cassandra cluster needs groups of replicas on separate hardware so that one failed rack does not lose data. Which placement strategy fits?
7. A genome analysis application runs MPI across many instances and needs the highest inter-node communication performance. Which network device should the instances use?
8. A transcoding EC2 instance needs about 10 TB of scratch space with the highest I/O; results are stored in S3. Which temporary storage fits?