Which of the following command should Simon run in the EC2 instance to disable user account passwords?

Simon recently joined a multinational company as a cloud security engineer. Due to robust security services and products provided by AWS, his organization has been using AWS cloud-based services. Simon has launched an Amazon EC2 Linux instance to deploy an application. He would like to secure Linux AMI.

Which of the following command should Simon run in the EC2 instance to disable user account passwords?
A . passwd -D < USERNAME >
B . passwd -I < USERNAME >
C . passwd -d < USERNAME >
D . passwd -L < USERNAME >

Answer: D

Explanation:

To disable user account passwords on an Amazon EC2 Linux instance, Simon should use the command passwd -L <USERNAME>.

Here’s the detailed explanation:

Latest 312-40 Dumps Valid Version with 125 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments