exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 323 discussion

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

An application you maintain consists of multiple EC2 instances in a default tenancy VPC. This application has undergone an internal audit and has been determined to require dedicated hardware for one instance. Your compliance team has given you a week to move this instance to single-tenant hardware.
Which process will have minimal impact on your application while complying with this requirement?

  • A. Create a new VPC with tenancy=dedicated and migrate to the new VPC
  • B. Use ec2-reboot-instances command line and set the parameter "dedicated=true"
  • C. Right click on the instance, select properties and check the box for dedicated tenancy
  • D. Stop the instance, create an AMI, launch a new instance with tenancy=dedicated, and terminate the old instance
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
You cannot change the tenancy of a default instance after you've launched it.
You can change the tenancy of an instance from ג€dedicatedג€ to ג€hostג€ after you've launched it, and vice versa.
Reference:
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/dedicated-instance.html#dedicated-apichanges

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
albert_kuo
10 months, 2 weeks ago
Selected Answer: D
By stopping the instance, creating an Amazon Machine Image (AMI) from it, and then launching a new instance from the AMI with the dedicated tenancy setting, you ensure that the application configuration, data, and setup remain consistent. This method allows you to migrate to a dedicated hardware instance without setting up an entirely new Virtual Private Cloud (VPC) or creating potential downtime associated with reconfiguration.
upvoted 1 times
...
xxxdolorxxx
2 years, 7 months ago
D gets my vote.
upvoted 1 times
...
bajwa360
2 years, 8 months ago
But in this question, they specified to shift one instance to dedicated not all infrastructure. If one instance is in question than D. is suitable to answer
upvoted 1 times
...
holydrac
2 years, 8 months ago
https://aws.amazon.com/about-aws/whats-new/2017/10/switch-the-tenancy-of-your-vpc-from-dedicated-to-default-instantly/
upvoted 1 times
...
holydrac
2 years, 8 months ago
Amazon EC2 now allows customers to switch the tenancy of existing VPCs from dedicated to default instantly, by using the AWS CLI/SDK.
upvoted 1 times
...
holydrac
2 years, 8 months ago
After you launch an instance, there are some limitations to changing its tenancy. You cannot change the tenancy of an instance from default to dedicated or host after you've launched it. You cannot change the tenancy of an instance from dedicated or host to default after you've launched it. You can change the tenancy of an instance from dedicated to host, or from host to dedicated after you've launched it. For more information, see Changing the Tenancy of an Instance.
upvoted 1 times
...
awscertified
2 years, 9 months ago
D. Stop the instance, create an AMI, launch a new instance with tenancy=dedicated, and terminate the old
upvoted 2 times
...
karmaah
2 years, 9 months ago
Few Important points to remember : default : Your instance runs on shared hardware. dedicated : Your instance runs on single-tenant hardware. But more instances from single ac can utlized the same dedicated H/w.Ref doc. host :Your instance runs on a Dedicated Host, which is an isolated server. After you launch an instance, there are some limitations to changing its tenancy. You cannot change the tenancy of an instance from default to dedicated or host after you've launched it. You cannot change the tenancy of an instance from dedicated or host to default after you've launched it. But You can do change the tenancy of an instance from dedicated to host, or from host to dedicated after you've launched it. No need to create seperate AMI. Refer the document he mentioned.
upvoted 1 times
...
RGT
2 years, 9 months ago
better explaination at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html
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 ...