Question 161:
You work in the security team, and you need to ensure that all EC2 instances have installed certain latest security patches in time. However, the requirement is that the patches are installed in the dev and test environments for a week before they are installed in production instances. All EC2 instances can be differentiated via Tags. What is the best way to implement this using AWS Systems Manager?
Answer options:
A.Create a customized Patch Baseline. Create several Patch Groups for dev, test, and production instances and tag the instances. Associate the Patch Groups with the new Patch Baseline. Schedule the patching in a maintenance window as required. B.Tag the instances using dev, test, and production. In Systems Manager, run the command of “AWS-InstallPatches” based on the tags. C.Use a predefined default Patch Baseline. Add tags of dev, test, and production to relevant EC2 instances. Associate the Patch Baseline with EC2 instances via tags. D.Use Systems Manager session manager to configure the patching for EC2 instances. Apply required patches accordingly after you remote login into the server.