exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 4 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 4
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company plans to stop using Amazon EC2 key pairs for SSH access, and instead plans to use AWS Systems Manager Session Manager. To further enhance security, access to Session Manager must take place over a private network only.
Which combinations of actions will accomplish this? (Choose two.)

  • A. Allow inbound access to TCP port 22 in all associated EC2 security groups from the VPC CIDR range.
  • B. Attach an IAM policy with the necessary Systems Manager permissions to the existing IAM instance profile.
  • C. Create a VPC endpoint for Systems Manager in the desired Region.
  • D. Deploy a new EC2 instance that will act as a bastion host to the rest of the EC2 instance fleet.
  • E. Remove any default routes in the associated route tables.
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
Augustoosouza
Highly Voted 3 years, 7 months ago
I choose B&C. A - wrong. There is no need to open doors. B - Correct C - Correct D - System Manager does not need a bation host. It's wrong. Ref: https://aws.amazon.com/en/blogs/aws/new-session-manager/ https://cloudonaut.io/goodbye-ssh-use-aws-session-manager-instead/
upvoted 27 times
...
[Removed]
Highly Voted 8 months, 1 week ago
B,C is the right answer.
upvoted 10 times
...
Tika01
Most Recent 2 years, 1 month ago
To use AWS Systems Manager Session Manager, the first step is to attach an IAM policy with the necessary Systems Manager permissions to the IAM instance profile associated with the EC2 instances. This will grant the instances permission to use Systems Manager to start and stop sessions using Session Manager. Next, to ensure that access to Session Manager takes place over a private network only, a VPC endpoint for Systems Manager needs to be created in the desired VPC. This endpoint will allow the instances in the VPC to communicate with the Systems Manager service without needing to traverse the public internet. Therefore, options A, D, and E are incorrect because they are not relevant to the scenario.
upvoted 2 times
...
jj22222
2 years, 3 months ago
Selected Answer: BC
looks right
upvoted 1 times
...
Bulti
2 years, 4 months ago
B,C is the right answer.
upvoted 1 times
...
Emekizle
2 years, 5 months ago
B and C
upvoted 1 times
...
Kaguar
3 years, 6 months ago
b and c
upvoted 2 times
...
Umer24
3 years, 6 months ago
Remaining Question # 58 (Topic 2) A. Update the attached IAM policies to allow access to the appropriate KMS key from the CodeDeploy role where the application will be deployed. B. Update the attached IAM policies to allow access to the appropriate KMS key from the EC2 instance roles where the application will be deployed. C. Update the CMK key policy to allow access to the appropriate KMS key from the CodeDeploy role where the application will be deployed. D. Update the CMK key policy to allow access to the appropriate KMS key from the EC2 instance roles where the application will be deployed. Answer-A
upvoted 5 times
rjagan
3 years, 6 months ago
Missing question..
upvoted 2 times
rjagan
3 years, 6 months ago
I'll go with A
upvoted 1 times
...
...
...
Umer24
3 years, 6 months ago
Question # 57 (Topic 2) A company uses AWS KMS with CMKs and manual key rotation to meet regulatory compliance requirements. The security team wants to be notified when any keys have not been rotated after 90 days. Which solution will accomplish this? A. Configure AWS KMS to publish to an Amazon SNS topic when keys are more than 90 days old. B. Configure an Amazon CloudWatch Events event to launch an AWS Lambda function to call the AWS Trusted Advisor API and publish to an Amazon SNS topic. C. Develop an AWS Config custom rule that publishes to an Amazon SNS topic when keys are more than 90 days old. D. Configure AWS Security Hub lo publish to an Amazon SNS topic when keys are more than 90 days old.
upvoted 3 times
GVGREAT
3 years, 6 months ago
C is the answer
upvoted 5 times
...
...
Umer24
3 years, 6 months ago
Remaining Question # 56 (Topic 2) B. Establish a permission boundary in the master account to restrict Regions and authorized services. Use AWS CloudFormation StackSet to provision roles with permissions for each job function, including an IAM trust policy for IAM identity provider authentication in each account. C. Establish a service control policy in the master account to restrict Regions and authorized services. Use AWS Resource Access Manager to share master account roles with permissions for each job function, including AWS SSO for authentication in each account. D. Establish a service control policy in the master account to restrict Regions and authorized services. Use CloudFormation StackSet to provision roles with permissions for each job function, including an IAM trust policy for IAM identity provider authentication in each account.
upvoted 2 times
mackbell
3 years, 6 months ago
Well I would go with service control policy so C or D should be correct. C wants to use RAM to share roles between master and child accounts. From this link: https://docs.aws.amazon.com/ram/latest/userguide/shareable.html I would say this is not possible. So I would go with D. Any thoughts?
upvoted 6 times
kyo
3 years, 6 months ago
I go with D too.
upvoted 2 times
...
...
solo18
3 years, 6 months ago
D is corrct
upvoted 4 times
...
...
Umer24
3 years, 6 months ago
Question # 56 (Topic 2) A company is using AWS Organizations and wants to implement a governance strategy with the following requirements: AWS resource access is restricted to the same two Regions for all accounts. AWS services are limited to a specific group of authorized services for all accounts. Authentication is provided by Active Directory. Access permissions are organized by job function and are identical in each account. Which solution will meet these requirements? A. Establish an organizational unit (OU) with group policies in the master account to restrict Regions and authorized services. Use AWS CloudFormation StackSets to provision roles with permissions for each job function, including an IAM trust policy for IAM identity provider authentication in each account.
upvoted 1 times
...
Umer24
3 years, 7 months ago
Remaining Question # 55 (Topic 2) A. Create an AWS Organizations SCP that denies access to all non-global services in non-US Regions Attach the policy to the root of the organization. B. Configure AWS CloudTrail to send logs to Amazon CloudWatch Logs and enable it for all Regions Use a CloudWatch Logs metric filter to send an alert on any service activity in non-US Regions. C. Use an AWS Lambda function that checks for AWS service activity and deploy it to all Regions Write an Amazon CloudWatch Events rule that runs the Lambda function every hour, sending an alert if activity is found in a non-US Region. D. Use an AWS Lambda function to query Amazon Inspector to look for service activity in non-US Regions and send alerts if any activity is found. E. Write a SCP using the awsRequestedRegion condition key limiting access to US Regions Apply the policy to all users, groups, and roles.
upvoted 3 times
rjagan
3 years, 6 months ago
Answer please..
upvoted 1 times
rjagan
3 years, 6 months ago
One option is C for sure. Anyone have idea about the other option?
upvoted 1 times
...
yyy
3 years, 6 months ago
I think: A B
upvoted 4 times
...
...
solo18
3 years, 6 months ago
B and C
upvoted 1 times
apcloud
2 years, 5 months ago
this is super super WRONG
upvoted 1 times
...
...
huynd6793
2 years, 6 months ago
Ans: AB
upvoted 3 times
apcloud
2 years, 5 months ago
this seems like the most likely answers.
upvoted 1 times
...
...
...
Umer24
3 years, 7 months ago
Question # 55 (Topic 2) A DevOps engineer is implementing governance controls for a company that requires its infrastructure to be housed within the United States. The engineer must restrict which Regions can be used. and ensure an alert is sent as soon as possible if any activity outside the governance policy takes place The controls should be automatically enabled on any new Region outside the United States. Which combination of actions will meet these requirements? (Select TWO)
upvoted 1 times
...
gmandala
3 years, 7 months ago
B and C for me
upvoted 1 times
...
svjl
3 years, 7 months ago
BC. D is wrong, SM replaces Bastion
upvoted 1 times
...
jackdryan
3 years, 7 months ago
I'll go with B,C
upvoted 3 times
...
ChauPhan
3 years, 7 months ago
B,C https://aws.amazon.com/premiumsupport/knowledge-center/ec2-systems-manager-vpc-endpoints/
upvoted 2 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