AWS Certified Machine Learning - Specialty Practice Test
AWS Certified Machine Learning - Specialty Practice Test practice questions, page 12 of 15, with answer review and explanations.
Question 56
A Machine Learning Specialist is preparing data for training on Amazon SageMaker. The Specialist is using one of the SageMaker built-in algorithms for the training. The dataset is stored in .CSV format and is transformed into a numpy.array, which appears to be negatively affecting the speed of the training. What should the Specialist do to optimize the data for training on SageMaker?
Use the SageMaker batch transform feature to transform the training data into a DataFrame.
Use AWS Glue to compress the data into the Apache Parquet format.
Transform the dataset into the RecordIO protobuf format.
Use the SageMaker hyperparameter optimization feature to automatically optimize the data.
Question 57
A Machine Learning Specialist is required to build a supervised image-recognition model to identify a cat. The ML Specialist performs some tests and records the following results for a neural network-based image classifier: Total number of images available = 1,000 Test set images = 100 (constant test set) The ML Specialist notices that, in over 75% of the misclassified images, the cats were held upside down by their owners. Which techniques can be used by the ML Specialist to improve this specific test error?
Increase the training data by adding variation in rotation for training images.
Increase the number of epochs for model training
Increase the number of layers for the neural network.
Increase the dropout rate for the second-to-last layer.
Question 58
A Machine Learning Specialist needs to be able to ingest streaming data and store it in Apache Parquet files for exploration and analysis. Which of the following services would both ingest and store this data in the correct format?
AWS DMS
Amazon Kinesis Data Streams
Amazon Kinesis Data Firehose
Amazon Kinesis Data Analytics
Question 59
A data scientist has explored and sanitized a dataset in preparation for the modeling phase of a supervised learning task. The statistical dispersion can vary widely between features, sometimes by several orders of magnitude. Before moving on to the modeling phase, the data scientist wants to ensure that the prediction performance on the production data is as accurate as possible. Which sequence of steps should the data scientist take to meet these requirements?
Apply random sampling to the dataset. Then split the dataset into training, validation, and test sets.
Split the dataset into training, validation, and test sets. Then rescale the training set and apply the same scaling to the validation and test sets.
Rescale the dataset. Then split the dataset into training, validation, and test sets.
Split the dataset into training, validation, and test sets. Then rescale the training set, the validation set, and the test set independently.
Question 60
A Machine Learning Specialist is assigned a TensorFlow project using Amazon SageMaker for training, and needs to continue working for an extended period with no Wi-Fi access. Which approach should the Specialist use to continue working?
Install Python 3 and boto3 on their laptop and continue the code development using that environment.
Download the TensorFlow Docker container used in Amazon SageMaker from GitHub to their local environment, and use the Amazon SageMaker Python SDK to test the code.
Download TensorFlow from tensorflow.org to emulate the TensorFlow kernel in the SageMaker environment.
Download the SageMaker notebook to their local environment, then install Jupyter Notebooks on their laptop and continue the development in a local notebook.