exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 653 discussion

Exam question from Amazon's AWS-SysOps
Question #: 653
Topic #: 1
[All AWS-SysOps Questions]

A SysOps Administrator must use a bastion host to administer a fleet of Amazon EC2 instances. All access to the bastion host is managed by the Security team.
What is the MOST secure way for the Security team to provide the SysOps Administrator access to the bastion host?

  • A. Assign the same IAM role to the Administrator that is assigned to the bastion host.
  • B. Provide the Administrator with the SSH key that was used for the bastion host when it was originally launched.
  • C. Create a new IAM role with the same permissions as the Security team, and assign it to the Administrator.
  • D. Create a new administrative account on the bastion host, and provide those credentials to the Administrator using AWS Secrets Manager.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
smplysam
Highly Voted 2 years, 6 months ago
D is the MOST secure way of providing access. Providing the SSH key that was used while launching the instance, means providing root access. Its definitely not advisable to share the original keypair, and you also wouldn't be sure if the SysOps Admin would keep it safe. By creating an Administrative account, you can still restrict the access that is required by the admin (ALMOST full access but not root access), and storing the credentials in AWS Secrets Manger would ensure that they are safe and secure.
upvoted 17 times
...
albert_kuo
Most Recent 10 months ago
Selected Answer: D
By creating a new administrative account on the bastion host, separate from the existing accounts managed by the Security team, and securely storing the credentials in AWS Secrets Manager, the Security team can provide controlled access to the SysOps Administrator. AWS Secrets Manager enables secure storage and retrieval of secrets, such as passwords and access keys, and provides integration with IAM for access management. This approach allows for fine-grained control over the access to the bastion host by managing the credentials separately. It also offers auditability and the ability to rotate the secrets periodically to enhance security.
upvoted 1 times
...
asfsdfsdf
2 years, 2 months ago
Selected Answer: D
I would go with D and not the default answer. Why not B? the orignal SSH key that the bastion was created is a PRIVATE key! You should never share your private key or else someone can use your identity. (this is why its called a PRIVATE key)
upvoted 2 times
...
RicardoD
2 years, 6 months ago
D is the answer
upvoted 1 times
...
abhishek_m_86
2 years, 6 months ago
D. Create a new administrative account on the bastion host, and provide those credentials to the Administrator using AWS Secrets Manager.
upvoted 1 times
...
jackdryan
2 years, 6 months ago
I'll go with D
upvoted 2 times
...
SONLE
2 years, 6 months ago
How can AWS Secrets Manager understand User/Password on Bastion Host. I go with B
upvoted 1 times
MegatonN
2 years, 6 months ago
user/pwd is not the only way to connect to a server: keys are also a way or rdp string encrypted are also a way. Then AWS SM can help us. And as other explain, sharing SSH key are not secure because you only know that someone? connect with this key ... and for ec2-user (who can sudo su to become root) it's not the right user to manage landscape via bastion: https://aws.amazon.com/blogs/security/how-to-use-aws-secrets-manager-securely-store-rotate-ssh-key-pairs/
upvoted 1 times
...
...
waterzhong
2 years, 6 months ago
Answer D:
upvoted 1 times
...
Pirulou
2 years, 6 months ago
D, is the MOST secure way.
upvoted 1 times
...
shammous
2 years, 6 months ago
B would be correct if a new key pair was provided. As the answer is mentioning the original key pair, I would avoid that answer and choose the more appropriate one which is D. A and C suggest providing similar credentials or role as the security team which doesn’t make sense.
upvoted 1 times
...
KhatriRocks
2 years, 6 months ago
B is not secure to share SSH keys! D is a better and more secure option
upvoted 2 times
...
JGD
2 years, 6 months ago
Answer D: B should be right if they not mentioned about "bastion host when it was originally launched". So, this not a correct answer. IF we are looking at a secure way of storing the keys, then Secret Manager is only an answer. Where, we can give access to the Security Team and their keys will be rotated based on the period we configure. https://aws.amazon.com/blogs/security/how-to-use-aws-secrets-manager-securely-store-rotate-ssh-key-pairs/
upvoted 1 times
...
teosinh
2 years, 6 months ago
I think B is correct. Because AWS Secrets Manager is seen at not relate to remote Bastion Host. Normally, it will use for authentication for some another services (rds, user/pass parameter need encrypt + rorate).
upvoted 2 times
...
gretch
2 years, 6 months ago
B http://justsomestuff.co.uk/theblog/2017/01/15/using-a-bastion-host-to-access-your-aws-ec2-instances/
upvoted 1 times
...
cloud
2 years, 6 months ago
D. Create a new administrative account on the bastion host, and provide those credentials to the Administrator using AWS Secrets Manager.
upvoted 1 times
...
awsnoob
2 years, 7 months ago
What if the bastion host is Winidows RDP? I inclined to choose D
upvoted 3 times
...
karmaah
2 years, 7 months ago
Both B & D are possible. But the question is Most Secure way which thinks to select D.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago