Quay lại bộ đề
Question #302 Topic 1
Each analytics team in your organization is running BigQuery jobs in their own projects. You want to enable each team to monitor slot usage within their projects.What should you do?
Mỗi nhóm phân tích trong tổ chức của bạn đang chạy các công việc BigQuery trong các dự án riêng của họ. Bạn muốn cho phép mỗi nhóm tự giám sát lượng slot sử dụng trong dự án của họ. Bạn nên làm gì?
A
Create a Cloud Monitoring dashboard based on the BigQuery metric query/scanned_bytes
Tạo một dashboard Cloud Monitoring dựa trên chỉ số BigQuery `query/scanned_bytes`.
B
Create a Cloud Monitoring dashboard based on the BigQuery metric slots/allocated_for_project
Tạo một dashboard Cloud Monitoring dựa trên chỉ số BigQuery `slots/allocated_for_project`.
C
Create a log export for each project, capture the BigQuery job execution logs, create a custom metric based on the totalSlotMs, and create a Cloud Monitoring dashboard based on the custom metric
Tạo một log export cho mỗi dự án, ghi nhận log thực thi công việc BigQuery, tạo một custom metric dựa trên `totalSlotMs` và tạo một dashboard Cloud Monitoring dựa trên custom metric đó.
D
Create an aggregated log export at the organization level, capture the BigQuery job execution logs, create a custom metric based on the totalSlotMs, and create a Cloud Monitoring dashboard based on the custom metric
Tạo một aggregated log export ở cấp tổ chức, ghi nhận log thực thi công việc BigQuery, tạo một custom metric dựa trên `totalSlotMs` và tạo một dashboard Cloud Monitoring dựa trên custom metric đó.
Giải thích & Tài liệu tham khảo
Để cho phép từng nhóm phân tích tự theo dõi lượng tài nguyên slot (slot usage) được phân bổ trong dự án của họ một cách đơn giản và trực tiếp nhất:
- Tạo một Cloud Monitoring dashboard dựa trên số liệu chuẩn của BigQuery có sẵn:
slots/allocated_for_project(hoặcslots/allocated). Số liệu này ghi lại số lượng slot mà dự án đó đang sử dụng tại mỗi thời điểm.
- Lựa chọn A sai: Chỉ số
query/scanned_byteschỉ đo lượng dữ liệu được quét bởi truy vấn, không phản ánh trực tiếp số lượng compute slots được tiêu thụ. - Lựa chọn C & D sai: Việc thiết lập xuất logs chi tiết, tạo custom metric dựa trên
totalSlotMsrất phức tạp và tốn nhiều công sức cấu hình, bảo trì so với việc sử dụng số liệu giám sát slots có sẵn của hệ thống.
(Đáp án được gợi ý bởi AI)