ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 176 - DOP-C01 discussion

Report
Export

What is the correct syntax for the AWS command to create a single region trail?

A.
aws create-trail --name trailname --s3-object objectname
Answers
A.
aws create-trail --name trailname --s3-object objectname
B.
aws cloudtrail --s3-regionname IPaddress create-trail --name trailname
Answers
B.
aws cloudtrail --s3-regionname IPaddress create-trail --name trailname
C.
aws cloudtrail create-trail --name trailname --s3-bucket-name bucketname
Answers
C.
aws cloudtrail create-trail --name trailname --s3-bucket-name bucketname
D.
aws cloudtrail create-trail --name trailname --s3-portnumber IPaddress
Answers
D.
aws cloudtrail create-trail --name trailname --s3-portnumber IPaddress
Suggested answer: C

Explanation:

The command aws cloudtrail create-trail --name trailname --s3-bucket-name bucketname will create a single region trail. You must create a S3 bucket before you execute the command, with proper CloudTrail permissions applied to it (and you must have the AWS command line tools (CLI) on your system).

Reference: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-create-and-update-a-trailby-using-the-aws-cli.html

asked 16/09/2024
TANVIR ANJUM
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first