Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing

Question

You have a private S3 bucket that stores application logs and the bucket contents are accessible to all members of the Developer IAM group. However, you want to make an object inside the bucket which should only be accessible to the members of Admin IAM group.  How can you apply an S3 bucket policy to this object using AWS CLI?
  • put-bucket-policy --policy
  • put-bucket-policy --permission
  • put-bucket-policy--grants
  • None of the above
Answer- D