exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 100 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 100
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A company has five AWS accounts and wants to use AWS CloudTrail to log API calls. The log files must be stored in an Amazon S3 bucket that resides in a new account specifically built for centralized services with a unique top-level prefix for each trail. The configuration must also enable detection of any modification to the logs.
Which of the following steps will implement these requirements? (Choose three.)

  • A. Create a new S3 bucket in a separate AWS account for centralized storage of CloudTrail logs, and enable ג€Log File Validationג€ on all trails.
  • B. Use an existing S3 bucket in one of the accounts, apply a bucket policy to the new centralized S3 bucket that permits the CloudTrail service to use the "s3: PutObject" action and the "s3 GetBucketACL" action, and specify the appropriate resource ARNs for the CloudTrail trails.
  • C. Apply a bucket policy to the new centralized S3 bucket that permits the CloudTrail service to use the "s3 PutObject" action and the "s3 GelBucketACL" action, and specify the appropriate resource ARNs for the CloudTrail trails.
  • D. Use unique log file prefixes for trails in each AWS account.
  • E. Configure CloudTrail in the centralized account to log all accounts to the new centralized S3 bucket.
  • F. Enable encryption of the log files by using AWS Key Management Service
Show Suggested Answer Hide Answer
Suggested Answer: ACD 🗳️

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
chaudh
Highly Voted 3 years, 7 months ago
ACD is my answer. A & C are correct, things we need to setup at the destination bucket (create new bucket in centralized account and configure bucket policy for that). B is incorrect. (use existing bucket but apply policy to new bucket...) F is incorrect. (not required in question). E is incorrect, don't need to configure CloudTrail in centralized account. This account is specifically built for centralized services. Company only wants to log API calls in 5 accounts only, not this specialized account. And to stream logs from 5 account, we don't need to turn on or configure CloudTrail in centralized account, we need to configure CloudTrail trails in member accounts instead. The only thing we need from centralized account is S3 bucket. D is correct. prefix setting will help to put each trail log into separated folder inside the centralized bucket. Because the question requires top-level must be prefix then we need to set prefix in member trail.
upvoted 48 times
scuzzy2010
3 years, 6 months ago
E is correct, please read here : Step 1 : Turn on CloudTrail in the account where the destination bucket will belong https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-receive-logs-from-multiple-accounts.html
upvoted 1 times
Kdosec
3 years, 6 months ago
No, we can configure Cloudtrail at the centralized account, we must configure cloudtrail on each account. So, ACD is correct.
upvoted 3 times
...
CloudMasterGuru
3 years, 6 months ago
I have seen this link. The link presents a completely different scenario with the destination account also is included in the total four accounts who need cloud trail to be enabled. Read step 3 which confirms it. Answer is ACE.
upvoted 2 times
CloudMasterGuru
3 years, 6 months ago
Sorry typo, Answer is ACD.
upvoted 2 times
...
...
...
chaudh
3 years, 7 months ago
Note that, prefix is optional, without prefix the top-level (inside bucket) will be AWSLogs (e.g. bucket_name/AWSLogs). If specified, it will be bucket_name/prefix_name/AWSLogs https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-receive-logs-from-multiple-accounts.html https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html
upvoted 9 times
knc
2 years, 7 months ago
You are right but here in the question, unique prefix is the specific requirement to be satisfied. so ACD is correct.
upvoted 1 times
...
...
...
Milind
Highly Voted 3 years, 7 months ago
ACE is correct Answer. If you have created an organization in AWS Organizations, you can create a trail that will log all events for all AWS accounts in that organization. This is sometimes referred to as an organization trail. You can also choose to edit an existing trail in the master account and apply it to an organization, making it an organization trail. Organization trails log events for the master account and all member accounts in the organization. For more information about AWS Organizations, see Organizations Terminology and Concepts. Note Reference: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-trail-organization.html You must be logged in with the master account for the organization in order to create an organization trail. You must also have sufficient permissions for the IAM user or role in the master account in order to successfully create an organization trail. If you do not have sufficient permissions, you will not see the option to apply a trail to an organization.
upvoted 26 times
[Removed]
3 years, 7 months ago
It's A, C, D. There's no discussion about using organizations and using the master account. It clearly says: they create a new account used for centralizing logs. Therefore E is incorrect in this use case.
upvoted 5 times
[Removed]
3 years, 7 months ago
It's ACE, ignore my previous comment. Even though it's right there is no discussions about organizations, the steps in order are to: Turn on cloudtrail in the account where the destination bucket for centralized logging will be: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-receive-logs-from-multiple-accounts.html
upvoted 4 times
...
...
...
Raphaello
Most Recent 1 year, 3 months ago
Selected Answer: ACE
ACE. 1. set S3 bucket in new account centralized account as requested. 2. configure CloudTrail trail in the centralize account, setting member accounts to log to a centralized S3 bucket. 3. ensure the bucket policy allow CloudTrail to put objects and list bucket. Prefix is handled by CloudTrail.
upvoted 1 times
...
diego1984
1 year, 10 months ago
Selected Answer: ADE
A. Create a new S3 bucket in a separate AWS account for centralized storage of CloudTrail logs and enable Log File Validation on all trails. This ensures that log files are stored securely and any modifications to the logs are detected. D. Use unique log file prefixes for trails in each AWS account. By specifying unique top-level prefixes for each trail, you can organize and differentiate the log files from different accounts within the centralized S3 bucket. E. Configure CloudTrail in the centralized account to log all accounts to the new centralized S3 bucket. This allows you to consolidate the CloudTrail logs from all five AWS accounts into the central S3 bucket, providing a unified view and centralized storage for the logs.
upvoted 1 times
diego1984
1 year, 10 months ago
These three steps fulfill the requirements of storing CloudTrail logs in a specific S3 bucket in a separate account with unique prefixes for each trail, enabling log file validation, and consolidating logs from multiple AWS accounts. Option B is incorrect because it suggests using an existing S3 bucket and applying a bucket policy. However, the requirements state that a new S3 bucket should be created specifically for centralized storage of CloudTrail logs. Option C is incorrect because it misspells GetBucketACL as GelBucketACL and does not mention creating a separate account for centralized services, which is a requirement in the scenario. Option F is not mentioned in the requirements and therefore is not necessary to fulfill the given requirements.
upvoted 1 times
...
...
ITGURU51
1 year, 11 months ago
The answer is ACD. Log file validation is a business requirement which gets configured from the centralized storage account. Using unique log file prefixes for each trail in AWS CloudTrail is important because it helps you to easily identify which AWS account and region the log files belong to. This is because the log file names include the AWS account ID, region name, and unique string.
upvoted 1 times
...
michele_scar
1 year, 11 months ago
Selected Answer: ACE
D is not mandatory because cloud trail give in automatic a unique prefix. https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-receive-logs-from-multiple-accounts.html
upvoted 1 times
...
huyrk102
2 years, 2 months ago
Selected Answer: ACD
"enable detection of any modification to the logs" => enable ג€Log File Validationג€ on all trail https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-log-file-validation-intro.html
upvoted 2 times
...
Nan001
2 years, 2 months ago
per ChatGPT: Option D suggests using unique log file prefixes for trails in each AWS account, which can help to keep the logs organized and easier to manage, but it's not strictly necessary for the initial setup of centralized logging. Option E, is a critical step and should be included as one of the three steps in the answer. So the answer could be B, C, and E or B, D, and E depending on which option is chosen for the second step.
upvoted 1 times
...
knc
2 years, 7 months ago
Selected Answer: ACD
ACD A. supports log file validation C. supports required permissions D. unique prefix requirement
upvoted 2 times
...
sapien45
2 years, 8 months ago
Selected Answer: ACD
I checked our own centralized Cloudtrail, and there is no mention of Organisational Trail. I believe it is ACD. F is good to have but not requested
upvoted 3 times
...
dcasabona
2 years, 9 months ago
Selected Answer: ACD
ACD is my answer.
upvoted 1 times
...
sapien45
2 years, 9 months ago
Selected Answer: ACE
D is optional E is mandatory
upvoted 1 times
...
Geetar
2 years, 10 months ago
Annoying question. ACD looks right but unique prefixes are a default as uses account number. ACE looks kind of right as you do need to enable CT in the central account but you do not actually orchestrate the logging from other accounts from the central account. The other accounts just point to the central accounts CT bucket.
upvoted 1 times
...
alghoundar
3 years, 3 months ago
ACD is perfect for me. B is wrong, a special account is created for centralized log storage so so the bucket has to be in that account. E is wrong cloudtrail has to be enabled in every account not only in the central one. F is wrong the question is about integrity not confidentiality so validation not encryption.
upvoted 2 times
...
Radhaghosh
3 years, 3 months ago
A. Create a new S3 bucket in a separate AWS account for centralized storage of CloudTrail logs, and enable ג€Log File Validationג€ on all trails. C. Apply a bucket policy to the new centralized S3 bucket that permits the CloudTrail service to use the "s3 PutObject" action and the "s3 GelBucketACL" action, and specify the appropriate resource ARNs for the CloudTrail trails. D. Use unique log file prefixes for trails in each AWS account.
upvoted 1 times
...
NSF2
3 years, 3 months ago
It got to ACE D is not a mandatory requirement as per below link. https://aws.amazon.com/blogs/security/sharing-aws-cloudtrail-log-files-between-accounts/
upvoted 1 times
VikramCh
3 years, 2 months ago
but the question is asking to about "Each trail must have its own unique top-level prefix". so D could be one of the answers.
upvoted 2 times
...
...
IMAHM
3 years, 5 months ago
A, C and D
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago