MLA-C01 exam dumps

MLA-C01 practice question 162 of 458

AWS Certified Machine Learning Engineer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

MLA-C01 Question 162

Single answer

You are training a deep learning model on Amazon SageMaker for image classification. The dataset contains 10,000 images, and you want to train the model for 5 epochs using a batch size of 100. How many steps will the training process execute in total?

  1. A

    50 steps

  2. B

    500 steps

  3. C

    1,000 steps

  4. D

    5,000 steps

Show answer and explanation

Correct answer: C

Explanation

To calculate the total number of steps in the training process, you divide the total dataset size by the batch size to determine the number of steps per epoch, then multiply this by the number of epochs. In this scenario, the dataset size is 10,000, the batch size is 100, and the number of epochs is 5. Therefore, the total number of steps is (10,000 / 100) * 5 = 1,000 steps.

  • A. Incorrect.

    This option is incorrect because 50 steps would mean processing only a small fraction of the dataset per epoch, which does not match the given configuration.

  • B. Incorrect.

    This option is incorrect because 500 steps would imply fewer batches than necessary to process the entire dataset in 5 epochs.

  • C. Correct.

    This option is correct because the total number of steps is calculated as (total dataset size / batch size) * number of epochs. Here, (10,000 / 100) * 5 = 1,000.

  • D. Incorrect.

    This option is incorrect because 5,000 steps would imply significantly more steps than required, likely due to a misunderstanding of the batch size or epochs.

Timed practice exam

Take a MLA-C01 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam