Ngân hàng đề — Google Cloud Professional Machine Learning Engineer

Tìm thấy 333 câu.

Câu 81
Your data science team has requested a system that supports scheduled model retraining, Docker containers, and a service that supports autoscaling and monitoring for online prediction requests. Which platform components should you choose for this system?
  1. A Vertex AI Pipelines and App Engine
  2. B Vertex AI Pipelines, Vertex AI Prediction, and Vertex AI Model Monitoring
  3. C Cloud Composer, BigQuery ML, and Vertex AI Prediction
  4. D Cloud Composer, Vertex AI Training with custom containers, and App Engine
Xem giải thích

🧩 Giải thích nội dung câu hỏi

Câu hỏi yêu cầu thiết kế một hệ thống cho đội ngũ data science trên Google Cloud Platform (GCP), với các tính năng chính sau:

  • Scheduled model retraining (tái huấn luyện mô hình theo lịch trình).
  • Hỗ trợ Docker containers (chạy mô hình trong container tùy chỉnh).
  • Autoscaling và monitoring cho online prediction requests (dự đoán thời gian thực, tự động mở rộng quy mô và giám sát).

Hệ thống cần các thành phần Vertex AI phù hợp để tích hợp mượt mà cho quy trình end-to-end từ training đến serving và monitoring. Đây là câu hỏi kiểm tra kiến thức về Vertex AI (cập nhật đến phiên bản 2026, với Vertex AI Pipelines hỗ trợ Kubeflow-based workflows, Vertex AI Prediction với endpoint autoscaling dựa trên Vertex AI Endpoints, và Model Monitoring với skew/drift detection nâng cao).

📘 Tài liệu tham khảo:

✅ Đáp án đúng: Vertex AI Pipelines, Vertex AI Prediction, and Vertex AI Model Monitoring

Lý do lựa chọn:

  • Vertex AI Pipelines 🛠️: Hỗ trợ scheduled model retraining qua pipelines Kubeflow-based, cho phép định lịch tự động và tích hợp Docker containers cho training jobs.
  • Vertex AI Prediction 📈: Xử lý online predictions với autoscaling (dựa trên Vertex AI Endpoints, hỗ trợ custom Docker containers), đảm bảo scalability cho traffic cao.
  • Vertex AI Model Monitoring 👀: Cung cấp monitoring toàn diện cho deployed models, phát hiện drift/skew và alerting tự động.
    Bộ ba này tạo hệ thống end-to-end hoàn chỉnh, native cho ML trên GCP, tối ưu chi phí và tích hợp seamless (không cần tool bên thứ ba).

📋 Phân tích tất cả các phương án

  • ❌ Vertex AI Pipelines and App Engine
    Phương án này sai vì: Vertex AI Pipelines hỗ trợ tốt scheduled retraining và Docker, nhưng App Engine không phù hợp cho online predictions ML – nó là PaaS web app, thiếu autoscaling chuyên biệt cho ML endpoints và monitoring model drift. App Engine không hỗ trợ native Docker cho ML serving hiệu quả như Vertex AI Prediction.

  • ✅ Vertex AI Pipelines, Vertex AI Prediction, and Vertex AI Model Monitoring
    (Như đã giải thích ở trên – hoàn hảo khớp yêu cầu).

  • ❌ Cloud Composer, BigQuery ML, and Vertex AI Prediction
    Phương án này sai vì: Cloud Composer (Airflow-based) hỗ trợ orchestration nhưng không native cho ML pipelines như Vertex AI Pipelines (thiếu tích hợp Docker training seamless). BigQuery ML chỉ cho training đơn giản trên SQL (không hỗ trợ custom Docker containers phức tạp), không dùng cho retraining scheduled toàn diện hoặc online serving. Vertex AI Prediction đúng nhưng bộ thiếu cohesive.

  • ❌ Cloud Composer, Vertex AI Training with custom containers, and App Engine
    Phương án này sai vì: Cloud Composer không phải lựa chọn native cho ML pipelines (phức tạp hơn Vertex AI Pipelines). Vertex AI Training hỗ trợ Docker cho training nhưng không cho serving/online predictions. App Engine lại thiếu autoscaling/monitoring ML chuyên sâu, không thay thế Vertex AI Prediction.

Câu 82
You are profiling the performance of your TensorFlow model training time and notice a performance issue caused by inefficiencies in the input data pipeline for a single 5 terabyte CSV file dataset on Cloud Storage. You need to optimize the input pipeline performance. Which action should you try first to increase the efficiency of your pipeline?
  1. A Preprocess the input CSV file into a TFRecord file.
  2. B Randomly select a 10 gigabyte subset of the data to train your model.
  3. C Split into multiple CSV files and use a parallel interleave transformation.
  4. D Set the reshuffle_each_iteration parameter to true in the tf.data.Dataset.shuffle method.
Xem giải thích

🧩 Phân tích chi tiết nội dung câu hỏi

Câu hỏi tập trung vào việc tối ưu hóa hiệu suất đường ống dữ liệu đầu vào (input data pipeline) trong quá trình huấn luyện mô hình TensorFlow trên Google Cloud. Cụ thể:

  • Bạn đang profile performance (đo lường và phân tích hiệu suất) thời gian huấn luyện mô hình TensorFlow.
  • Phát hiện vấn đề hiệu suất do input data pipeline không hiệu quả khi xử lý một tệp CSV duy nhất dung lượng 5 terabyte (5TB) lưu trữ trên Cloud Storage (GCS).
  • Mục tiêu: Tăng hiệu quả pipeline một cách nhanh chóng, và cần chọn hành động đầu tiên nên thử (first action).

Vấn đề cốt lõi 📉: Với tệp CSV lớn đơn lẻ (5TB), TensorFlow's tf.data.Dataset đọc dữ liệu theo kiểu sequential (tuần tự) từ GCS, dẫn đến I/O bottleneck (nghẽn cổ chai đầu vào/đầu ra). GCS hỗ trợ đọc parallel tốt hơn nếu dữ liệu được phân chia, nhưng file đơn lẻ làm chậm quá trình do chỉ một luồng đọc chính. Theo best practices của TensorFlow (cập nhật đến TF 2.15+ năm 2024-2026), cần ưu tiên parallelization cho input pipeline với dữ liệu lớn trên cloud storage.

✅ Đáp án đúng và lý do lựa chọn

Đáp án đúng: Split into multiple CSV files and use a parallel interleave transformation.

Lý do chi tiết 🛠️:

  • Split thành nhiều file CSV nhỏ hơn (ví dụ: chia 5TB thành hàng trăm file 10-100MB/file) cho phép đọc song song (parallel reads) từ GCS, tận dụng bandwidth cao của cloud storage.
  • Parallel interleave transformation (sử dụng tf.data.experimental.parallel_interleave hoặc tf.data.Dataset.interleave với num_parallel_calls) giúp xen kẽ dữ liệu từ nhiều file một cách song song, giảm thời gian chờ I/O và tăng throughput.
  • Đây là hành động đầu tiên vì nhanh chóng, ít tốn kém (chỉ cần gsutil hoặc pipeline đơn giản để split), và trực tiếp giải quyết bottleneck mà không cần preprocess toàn bộ dữ liệu. Theo TensorFlow performance guide (2024+), cải thiện này có thể tăng tốc pipeline lên 5-10x cho datasets lớn trên GCS.

📋 Giải thích tất cả các phương án (đúng/sai)

Dưới đây là phân tích từng lựa chọn, giữ nguyên nội dung gốc bằng tiếng Anh. Mỗi phương án được đánh giá dựa trên best practices TensorFlow tf.data pipeline (TF 2.15+, GCP Vertex AI/ML Engine 2026):

  • ✅ [ĐÚNG] Split into multiple CSV files and use a parallel interleave transformation
    🧩 Giải thích đúng: Như đã nêu ở trên, đây là giải pháp tối ưu đầu tiên cho file lớn đơn lẻ trên GCS. Parallel interleave tận dụng multi-threaded reads, giảm latency I/O đáng kể. Không cần thay đổi code huấn luyện nhiều.

  • ❌ [SAI] Preprocess the input CSV file into a TFRecord file
    🧩 Giải thích sai: Chuyển sang TFRecord (binary, columnar format) rất tốt cho hiệu suất dài hạn (nhỏ gọn hơn 50-70%, random access nhanh), nhưng không phải hành động đầu tiên vì preprocess 5TB tốn thời gian và tài nguyên lớn (có thể hàng giờ/ngày trên Compute Engine). Nên dùng sau khi đã parallelize input.

  • ❌ [SAI] Randomly select a 10 gigabyte subset of the data to train your model
    🧩 Giải thích sai: Chỉ lấy subset 10GB (từ 5TB) có thể dùng cho prototyping nhanh, nhưng không giải quyết vấn đề pipeline gốc với full dataset. Dẫn đến model kém chất lượng (underfit), và vẫn gặp bottleneck nếu scale lên full data sau.

  • ❌ [SAI] Set the reshuffle_each_iteration parameter to true in the tf.data.Dataset.shuffle method
    🧩 Giải thích sai: reshuffle_each_iteration=True chỉ cải thiện randomness khi shuffle qua nhiều epoch, tránh overfitting, nhưng không ảnh hưởng đến I/O reading từ file lớn. Vấn đề ở đây là đọc dữ liệu chậm, không phải shuffling.

📘 Tài liệu tham khảo (cập nhật mới nhất 2024-2026)

Hy vọng phân tích này giúp bạn nắm vững! 🚀 Nếu cần code sample tf.data, hãy hỏi thêm.

Câu 83
You need to design an architecture that serves asynchronous predictions to determine whether a particular mission-critical machine part will fail. Your system collects data from multiple sensors from the machine. You want to build a model that will predict a failure in the next N minutes, given the average of each sensor’s data from the past 12 hours. How should you design the architecture?
  1. A 1. HTTP requests are sent by the sensors to your ML model, which is deployed as a microservice and exposes a REST API for prediction
    2. Your application queries a Vertex AI endpoint where you deployed your model.
    3. Responses are received by the caller application as soon as the model produces the prediction.
  2. B 1. Events are sent by the sensors to Pub/Sub, consumed in real time, and processed by a Dataflow stream processing pipeline.
    2. The pipeline invokes the model for prediction and sends the predictions to another Pub/Sub topic.
    3. Pub/Sub messages containing predictions are then consumed by a downstream system for monitoring.
  3. C 1. Export your data to Cloud Storage using Dataflow.
    2. Submit a Vertex AI batch prediction job that uses your trained model in Cloud Storage to perform scoring on the preprocessed data.
    3. Export the batch prediction job outputs from Cloud Storage and import them into Cloud SQL.
  4. D 1. Export the data to Cloud Storage using the BigQuery command-line tool
    2. Submit a Vertex AI batch prediction job that uses your trained model in Cloud Storage to perform scoring on the preprocessed data.
    3. Export the batch prediction job outputs from Cloud Storage and import them into BigQuery.
Xem giải thích

🧩 Phân tích chi tiết nội dung câu hỏi

Câu hỏi tập trung vào việc thiết kế kiến trúc cho các dự đoán bất đồng bộ (asynchronous predictions) nhằm dự báo hỏng hóc của một bộ phận máy móc mission-critical (rất quan trọng, không thể gián đoạn). Hệ thống thu thập dữ liệu từ nhiều sensors trên máy móc. Model cần dự đoán failure (hỏng hóc) trong N phút tới, dựa trên trung bình dữ liệu của từng sensor trong 12 giờ qua.

🔑 Yêu cầu chính:

  • Asynchronous: Không cần phản hồi ngay lập tức (không dùng HTTP sync), phù hợp cho real-time streaming nhưng không blocking.
  • Real-time processing: Xử lý dữ liệu liên tục từ sensors để tính trung bình 12 giờ và dự đoán kịp thời.
  • Sử dụng các dịch vụ Google Cloud như Pub/Sub, Dataflow, Vertex AI để xây dựng pipeline hiệu quả, scalable.

📘 Kiến thức cập nhật (tính đến 2026): Theo tài liệu Vertex AI mới nhất (v1.50+), Dataflow hỗ trợ Apache Beam 2.58+ cho streaming, Pub/Sub Lite cho high-throughput. Kiến trúc streaming là chuẩn cho use case IoT/sensor data với windowing (12 giờ tumbling/sliding window).

✅ Đáp án đúng và lý do lựa chọn

Đáp án đúng là lựa chọn thứ 2:

  1. Events are sent by the sensors to Pub/Sub, consumed in real time, and processed by a Dataflow stream processing pipeline.
  2. The pipeline invokes the model for prediction and sends the predictions to another Pub/Sub topic.
  3. Pub/Sub messages containing predictions are then consumed by a downstream system for monitoring.

Lý do chọn 🛠️:

  • Hoàn hảo cho asynchronous real-time predictions từ sensor data. Sensors gửi events vào Pub/Sub (decoupling, scalable). Dataflow (Apache Beam) xử lý stream: tính trung bình 12h (sử dụng windowing), invoke Vertex AI endpoint cho prediction, rồi publish kết quả vào Pub/Sub khác cho downstream (monitoring/alerting).
  • Đảm bảo low-latency, fault-tolerant, không blocking sensors. Phù hợp mission-critical vì streaming pipeline tự scale theo traffic.
  • Nguồn: Vertex AI Streaming Prediction Docs, Dataflow Streaming Guide.

📋 Giải thích tất cả các phương án (đúng/sai)

  • ❌ Phương án 1 (SAI):

    1. HTTP requests are sent by the sensors to your ML model, which is deployed as a microservice and exposes a REST API for prediction
    2. Your application queries a Vertex AI endpoint where you deployed your model.
    3. Responses are received by the caller application as soon as the model produces the prediction.
      Giải thích: Đây là synchronous (đồng bộ) qua HTTP/REST API, sensors phải chờ response ngay → không phù hợp asynchronous, dễ overload nếu traffic cao từ nhiều sensors. Không xử lý windowing 12h real-time. Vertex AI endpoint ở đây chỉ online prediction sync, không streaming.
  • ✅ Phương án 2 (ĐÚNG):

    1. Events are sent by the sensors to Pub/Sub, consumed in real time, and processed by a Dataflow stream processing pipeline.
    2. The pipeline invokes the model for prediction and sends the predictions to another Pub/Sub topic.
    3. Pub/Sub messages containing predictions are then consumed by a downstream system for monitoring.
      Giải thích: Như đã nêu ở phần đáp án đúng. Sử dụng Pub/Sub + Dataflow cho event-driven streaming, tính aggregate (trung bình 12h) trong pipeline, async invoke model → lý tưởng cho sensor data mission-critical. Scalable, exactly-once delivery.
  • ❌ Phương án 3 (SAI):

    1. Export your data to Cloud Storage using Dataflow.
    2. Submit a Vertex AI batch prediction job that uses your trained model in Cloud Storage to perform scoring on the preprocessed data.
    3. Export the batch prediction job outputs from Cloud Storage and import them into Cloud SQL.
      Giải thích: Đây là batch processing (xử lý hàng loạt), không real-time → delay lớn (giờ/ngày), không dự đoán "N phút tới" kịp thời cho mission-critical. Dataflow export to Storage rồi Vertex AI batch job chỉ phù hợp historical analysis, không streaming.
  • ❌ Phương án 4 (SAI):

    1. Export the data to Cloud Storage using the BigQuery command-line tool
    2. Submit a Vertex AI batch prediction job that uses your trained model in Cloud Storage to perform scoring on the preprocessed data.
    3. Export the batch prediction job outputs from Cloud Storage and import them into BigQuery.
      Giải thích: Tương tự phương án 3, batch-oriented với BigQuery CLI → không real-time, manual export/import tốn thời gian. Không xử lý continuous sensor stream, chỉ cho offline scoring.

🔗 Tài liệu tham khảo chính (cập nhật 2026)

Kiến trúc này đảm bảo high availability cho mission-critical! 🚀

Câu 84
Your company manages an application that aggregates news articles from many different online sources and sends them to users. You need to build a recommendation model that will suggest articles to readers that are similar to the articles they are currently reading. Which approach should you use?
  1. A Create a collaborative filtering system that recommends articles to a user based on the user’s past behavior.
  2. B Encode all articles into vectors using word2vec, and build a model that returns articles based on vector similarity.
  3. C Build a logistic regression model for each user that predicts whether an article should be recommended to a user.
  4. D Manually label a few hundred articles, and then train an SVM classifier based on the manually classified articles that categorizes additional articles into their respective categories.
Xem giải thích

🧩 Phân tích chi tiết nội dung câu hỏi

Câu hỏi yêu cầu xây dựng một mô hình recommendation (gợi ý) cho ứng dụng tổng hợp tin tức từ nhiều nguồn trực tuyến, gửi đến người dùng. Mục tiêu cụ thể là gợi ý các bài báo tương tự với bài báo mà người dùng đang đọc hiện tại (similar to the articles they are currently reading).

  • Bối cảnh: Ứng dụng xử lý dữ liệu văn bản lớn (news articles), cần một cách tiếp cận content-based filtering (lọc dựa trên nội dung), vì tập trung vào sự tương đồng giữa các bài báo hiện tại, không phụ thuộc vào lịch sử hành vi người dùng trước đó.
  • Yêu cầu chính: Phương pháp phải hiệu quả về scale (xử lý nhiều nguồn), dựa trên nội dung văn bản, và tìm kiếm sự tương đồng nhanh chóng giữa các vector biểu diễn bài báo.
  • Kiến thức cập nhật đến 2026: Trong ML recommendation systems (AWS SageMaker, Amazon Personalize, hoặc Google Vertex AI), content-based sử dụng embedding vectors như word2vec, BERT (phiên bản mới nhất như BERT-2024 variants hoặc AWS Embeddings API) để encode text và tính cosine similarity. Không dùng collaborative filtering vì thiếu user-item matrix đầy đủ.

📘 Tài liệu tham khảo:

✅ Đáp án đúng và lý do lựa chọn

Đáp án đúng: Encode all articles into vectors using word2vec, and build a model that returns articles based on vector similarity.

Lý do:

  • 🛠️ Đây là cách tiếp cận content-based filtering lý tưởng, encode toàn bộ bài báo thành vector embeddings bằng word2vec (hoặc các model tương tự như Sentence-BERT cập nhật 2026), sau đó sử dụng vector similarity (cosine similarity hoặc FAISS index trên AWS) để tìm bài báo gần nhất với bài đang đọc.
  • ✅ Phù hợp hoàn hảo với yêu cầu "similar to the articles they are currently reading" – chỉ cần vector của bài hiện tại để query, không cần lịch sử user, scale tốt cho hàng triệu bài báo (real-time recommendation).
  • 🚀 Hiệu suất cao: Word2vec capture semantic meaning (tương đồng ngữ nghĩa), dễ implement trên AWS SageMaker Processing hoặc Google Vertex AI Embeddings.

❌ Giải thích tất cả các phương án (đúng/sai)

  • Create a collaborative filtering system that recommends articles to a user based on the user’s past behavior.
    ❌ Sai: Collaborative filtering (như matrix factorization trong Amazon Personalize) dựa vào hành vi quá khứ của user và tương đồng user-user/item-item, không tập trung vào "similar to current article". Yêu cầu chỉ dựa trên bài hiện tại, không cần user history → không phù hợp, dễ cold-start problem nếu user mới.

  • Encode all articles into vectors using word2vec, and build a model that returns articles based on vector similarity.
    ✅ Đúng: Như giải thích trên, đây là content-based recommendation chuẩn, sử dụng embedding để tính similarity trực tiếp từ nội dung bài báo. Scale tốt với vector databases như Amazon OpenSearch hoặc Pinecone (tích hợp AWS 2026).

  • Build a logistic regression model for each user that predicts whether an article should be recommended to a user.
    ❌ Sai: Xây một model logistic riêng cho từng user là không khả thi (quá tốn tài nguyên, không scale cho hàng triệu user). Đây là personalized binary classification, nhưng yêu cầu là tương đồng nội dung, không phải predict like/dislike → overhead cao, chậm real-time.

  • Manually label a few hundred articles, and then train an SVM classifier based on the manually classified articles that categorizes additional articles into their respective categories.
    ❌ Sai: SVM classifier với label thủ công hạn chế chỉ dùng cho topic classification (phân loại danh mục), không phải recommend similar articles. Dữ liệu label ít → overfit, không capture fine-grained similarity (ví dụ: 2 bài cùng category nhưng khác chi tiết). Không hiệu quả cho recommendation semantic.

🧠 Kết luận: Content-based với embeddings là lựa chọn tối ưu cho real-time, content-driven recommendation trong hệ thống tin tức lớn! Nếu triển khai trên AWS, dùng SageMaker + Kendra cho vector search.

Câu 85
You work for a large social network service provider whose users post articles and discuss news. Millions of comments are posted online each day, and more than 200 human moderators constantly review comments and flag those that are inappropriate. Your team is building an ML model to help human moderators check content on the platform. The model scores each comment and flags suspicious comments to be reviewed by a human. Which metric(s) should you use to monitor the model’s performance?
  1. A Number of messages flagged by the model per minute
  2. B Number of messages flagged by the model per minute confirmed as being inappropriate by humans.
  3. C Precision and recall estimates based on a random sample of 0.1% of raw messages each minute sent to a human for review
  4. D Precision and recall estimates based on a sample of messages flagged by the model as potentially inappropriate each minute
Xem giải thích

🧩 Phân tích chi tiết nội dung câu hỏi

Câu hỏi này xoay quanh việc xây dựng và giám sát mô hình Machine Learning (ML) để hỗ trợ các moderator con người kiểm tra nội dung bình luận trên nền tảng mạng xã hội lớn. Hàng triệu bình luận được đăng mỗi ngày, và mô hình sẽ chấm điểm từng bình luận, đánh dấu (flag) những bình luận đáng ngờ để con người xem xét.

📌 Mục tiêu chính: Chọn metric (chỉ số đo lường) phù hợp để giám sát hiệu suất mô hình trong môi trường sản xuất thời gian thực. Đây là vấn đề điển hình trong content moderation, nơi cần cân bằng giữa việc phát hiện nội dung xấu (true positives) và tránh bỏ sót (false negatives), đồng thời giảm tải cho moderator.

🛠️ Bối cảnh: Với quy mô lớn (millions comments/day), metric phải hiệu quả, khả thi về mặt tính toán, dựa trên dữ liệu thực tế từ humans để ước lượng chính xác. Không dùng metric đơn giản như throughput, mà ưu tiên precision (độ chính xác - tỷ lệ flag đúng) và recall (độ bao phủ - tỷ lệ phát hiện đúng) – hai metric chuẩn cho binary classification imbalanced (như toxic content detection).

(Kiến thức cập nhật đến 2026: Theo best practices AWS SageMaker Model Monitor và Amazon Comprehend Toxicity Detection – phiên bản mới nhất hỗ trợ continuous monitoring với precision/recall trên flagged samples để xử lý high-volume streaming data như Kinesis hoặc MSK.)

✅ Đáp án đúng và lý do lựa chọn

Đáp án đúng: Precision and recall estimates based on a sample of messages flagged by the model as potentially inappropriate each minute.

Lý do chi tiết 🏆:

  • Phương án này tập trung đúng vào samples flagged bởi mô hình, gửi chúng cho human review để tính precision (tỷ lệ flagged thực sự inappropriate) và recall (ước lượng từ confirmed positives).
  • Khả thi realtime: Chỉ sample flagged items (thường ít hơn raw data), giảm chi phí, phù hợp high-throughput (millions/day).
  • Giám sát hiệu suất toàn diện: Precision tránh false positives (flag nhầm, tăng workload moderator); Recall tránh false negatives (bỏ sót toxic content).
  • Theo AWS best practices (SageMaker Clarify & Model Monitor 2026), đây là cách chuẩn để detect concept drift và bias trong production ML cho moderation.

📊 Giải thích tất cả các phương án (đúng/sai)

  • ❌ [SAI] Number of messages flagged by the model per minute
    Phương án này chỉ đo throughput (số lượng flag/phút), không đánh giá chất lượng mô hình (đúng/sai flag). Không phản ánh precision/recall, dễ bị misleading nếu model flag quá nhiều/ít mà không chính xác. Không phù hợp monitor performance.

  • ❌ [SAI] Number of messages flagged by the model per minute confirmed as being inappropriate by humans.
    Chỉ đếm số confirmed positives, bỏ qua false positives (flag nhầm) và false negatives (bỏ sót). Không tính recall đầy đủ, chỉ là partial metric, không đủ để monitor drift hoặc degradation toàn diện.

  • ❌ [SAI] Precision and recall estimates based on a random sample of 0.1% of raw messages each minute sent to a human for review
    Sample random từ raw messages (toàn bộ input) dẫn đến imbalanced sampling cực kỳ (toxic content hiếm, ~0.1% total?), làm precision/recall không đại diện cho flagged items. Tốn kém (review 0.1% millions = hàng nghìn/phút), không tập trung vào model output.

  • ✅ [ĐÚNG] Precision and recall estimates based on a sample of messages flagged by the model as potentially inappropriate each minute
    (Đã giải thích ở phần trên) – Đây là gold standard cho monitoring flagged predictions, hiệu quả và accurate.

📘 Tài liệu tham khảo

  • AWS SageMaker Model Monitor (docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html) – Hướng dẫn compute precision/recall trên predicted positives cho production monitoring (update 2025-2026 với streaming support).
  • Amazon Comprehend Toxicity (aws.amazon.com/comprehend/toxicity/) – Ví dụ real-world content moderation với flagged sample evaluation.
  • Google Cloud Vertex AI Model Monitoring (tương đương, cloud.google.com/vertex-ai/docs/model-monitoring) – Best practices chung cho ML engineers.
  • Paper: "Production ML Metrics" từ AWS re:Invent 2025 – Nhấn mạnh sampling flagged outputs cho high-scale moderation.

Hy vọng phân tích này giúp bạn nắm vững! 🚀 Nếu cần deploy trên AWS/GCP, hỏi thêm nhé!

Câu 86
You are a lead ML engineer at a retail company. You want to track and manage ML metadata in a centralized way so that your team can have reproducible experiments by generating artifacts. Which management solution should you recommend to your team?
  1. A Store your tf.logging data in BigQuery.
  2. B Manage all relational entities in the Hive Metastore.
  3. C Store all ML metadata in Google Cloud’s operations suite.
  4. D Manage your ML workflows with Vertex ML Metadata.
Xem giải thích

🧩 Phân tích nội dung câu hỏi

Câu hỏi này tập trung vào vai trò của một Lead ML Engineer tại một công ty bán lẻ, với nhu cầu theo dõi và quản lý metadata ML một cách tập trung (centralized way). Mục tiêu chính là giúp đội ngũ có các thí nghiệm ML có thể tái tạo được (reproducible experiments) thông qua việc tạo ra các artifacts (như models, datasets, hyperparameters, metrics).

🛠️ Yêu cầu cốt lõi: Cần một giải pháp quản lý ML workflows và metadata chuyên biệt, hỗ trợ lineage (dòng dõi dữ liệu/model), versioning (phiên bản hóa), và collaboration để đảm bảo tính tái tạo. Đây là vấn đề phổ biến trong MLOps trên Google Cloud Platform (GCP), đặc biệt với Vertex AI – nền tảng ML end-to-end cập nhật đến năm 2026 (Vertex AI Metadata store là tính năng chính thức từ 2021 và được nâng cấp liên tục).

📘 Tài liệu tham khảo:

✅ Đáp án đúng: Manage your ML workflows with Vertex ML Metadata

Lý do lựa chọn:

  • Vertex ML Metadata (nay là Vertex AI Metadata store) là dịch vụ chuyên dụng cho ML metadata trên GCP, cho phép quản lý tập trung các artifacts như datasets, models, experiments, và pipelines.
  • Nó hỗ trợ reproducible experiments qua lineage tracking (theo dõi nguồn gốc), context và associations giữa các entity (datasets → models → endpoints), và API để generate artifacts tự động.
  • Hoàn hảo cho team collaboration, tích hợp sâu với Vertex AI Pipelines, Custom Jobs, và Experiments, giúp tái tạo chính xác bằng cách query metadata.
  • Đến 2026, nó vẫn là giải pháp best practice cho MLOps trên GCP, với hỗ trợ generative AI metadata. ❌ Các lựa chọn khác không chuyên biệt cho ML hoặc thiếu reproducibility.

📋 Giải thích tất cả các phương án

  • ✅ [ĐÚNG] Manage your ML workflows with Vertex ML Metadata
    🟢 Đúng vì: Đây là giải pháp tích hợp sẵn và chuyên biệt cho ML trên Vertex AI, quản lý metadata end-to-end (experiments, artifacts, lineage). Hỗ trợ reproducible bằng cách lưu trữ contexts, executions, và artifacts; dễ query và visualize. Lý tưởng cho team lớn như retail company.

  • ❌ [SAI] Store your tf.logging data in BigQuery
    🟡 Sai vì: BigQuery là data warehouse cho phân tích dữ liệu lớn, không phải tool quản lý ML metadata chuyên sâu. tf.logging chỉ lưu logs cơ bản (metrics), thiếu lineage/artifacts reproducibility. Phù hợp analytics nhưng không centralized cho ML workflows.

  • ❌ [SAI] Manage all relational entities in the Hive Metastore
    🟡 Sai vì: Hive Metastore là metadata store cho dữ liệu có cấu trúc (như tables trong Hadoop/Spark), không hỗ trợ ML-specific entities như models/experiments/artifacts. Không có lineage ML, versioning, hay integration với Vertex AI; lỗi thời cho MLOps hiện đại (2026).

  • ❌ [SAI] Store all ML metadata in Google Cloud’s operations suite
    🟡 Sai vì: Google Cloud Operations Suite (trước là Stackdriver) dùng cho monitoring/logs/metrics hệ thống, không phải ML metadata management. Nó theo dõi performance nhưng thiếu artifacts, lineage, reproducibility cho experiments. Không thay thế được Vertex AI Metadata.

🧠 Kết luận: Chọn Vertex ML Metadata để tối ưu MLOps, đảm bảo scalability và reproducibility! 🚀

Câu 87
You have been given a dataset with sales predictions based on your company’s marketing activities. The data is structured and stored in BigQuery, and has been carefully managed by a team of data analysts. You need to prepare a report providing insights into the predictive capabilities of the data. You were asked to run several ML models with different levels of sophistication, including simple models and multilayered neural networks. You only have a few hours to gather the results of your experiments. Which Google Cloud tools should you use to complete this task in the most efficient and self-serviced way?
  1. A Use BigQuery ML to run several regression models, and analyze their performance.
  2. B Read the data from BigQuery using Dataproc, and run several models using SparkML.
  3. C Use Vertex AI Workbench user-managed notebooks with scikit-learn code for a variety of ML algorithms and performance metrics.
  4. D Train a custom TensorFlow model with Vertex AI, reading the data from BigQuery featuring a variety of ML algorithms.
Xem giải thích

🧩 Phân tích chi tiết câu hỏi

✅ Nội dung câu hỏi:
Câu hỏi mô tả tình huống bạn có bộ dữ liệu dự đoán doanh số bán hàng dựa trên hoạt động marketing của công ty, dữ liệu có cấu trúc và lưu trữ trong BigQuery, được quản lý bởi đội ngũ data analysts. Nhiệm vụ là chuẩn bị báo cáo cung cấp insights về khả năng dự đoán của dữ liệu bằng cách chạy nhiều mô hình ML với mức độ phức tạp khác nhau (từ mô hình đơn giản đến neural networks đa lớp). Thời gian hạn chế chỉ vài giờ, và cần cách thức hiệu quả nhất, self-service (tự phục vụ, không phụ thuộc đội ngũ khác).
🛠️ Mục tiêu chính: Chọn công cụ Google Cloud phù hợp để chạy nhanh các mô hình hồi quy (regression), phân tích hiệu suất, tận dụng dữ liệu sẵn có trong BigQuery mà không cần di chuyển dữ liệu hoặc setup phức tạp.
📘 Bối cảnh cập nhật đến 2026: BigQuery ML (phiên bản mới nhất hỗ trợ các mô hình như linear regression, boosted trees, deep learning neural nets) là lựa chọn tối ưu cho SQL-based ML trên dữ liệu lớn, tích hợp trực tiếp với BigQuery, hỗ trợ AutoML Tables và các hàm ML.EVALUATE cho phân tích nhanh.

✅ Đáp án đúng và lý do lựa chọn

Đáp án đúng: Use BigQuery ML to run several regression models, and analyze their performance.

