- Packt Publishing has created the following IAM policy to control access on an S3 bucket. What does this policy do?
{
"Version":"2012-10-17",
"Statement":[
{
"Effect":"Allow",
"Action":[
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject",
"s3:ListBucket"
],
"Resource":"arn:aws:s3:::packtcontent/${aws:username}/*"
}
]
}
A: Grants access to the packtcontent bucket to all the users.
B: Grants access to a folder within the packtcontent bucket where the folder name dynamically matches with the username requesting the access.
C: Grants access to the bucket named username.
D: This policy is incorrect.
- What is the significance of the IP address 169.254.169.254 in EC2 instances?
A: It can retrieve instance metadata, such as ami-id, local-ipv4, instance-id, hostname, and...