After an Amazon VPC instance is launched, can I change the VPC security groups it belongs to?

After an Amazon VPC instance is launched, can I change the VPC security groups it belongs to?
A . No. You cannot.
B . Yes. You can.
C . Only if you are the root user
D . Only if the tag "VPC_Change_Group" is true

Answer: C

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
YW
YW
5 years ago

Security groups are associated with network interfaces. After you launch an instance, you can change the security groups associated with the instance, which changes the security groups associated with the primary network interface (eth0). You can also change the security groups associated with any other network interface.
So answer is B