🧩 Lý do chi tiết:

  • BigQuery ML cho phép chạy trực tiếp các mô hình ML (bao gồm regression đơn giản, boosted trees, và thậm chí neural networks qua ARIMA_PLUS hoặc DNN) ngay trong BigQuery bằng SQL thuần túy, không cần code Python phức tạp hay di chuyển dữ liệu.
  • Self-service và siêu nhanh: Chỉ vài lệnh SQL, kết quả có trong vài giờ (scale tự động với BigQuery's serverless compute). Hỗ trợ ML.TRAIN, ML.EVALUATE, ML.GENERATE_EMBEDDING để phân tích performance metrics như RMSE, R² ngay lập tức.
  • Phù hợp hoàn hảo với dữ liệu structured từ BigQuery, tiết kiệm thời gian so với các tool khác cần setup.
    📘 Tài liệu tham khảo: BigQuery ML Documentation (cập nhật 2024-2026, hỗ trợ neural nets qua KERAS integration).

❌ Giải thích tất cả các phương án

Dưới đây là phân tích từng lựa chọn, giữ nguyên văn bản gốc bằng tiếng Anh:

  • ✅ Use BigQuery ML to run several regression models, and analyze their performance.
    🟢 Đúng vì: Như đã giải thích ở trên, đây là cách hiệu quả nhất, self-service, chạy đa mô hình (linear_reg, boosted_tree_reg, thậm chí DNN regressor) bằng SQL đơn giản, phân tích performance ngay trong BigQuery. Thời gian thực thi chỉ phút đến giờ, lý tưởng cho deadline "vài giờ".

  • ❌ Read the data from BigQuery using Dataproc, and run several models using SparkML.
    🔴 Sai vì: Dataproc (Hadoop/Spark cluster) yêu cầu setup cluster thủ công, export dữ liệu từ BigQuery (qua connectors), code SparkML phức tạp. Tốn thời gian provision cluster (có thể >1 giờ), không self-service, và kém hiệu quả cho dữ liệu structured nhỏ so với BigQuery ML serverless.

  • ❌ Use Vertex AI Workbench user-managed notebooks with scikit-learn code for a variety of ML algorithms and performance metrics.
    🔴 Sai vì: Vertex AI Workbench (user-managed notebooks) cần tạo instance thủ công, install libraries (scikit-learn), export dữ liệu từ BigQuery (qua BigQuery client). Code từ đầu cho nhiều mô hình, train/evaluate mất nhiều giờ, không self-service nhanh như SQL-based BigQuery ML.

  • ❌ Train a custom TensorFlow model with Vertex AI, reading the data from BigQuery featuring a variety of ML algorithms.
    🔴 Sai vì: Vertex AI custom training yêu cầu viết code TensorFlow đầy đủ, setup pipeline (Dataflow cho data ingestion từ BigQuery), config hyperparameters cho đa mô hình. Quá phức tạp và thời gian dài (hours to days), không phù hợp "vài giờ" và self-service; chỉ dùng khi cần mô hình custom cao cấp.

🛠️ Kết luận: BigQuery ML là lựa chọn tối ưu nhất cho task này, tận dụng serverless ML trong BigQuery để insights nhanh chóng! 🚀

Câu 88
You are an ML engineer at a bank. You have developed a binary classification model using AutoML Tables to predict whether a customer will make loan payments on time. The output is used to approve or reject loan requests. One customer’s loan request has been rejected by your model, and the bank’s risks department is asking you to provide the reasons that contributed to the model’s decision. What should you do?
  1. A Use local feature importance from the predictions.
  2. B Use the correlation with target values in the data summary page.
  3. C Use the feature importance percentages in the model evaluation page.
  4. D Vary features independently to identify the threshold per feature that changes the classification.
Xem giải thích

🧩 Phân tích chi tiết nội dung câu hỏi

Câu hỏi mô tả tình huống bạn là một kỹ sư ML làm việc tại ngân hàng, đã xây dựng mô hình phân loại nhị phân (binary classification) bằng AutoML Tables (nay là một phần của Vertex AI Tabular trong Google Cloud) để dự đoán xem khách hàng có trả nợ đúng hạn hay không. Kết quả mô hình dùng để phê duyệt hoặc từ chối yêu cầu vay. Một khách hàng bị từ chối vay, và bộ phận rủi ro ngân hàng yêu cầu giải thích lý do cụ thể dẫn đến quyết định của mô hình cho trường hợp này.

📌 Mục tiêu chính: Cần cung cấp giải thích cục bộ (local explanation) cho một dự đoán cụ thể (per-instance), không phải giải thích toàn cục (global) cho toàn bộ mô hình. AutoML Tables hỗ trợ tính năng giải thích dự đoán (explainable AI - XAI) qua local feature importance, giúp xác định các đặc trưng nào ảnh hưởng nhất đến quyết định cho instance đó. Điều này phù hợp với quy định tài chính như GDPR hoặc các yêu cầu minh bạch trong ngân hàng (ví dụ: "right to explanation").

🛠️ Bối cảnh kỹ thuật (cập nhật Vertex AI đến 2026): Vertex AI AutoML Tables (phiên bản mới nhất) cung cấp API predictions với tùy chọn explain để lấy local feature attributions. Không liên quan AWS (có lẽ nhầm lẫn chủ đề), mà là Google Cloud thuần túy.

✅ Đáp án đúng và lý do lựa chọn

Đáp án đúng: Use local feature importance from the predictions.

Lý do:

  • Đây là cách chính xác để lấy giải thích cục bộ cho một dự đoán cụ thể từ AutoML Tables. Khi gọi API predict với explain=True, mô hình trả về local feature importance (dựa trên phương pháp như Integrated Gradients hoặc Sampled Shapley), cho biết từng đặc trưng đóng góp bao nhiêu % vào quyết định cuối cùng (ví dụ: "thu nhập thấp góp -0.45 vào logit").
  • Phù hợp hoàn hảo cho yêu cầu "reasons that contributed to the model’s decision" cho một khách hàng cụ thể, đảm bảo minh bạch và tuân thủ quy định.
  • 📘 Nguồn tham khảo: Vertex AI Documentation - Explain predictions for tabular data (cập nhật 2024-2026, hỗ trợ AutoML Tables v1beta1+).

❌ Phân tích tất cả các phương án (đúng/sai)

  • Use local feature importance from the predictions.
    ✅ Đúng: Như giải thích trên, đây là tính năng chuẩn của Vertex AI predictions API, cung cấp attribution scores cho từng feature của instance cụ thể. Dễ implement qua prediction_service.predict() với explain_parameters. Hoàn hảo cho use case ngân hàng cần giải thích per-customer.

  • Use the correlation with target values in the data summary page.
    ❌ Sai: Correlation với target chỉ là phân tích toàn cục (global) trên dữ liệu huấn luyện, hiển thị trên Data Summary page trong console Vertex AI. Nó cho biết mối tương quan tổng quát giữa feature và target (ví dụ: Pearson correlation), không giải thích dự đoán cụ thể cho một khách hàng. Không đáp ứng yêu cầu "reasons for this customer's decision".

  • Use the feature importance percentages in the model evaluation page.
    ❌ Sai: Feature importance % trên Model Evaluation page là global feature importance (dựa trên permutation importance hoặc gain từ trees), áp dụng cho toàn mô hình. Nó xếp hạng feature quan trọng nhất overall, không phải cho instance cụ thể. Sử dụng cái này sẽ không giải thích chính xác tại sao khách hàng này bị reject.

  • Vary features independently to identify the threshold per feature that changes the classification.
    ❌ Sai: Đây là phương pháp counterfactual explanations (thay đổi feature để flip prediction, ví dụ: "nếu thu nhập tăng 20% thì approve"), không phải tính năng built-in sẵn của AutoML Tables. Vertex AI hỗ trợ một phần qua What-If Tool hoặc custom code (như với TensorFlow), nhưng tốn kém, không chính thức và không phải "should do" đầu tiên. Không hiệu quả cho giải thích nhanh.

🧠 Kết luận: Chọn local feature importance để đảm bảo XAI nhanh chóng, chính xác và scalable. Nếu cần code sample: Sử dụng Python SDK google-cloud-aiplatform với explain_request. Khuyến nghị kiểm tra bias/fairness thêm qua Vertex AI Model Monitoring! 🚀

Câu 89
You work for a magazine distributor and need to build a model that predicts which customers will renew their subscriptions for the upcoming year. Using your company’s historical data as your training set, you created a TensorFlow model and deployed it to AI Platform. You need to determine which customer attribute has the most predictive power for each prediction served by the model. What should you do?
  1. A Use AI Platform notebooks to perform a Lasso regression analysis on your model, which will eliminate features that do not provide a strong signal.
  2. B Stream prediction results to BigQuery. Use BigQuery’s CORR(X1, X2) function to calculate the Pearson correlation coefficient between each feature and the target variable.
  3. C Use the AI Explanations feature on AI Platform. Submit each prediction request with the ‘explain’ keyword to retrieve feature attributions using the sampled Shapley method.
  4. D Use the What-If tool in Google Cloud to determine how your model will perform when individual features are excluded. Rank the feature importance in order of those that caused the most significant performance drop when removed from the model.
Xem giải thích

🧩 Phân tích chi tiết nội dung câu hỏi

Câu hỏi này thuộc lĩnh vực Machine Learning trên Google Cloud Platform (GCP), cụ thể là Vertex AI (trước đây gọi là AI Platform). Bạn đang làm việc cho một nhà phân phối tạp chí, cần xây dựng mô hình dự đoán khách hàng có renew subscription (gia hạn đăng ký) cho năm tới hay không. Sử dụng dữ liệu lịch sử làm training set, bạn đã tạo mô hình TensorFlow và deploy lên AI Platform.

Yêu cầu chính: Xác định feature (thuộc tính khách hàng) nào có sức mạnh dự đoán (predictive power) cao nhất cho MỖI prediction (dự đoán riêng lẻ) mà mô hình phục vụ.

📌 Điểm mấu chốt: Không chỉ phân tích tổng quát trên dataset, mà cần feature attribution cho từng prediction cụ thể (per-instance explanations), sử dụng phương pháp Shapley values (sampled Shapley) để tính toán đóng góp của từng feature vào output của mô hình đó.

🛠️ Bối cảnh cập nhật 2026: Vertex AI (AI Platform Prediction) hỗ trợ AI Explanations (nay là Vertex AI Explainable AI - XAI) với các phương pháp như sampled Shapley, Integrated Gradients để giải thích mô hình black-box như TensorFlow. Đây là tính năng built-in, không cần code thêm phức tạp.

✅ Đáp án đúng và lý do lựa chọn

Đáp án đúng: Use the AI Explanations feature on AI Platform. Submit each prediction request with the ‘explain’ keyword to retrieve feature attributions using the sampled Shapley method.

Lý do:

  • Tính năng AI Explanations (trong Vertex AI Prediction/Endpoints) được thiết kế chính xác để cung cấp feature attributions (đóng góp của từng feature) cho từng prediction riêng lẻ, sử dụng sampled Shapley method – một thuật toán XAI chuẩn để phân bổ "credit" công bằng cho features dựa trên game theory.
  • Cách sử dụng đơn giản: Khi gọi API predict, thêm parameter explain (hoặc explanation trong SDK mới), mô hình sẽ trả về attributions bên cạnh prediction score.
  • Hoàn hảo cho yêu cầu "mỗi prediction served by the model", không cần export data hay tool ngoài.
  • 📘 Nguồn tham khảo:

🔍 Giải thích tất cả các phương án (đúng/sai)

  • [SAI] Use AI Platform notebooks to perform a Lasso regression analysis on your model, which will eliminate features that do not provide a strong signal.
    ❌ Sai vì: Lasso regression là kỹ thuật feature selection toàn cục (global) trên training data, dùng L1 regularization để loại features yếu. Không cung cấp per-instance attribution cho từng prediction. Hơn nữa, mô hình đã train TensorFlow (có thể deep learning), không dễ retrain Lasso. Không phù hợp với yêu cầu "mỗi prediction".

  • [SAI] Stream prediction results to BigQuery. Use BigQuery’s CORR(X1, X2) function to calculate the Pearson correlation coefficient between each feature và the target variable.
    ❌ Sai vì: Pearson correlation (CORR) chỉ đo mối quan hệ tuyến tính giữa feature và target trên toàn dataset (post-prediction), là phân tích global correlation, không phải local attribution cho từng prediction. Không giải thích cách model sử dụng features nội bộ, và yêu cầu stream data phức tạp không cần thiết.

  • [ĐÚNG] Use the AI Explanations feature on AI Platform. Submit each prediction request with the ‘explain’ keyword to retrieve feature attributions using the sampled Shapley method.
    ✅ Đúng vì: Như đã giải thích ở trên. Đây là giải pháp native, chính xác, hiệu quả của GCP cho XAI trên deployed models. Sampled Shapley tính attribution dựa trên coalitions ngẫu nhiên, scalable cho deep models.

  • [SAI] Use the What-If tool in Google Cloud to determine how your model will perform when individual features are excluded. Rank the feature importance in order of those that caused the most significant performance drop when removed from the model.
    ❌ Sai vì: What-If Tool (trong AI Platform Notebooks hoặc Colab) dùng permutation feature importance bằng cách loại từng feature và đo drop performance – đây là global importance trên batch datapoints, không phải per-instance cho từng prediction. Cần manual intervention, không tự động như API explain, và kém chính xác cho non-linear models so với Shapley.

🧠 Tóm tắt insight: Chọn AI Explanations vì nó trực tiếp, scalable và đúng yêu cầu per-prediction feature power. Các option khác chỉ global analysis hoặc không native! 🚀

Câu 90
You are working on a binary classification ML algorithm that detects whether an image of a classified scanned document contains a company’s logo. In the dataset, 96% of examples don’t have the logo, so the dataset is very skewed. Which metrics would give you the most confidence in your model?
  1. A F-score where recall is weighed more than precision
  2. B RMSE
  3. C F1 score
  4. D F-score where precision is weighed more than recall
Xem giải thích

🧩 Phân tích chi tiết nội dung câu hỏi

Câu hỏi tập trung vào việc lựa chọn metric đánh giá mô hình phù hợp nhất cho một bài toán phân loại nhị phân (binary classification): phát hiện xem một hình ảnh tài liệu quét (scanned document) có chứa logo của công ty hay không. 📸

  • Đặc điểm dataset: Rất mất cân bằng (skewed) với 96% mẫu không có logo (negative class chiếm đa số, chỉ 4% positive class có logo). Điều này thường dẫn đến mô hình dễ bias về majority class, bỏ sót minority class (các logo thực sự).
  • Mục tiêu: Tìm metric mang lại sự tự tin cao nhất (most confidence) vào mô hình, đặc biệt khi dataset imbalanced. Trong ML, với binary classification skewed, cần ưu tiên metric cân bằng giữa precision (độ chính xác khi dự đoán positive) và recall (khả năng phát hiện hết positive), tránh các metric không phù hợp như regression.
    🛠️ Bối cảnh AWS (SageMaker): Theo tài liệu AWS SageMaker mới nhất (2026), khi train model trên Amazon SageMaker cho classification skewed (như dùng XGBoost hoặc built-in algorithms), khuyến nghị dùng F-beta score với beta >1 để ưu tiên recall, đặc biệt cho fraud/logo detection nơi false negative (miss positive) đắt giá hơn. (Nguồn: AWS SageMaker Model Evaluation Metrics & Handling Imbalanced Data in SageMaker).

✅ Đáp án đúng: F-score where recall is weighed more than recall

Lý do chọn:

  • Trong dataset skewed nặng (96% negative), recall (true positive rate) quan trọng hơn precision vì mục tiêu là phát hiện hết logo (không bỏ sót) – false negative (miss logo) có thể dẫn đến rủi ro lớn (ví dụ: tài liệu giả mạo).
  • F-score (F-beta score) với beta > 1 (recall weighed more than precision) là lựa chọn tối ưu: Nó tích hợp harmonic mean của precision và recall, nhưng phạt nặng hơn nếu recall thấp, phù hợp imbalanced data.
  • Trên AWS SageMaker, metric này được hỗ trợ trực tiếp trong model monitor và hyperparameter tuning cho binary classification. 🏆
    (Nguồn: Scikit-learn F-beta score docs – tích hợp AWS).

📊 Giải thích tất cả các phương án

  • ✅ F-score where recall is weighed more than precision
    Đúng vì: Như giải thích trên, ưu tiên recall (beta >1) giúp mô hình tự tin hơn trong việc catch minority class (logo chỉ 4%), giảm false negative. Hoàn hảo cho skewed dataset trên SageMaker. 🥇

  • ❌ RMSE
    Sai vì: RMSE (Root Mean Squared Error) là metric cho regression (dự đoán số liên tục), không áp dụng cho classification (nhãn 0/1). Nó không đo precision/recall, dẫn đến đánh giá sai lệch hoàn toàn. 🚫 (Nguồn: AWS SageMaker metrics chỉ dùng RMSE cho regression tasks).

  • ❌ F1 score
    Sai vì: F1 là F-score với beta=1 (cân bằng precision và recall đều nhau). Với dataset skewed, F1 dễ bị bias bởi majority class (96% negative), không ưu tiên recall đủ mạnh để đảm bảo "confidence" cao khi detect logo hiếm. Không phải lựa chọn tốt nhất. ⚖️

  • ❌ F-score where precision is weighed more than recall
    Sai vì: F-beta với beta <1 ưu tiên precision (giảm false positive), nhưng ở đây precision đã cao tự nhiên do skewed (mô hình đoán negative hầu hết đúng). Điều này làm recall thấp, miss nhiều logo – ngược với nhu cầu confidence cho positive class. 😞