Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

EC-Council 312-40 Exam - Topic 11 Question 43 Discussion

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?
B) passwd -I < USERNAME >
A) passwd -D < USERNAME >
C) passwd -d < USERNAME >
D) passwd -L < USERNAME >

EC-Council 312-40 Exam - Topic 11 Question 43 Discussion

Actual exam question for EC-Council's 312-40 exam
Question #: 43
Topic #: 11
[All 312-40 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

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

passwd Command: The passwd command is used to update a user's authentication tokens (passwords).

-L Option: The -L option is used to lock the password of the specified user account, effectively disabling the password without deleting the user account itself.

Security Measure: Disabling passwords ensures that the user cannot authenticate using a password, thereby enhancing the security of the instance.


AWS Documentation: Securing Access to Amazon EC2 Instances

Linux man-pages: passwd(1)

Contribute your Thoughts:

0/2000 characters
Barney
10 days ago
A is what I would choose. Simple and effective.
upvoted 0 times
...
Simona
15 days ago
D is safer for security. Better to lock it.
upvoted 0 times
...
Jody
20 days ago
C seems logical. No password, no access.
upvoted 0 times
...
Ciara
25 days ago
I’m not sure, but B sounds wrong.
upvoted 0 times
...
Markus
1 month ago
A is definitely the command. Clear choice!
upvoted 0 times
...
Willow
1 month ago
I lean towards D. Locks the account, right?
upvoted 0 times
...
Octavio
1 month ago
I feel like it's C. Disabling passwords makes sense.
upvoted 0 times
...
Adela
2 months ago
I think it's A. Seems straightforward.
upvoted 0 times
...
Paola
2 months ago
No way, I thought it was B) passwd -I < USERNAME >.
upvoted 0 times
...
Shawnda
2 months ago
Definitely A) for disabling user passwords.
upvoted 0 times
...
Jin
2 months ago
Wait, can you really disable passwords like that? Sounds risky!
upvoted 0 times
...
King
2 months ago
I think it's actually C) passwd -d < USERNAME >.
upvoted 0 times
...
Kiley
2 months ago
A) passwd -D < USERNAME > is the right command!
upvoted 0 times
...
Mignon
3 months ago
I vaguely recall that "passwd -D " disables the password, but I can't remember if that's the same as locking the account.
upvoted 0 times
...
Estrella
3 months ago
I feel like "passwd -d " might be the right choice since it deletes the password, but I could be mixing it up with something else.
upvoted 0 times
...
Alesia
3 months ago
I remember practicing similar questions, and I think "passwd -L " is the one that locks the account, but I'm not 100% confident.
upvoted 0 times
...
Lucy
3 months ago
I think the command to disable user account passwords is related to locking the account, but I'm not entirely sure which one it is.
upvoted 0 times
...

Save Cancel