A company has an application that analyzes photographs. A developer is preparing the application for deployment to Amazon EC2 instances. The application's image...
Amazon DVA-C01 Exam
Questions Number: 8 out of 72 Questions
11.11%
Question 8
A company has an application that analyzes photographs. A developer is preparing the application for deployment to Amazon EC2 instances. The application's image analysis functions require a mix of GPU instances and CPU instances that run on Amazon Linux. The developer needs to add code to the application so that the functions can determine whether they are running on a GPU instance. What should the functions do to obtain this information?