Which solution will meet these requirements?
Deploy and configure the AWS Agentless Discovery Connector virtual appliance on the on-premises hosts. Configure Data Exploration in AWS Migration Hub. Use AWS Glue to perform an ETL job against the data. Query the data by using Amazon S3 Select.
Export only the VM performance information from the on-premises hosts. Directly import the required data into AWS Migration Hub. Update any missing information in Migration Hub. Query the data by using Amazon QuickSight.
Create a script to automatically gather the server information from the on-premises hosts. Use the AWS CLI to run the put-resource-attributes command to store the detailed server data in AWS Migration Hub. Query the data directly in the Migration Hub console.
Deploy the AWS Application Discovery Agent to each on-premises server. Configure Data Exploration in AWS Migration Hub. Use Amazon Athena to run predefined queries against the data in Amazon S3.
Explanations:
While the AWS Agentless Discovery Connector can gather metrics, it does not provide a complete solution for querying and analyzing the data as it requires AWS Glue for ETL, which is not specifically designed for this purpose without further context. Additionally, S3 Select may not be suitable for direct querying of the data gathered from AWS Migration Hub.
This option suggests exporting VM performance information directly to AWS Migration Hub, which does not inherently support detailed server metrics such as CPU, RAM, and processes. QuickSight can visualize data, but it cannot directly query data in Migration Hub without proper context or integration.
While scripting to gather server information is valid, using the AWS CLI to run the put-resource-attributes command does not effectively store all necessary metrics. Migration Hub is primarily designed for tracking migration progress, not for detailed querying of metrics.
Deploying the AWS Application Discovery Agent provides a comprehensive solution to gather detailed server metrics. The configuration of Data Exploration in AWS Migration Hub allows for the collection of data, and using Amazon Athena to run queries against the data stored in Amazon S3 effectively meets the requirement for querying and analyzing the gathered data.