Correct Answer – D
It is given in the AWS documentation that: You can use AWS OpsWorks Stacks to configure and manage both Linux and Windows EC2 instances. But there is no need for EC2 instance, the question focuses on compute servers on the data centres means outside of AWS.
A VPC endpoint enables private connections between your VPC and supported AWS services and VPC endpoint services powered by AWS PrivateLink. VPC endpoints are virtual devices.
To use AWS OpsWorks for servers in customer data centres, the servers should have Linux operating systems with an OpsWorks Stacks agent installed and connectivity to AWS Public endpoints.
Using AWS OpsWorks Stacks to create Amazon EC2 instances, you can also register instances with a Linux stack that were created outside of AWS OpsWorks Stacks. However, they must be running one of the supported Linux distributions. You cannot register Amazon EC2 or on-premises Windows instances.
Option A is incorrect because servers deployed at customer data centres only supports Linux OS, not both.
Option B is incorrect because servers deployed at customer data centres should have connectivity to AWS public endpoints instead of private endpoints.
Options C is incorrect because on-premise servers should have Linux OS instead of Windows OS.
For more information on AWS OpsWorks, refer to the following URLs:
https://aws.amazon.com/opsworks/stacks/features/
https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html
https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.html