DAS-C01 · Question #82
A marketing company is using Amazon EMR clusters for its workloads. The company manually installs third-party libraries on the clusters by logging in to the master nodes. A data analyst needs to…
The correct answer is A. Place the required installation scripts in Amazon S3 and execute them using custom bootstrap E. Launch an Amazon EC2 instance with Amazon Linux and install the required third-party libraries. Both A and E provide automated, repeatable installation mechanisms. (A) EMR Bootstrap Actions are scripts stored in S3 that run automatically on every node during cluster startup-before Hadoop and application services start. This is the standard, built-in EMR mechanism for…
Question
A marketing company is using Amazon EMR clusters for its workloads. The company manually installs third-party libraries on the clusters by logging in to the master nodes. A data analyst needs to create an automated solution to replace the manual process. Which options can fulfill these requirements? (Choose two.)
Options
- APlace the required installation scripts in Amazon S3 and execute them using custom bootstrap
- BPlace the required installation scripts in Amazon S3 and execute them through Apache Spark in
- CInstall the required third-party libraries in the existing EMR master node.
- DUse an Amazon DynamoDB table to store the list of required applications.
- ELaunch an Amazon EC2 instance with Amazon Linux and install the required third-party libraries
How the community answered
(43 responses)- A77% (33)
- B14% (6)
- C5% (2)
- D5% (2)
Explanation
Both A and E provide automated, repeatable installation mechanisms. (A) EMR Bootstrap Actions are scripts stored in S3 that run automatically on every node during cluster startup-before Hadoop and application services start. This is the standard, built-in EMR mechanism for pre-installing software and is fully automated. (E) Creating a custom Amazon Machine Image (AMI) with the required libraries pre-baked is another valid automation strategy: you build and test the AMI once on an EC2 instance, then specify it when launching EMR clusters so every node has the libraries from the start. (B) Running installation scripts through Apache Spark is not reliable for system-level library installation. (C) Installing on an existing master node is manual and does not persist across new clusters. (D) A DynamoDB table alone cannot install software.
Topics
Community Discussion
No community discussion yet for this question.