IAM stands for Identity and Access Management, the AWS service used to securely control access to AWS resources.
Incorrect! Try again.
2Which of the following is an example of an IAM identity?
IAM Identities
Easy
A.VPC Subnet
B.S3 Bucket
C.IAM User
D.EC2 Instance
Correct Answer: IAM User
Explanation:
IAM identities include users, groups, and roles. An IAM user is a direct example of an IAM identity.
Incorrect! Try again.
3In what format are IAM policies most commonly written?
IAM Policies
Easy
A.YAML only
B.JSON
C.CSV
D.Binary
Correct Answer: JSON
Explanation:
IAM policies are documents written in JSON format that define permissions for actions on resources.
Incorrect! Try again.
4What does an IAM user primarily represent?
IAM Users
Easy
A.A person or application that interacts with AWS
B.A physical server in a data center
C.A billing invoice for AWS services
D.A network firewall rule
Correct Answer: A person or application that interacts with AWS
Explanation:
An IAM user represents a person or application that needs to interact with AWS resources, with its own credentials.
Incorrect! Try again.
5What is the main purpose of an IAM group?
IAM Groups
Easy
A.To attach permissions to multiple users at once
B.To encrypt network traffic
C.To launch virtual machines
D.To store data objects in the cloud
Correct Answer: To attach permissions to multiple users at once
Explanation:
An IAM group is a collection of users, allowing you to assign the same permissions to many users easily.
Incorrect! Try again.
6Which statement best describes an IAM role?
IAM Roles
Easy
A.A permanent password for the root account
B.A storage bucket for log files
C.An identity with permissions that can be assumed temporarily
D.A billing alert for cost control
Correct Answer: An identity with permissions that can be assumed temporarily
Explanation:
An IAM role provides temporary permissions that can be assumed by users, applications, or AWS services, without long-term credentials.
Incorrect! Try again.
7What is Amazon Cognito mainly used for?
Amazon Cognito
Easy
A.Storing large datasets in warehouses
B.Monitoring EC2 instance CPU usage
C.Managing DNS records
D.User sign-up, sign-in, and access control for apps
Correct Answer: User sign-up, sign-in, and access control for apps
Explanation:
Amazon Cognito provides authentication, authorization, and user management for web and mobile applications.
Incorrect! Try again.
8AWS Managed Microsoft AD provides a managed version of which directory service?
AWS Managed Microsoft AD
Easy
A.Microsoft Active Directory
B.Oracle Database
C.Linux LDAP only
D.Google Workspace
Correct Answer: Microsoft Active Directory
Explanation:
AWS Managed Microsoft AD is a fully managed service built on actual Microsoft Active Directory in the AWS Cloud.
Incorrect! Try again.
9What is the primary benefit of AWS Single Sign-On (SSO)?
AWS single Sign-on
Easy
A.Access multiple AWS accounts and apps with one login
B.Generate database backups
C.Automatically patch operating systems
D.Compress files before storage
Correct Answer: Access multiple AWS accounts and apps with one login
Explanation:
AWS SSO lets users sign in once to access multiple AWS accounts and business applications centrally.
Incorrect! Try again.
10What is AWS Key Management Service (KMS) used for?
AWS Key Management Service
Easy
A.Creating and managing encryption keys
B.Load balancing traffic
C.Monitoring API calls
D.Hosting static websites
Correct Answer: Creating and managing encryption keys
Explanation:
AWS KMS allows you to create, control, and manage cryptographic encryption keys used to protect data.
Incorrect! Try again.
11Which type of information is AWS Secrets Manager designed to store?
AWS Secrets Manager
Easy
A.CloudWatch dashboards
B.Virtual machine images
C.Network routing tables
D.Database credentials and API keys
Correct Answer: Database credentials and API keys
Explanation:
AWS Secrets Manager securely stores and rotates secrets such as database credentials, API keys, and passwords.
Incorrect! Try again.
12What does the HSM in AWS CloudHSM stand for?
AWS Cloud HSM
Easy
A.Hybrid Storage Manager
B.Hosted Server Monitor
C.Hardware Security Module
D.High Speed Memory
Correct Answer: Hardware Security Module
Explanation:
CloudHSM provides a dedicated Hardware Security Module for generating and using your own encryption keys.
Incorrect! Try again.
13What is the primary function of AWS CloudTrail?
CloudTrail
Easy
A.Managing user passwords
B.Delivering content globally
C.Recording API calls and account activity
D.Scaling EC2 instances automatically
Correct Answer: Recording API calls and account activity
Explanation:
AWS CloudTrail records API calls and account activity, providing an audit trail of actions taken in your AWS account.
Incorrect! Try again.
14In CloudTrail, management events typically capture which kind of operations?
Management Events
Easy
A.User login screen colors
B.Network packet contents
C.Only read operations on S3 objects
D.Control plane operations like creating resources
Correct Answer: Control plane operations like creating resources
Explanation:
Management events record control plane operations, such as configuring security or creating and deleting resources.
Incorrect! Try again.
15Data events in CloudTrail provide visibility into which type of activity?
Data Events
Easy
A.DNS zone transfers
B.Billing and payment history
C.IAM group creation
D.Resource-level operations such as S3 object access
Correct Answer: Resource-level operations such as S3 object access
Explanation:
Data events capture resource-level operations, for example reading or writing S3 objects or invoking Lambda functions.
Incorrect! Try again.
16What does CloudTrail log file integrity validation help you verify?
Log File Integrity Validation
Easy
A.Whether log files were modified or deleted
B.The cost of running services
C.The region of a VPC
D.The CPU usage of instances
Correct Answer: Whether log files were modified or deleted
Explanation:
Log file integrity validation helps you determine whether a CloudTrail log file was changed, deleted, or unmodified after delivery.
Incorrect! Try again.
17What is Amazon CloudWatch primarily used for?
CloudWatch
Easy
A.Encrypting S3 buckets
B.Storing relational databases
C.Monitoring resources and applications
D.Managing IAM users
Correct Answer: Monitoring resources and applications
Explanation:
Amazon CloudWatch is a monitoring service that collects metrics, logs, and events for AWS resources and applications.
Incorrect! Try again.
18What does a CloudWatch alarm do when a metric crosses a defined threshold?
CloudWatch Alarms
Easy
A.Deletes the monitored resource
B.Creates a new AWS account
C.Encrypts the metric data
D.Triggers an action or notification
Correct Answer: Triggers an action or notification
Explanation:
A CloudWatch alarm watches a metric and performs an action, such as sending a notification, when it crosses a set threshold.
Incorrect! Try again.
19Amazon EventBridge is best described as what type of service?
Amazon Event Bridge
Easy
A.A serverless event bus for connecting applications
B.A relational database engine
C.A file storage system
D.A virtual private network
Correct Answer: A serverless event bus for connecting applications
Explanation:
Amazon EventBridge is a serverless event bus that routes events between AWS services, applications, and SaaS sources.
Incorrect! Try again.
20What is the main purpose of AWS Config?
AWS Config
Easy
A.Compressing data for backups
B.Running containerized applications
C.Tracking resource configurations and changes
D.Delivering email notifications
Correct Answer: Tracking resource configurations and changes
Explanation:
AWS Config records and evaluates the configurations of your AWS resources, tracking how they change over time.
Incorrect! Try again.
21An EC2 instance needs to read objects from an S3 bucket without storing long-term credentials on the instance. What is the recommended IAM approach?
IAM Roles
Medium
A.Use the root account credentials
B.Attach an IAM role to the instance
C.Store an access key in the user data script
D.Create an IAM user and embed its keys
Correct Answer: Attach an IAM role to the instance
Explanation:
IAM roles provide temporary credentials to EC2 instances via an instance profile, avoiding the need to store long-term keys on the instance.
Incorrect! Try again.
22In an IAM policy, if an explicit Allow and an explicit Deny both apply to the same action, what is the result?
IAM Policies
Medium
A.Access is allowed
B.Access is denied
C.The policy is invalid
D.Access is logged but allowed
Correct Answer: Access is denied
Explanation:
IAM policy evaluation gives an explicit Deny the highest precedence; it always overrides any Allow.
Incorrect! Try again.
23A company wants to grant the same set of permissions to 50 developers efficiently. What is the best practice?
IAM Groups
Medium
A.Create one shared IAM user for all developers
B.Use the root account for all developers
C.Attach the policy to an IAM group and add users to it
D.Attach the policy to each user individually
Correct Answer: Attach the policy to an IAM group and add users to it
Explanation:
IAM groups let you manage permissions for many users at once; policies attached to the group apply to all members.
Incorrect! Try again.
24A mobile app needs to let users sign in with Google and Facebook and receive temporary AWS credentials. Which service feature handles this?
Amazon Cognito
Medium
A.CloudTrail event federation
B.Cognito Identity Pools with federated identities
C.AWS Managed Microsoft AD
D.IAM Groups with external keys
Correct Answer: Cognito Identity Pools with federated identities
Explanation:
Cognito Identity Pools federate external identity providers and exchange their tokens for temporary AWS credentials.
Incorrect! Try again.
25Which statement best describes how AWS KMS handles encryption of large S3 objects efficiently?
AWS Key Management Service
Medium
A.It uses the CMK private key on the client
B.It stores objects unencrypted and hashes them
C.It encrypts the whole object directly with the CMK
D.It uses envelope encryption with a data key
Correct Answer: It uses envelope encryption with a data key
Explanation:
KMS generates a data key to encrypt the data locally, then encrypts that data key with the CMK—this is envelope encryption.
Incorrect! Try again.
26What capability distinguishes AWS Secrets Manager from simply storing credentials in Parameter Store?
AWS Secrets Manager
Medium
A.Built-in load balancing
B.Automatic data compression
C.Automatic rotation of secrets
D.Free unlimited storage
Correct Answer: Automatic rotation of secrets
Explanation:
Secrets Manager supports automatic, scheduled rotation of secrets such as database credentials using Lambda functions.
Incorrect! Try again.
27An organization requires single-tenant, FIPS 140-2 Level 3 validated hardware where they fully control the keys. Which service fits best?
AWS Cloud HSM
Medium
A.AWS KMS multi-tenant keys
B.AWS Secrets Manager
C.Amazon Cognito
D.AWS CloudHSM
Correct Answer: AWS CloudHSM
Explanation:
CloudHSM provides dedicated, single-tenant FIPS 140-2 Level 3 hardware security modules under full customer control.
Incorrect! Try again.
28A security team wants a record of every API call made in their AWS account across all regions. Which configuration should they use?
CloudTrail
Medium
A.A multi-region CloudTrail trail
B.AWS Config snapshots
C.A single-region trail only
D.CloudWatch metric filters
Correct Answer: A multi-region CloudTrail trail
Explanation:
A multi-region trail captures API activity across all AWS regions and delivers it to a single S3 bucket.
Incorrect! Try again.
29Which of the following is logged as a CloudTrail data event rather than a management event?
Data Events
Medium
A.S3 GetObject on a specific object
B.Creating an IAM user
C.Launching an EC2 instance
D.Modifying a security group
Correct Answer: S3 GetObject on a specific object
Explanation:
Data events track resource-level operations like S3 object reads/writes and Lambda invocations; management events track control-plane operations.
Incorrect! Try again.
30How long does CloudTrail Event History retain viewable activity by default without creating a trail?
Event History
Medium
A.30 days
B.1 year
C.90 days
D.7 days
Correct Answer: 90 days
Explanation:
CloudTrail Event History automatically keeps the last 90 days of management events viewable without configuring a trail.
Incorrect! Try again.
31What does CloudTrail log file integrity validation primarily allow you to verify?
Log File Integrity Validation
Medium
A.That logs are compressed correctly
B.That logs are encrypted at rest
C.That logs were not modified or deleted after delivery
D.That API calls were successful
Correct Answer: That logs were not modified or deleted after delivery
Explanation:
Integrity validation uses digest files with hashing and signing so you can detect any tampering or deletion of delivered log files.
Incorrect! Try again.
32By default, standard CloudWatch monitoring for EC2 delivers metrics at what interval?
CloudWatch Metrics
Medium
A.5 minutes
B.15 minutes
C.10 seconds
D.1 minute
Correct Answer: 5 minutes
Explanation:
Standard (basic) monitoring reports metrics every 5 minutes; enabling detailed monitoring reduces this to 1 minute.
Incorrect! Try again.
33You want to trigger an action only when average CPU exceeds 80% for 3 consecutive 5-minute periods. Which CloudWatch alarm settings achieve this?
CloudWatch Alarms
Medium
A.Threshold 80%, period 15 min, evaluation periods 1
B.Threshold 80%, period 5 min, evaluation periods 3
C.Threshold 240%, period 5 min, evaluation periods 1
D.Threshold 80%, period 1 min, evaluation periods 3
Correct Answer: Threshold 80%, period 5 min, evaluation periods 3
Explanation:
The threshold defines the limit, the period defines the data window, and evaluation periods set how many consecutive periods must breach before alarming.
Incorrect! Try again.
34To extract numeric values from application log lines and turn them into a CloudWatch metric, what should you create?
CloudWatch Logs
Medium
A.A CloudTrail trail
B.A metric alarm directly on text
C.A metric filter
D.A log group alias
Correct Answer: A metric filter
Explanation:
Metric filters scan CloudWatch Logs for matching patterns and publish extracted values as custom CloudWatch metrics.
Incorrect! Try again.
35Which capability makes Amazon EventBridge preferable over basic CloudWatch Events for integrating with external SaaS applications?
Amazon Event Bridge
Medium
A.Built-in HSM support
B.Support for third-party SaaS event sources via partner event buses
C.Automatic log encryption
D.Lower per-metric cost
Correct Answer: Support for third-party SaaS event sources via partner event buses
Explanation:
EventBridge extends event routing to SaaS partners and custom applications through partner and custom event buses.
Incorrect! Try again.
36An auditor asks whether all EBS volumes have been encrypted at every point in time over the last month. Which service answers this best?
AWS Config
Medium
A.AWS Config with configuration history
B.CloudWatch metrics
C.Amazon Cognito
D.CloudTrail Event History
Correct Answer: AWS Config with configuration history
Explanation:
AWS Config records resource configurations over time and can evaluate compliance historically against rules.
Incorrect! Try again.
37In AWS Config, what does a Configuration Item (CI) represent?
Configuration Items
Medium
A.A billing line item
B.A CloudWatch alarm state
C.A real-time API call log
D.A point-in-time snapshot of a resource's attributes
Correct Answer: A point-in-time snapshot of a resource's attributes
Explanation:
A Configuration Item captures the state, relationships, and metadata of a resource at a specific point in time.
Incorrect! Try again.
38If the AWS Config configuration recorder is stopped, what happens?
Configuration Recorder
Medium
A.New configuration changes are no longer recorded
B.CloudTrail stops logging
C.Existing data is deleted immediately
D.Compliance rules still auto-remediate
Correct Answer: New configuration changes are no longer recorded
Explanation:
The configuration recorder must be running to capture changes; stopping it halts recording but does not delete prior data.
Incorrect! Try again.
39A company with multiple AWS accounts under Organizations wants employees to use one login to access all accounts. Which service is designed for this?
AWS single Sign-on
Medium
A.Amazon Cognito user pools
B.AWS Secrets Manager
C.AWS IAM Identity Center (AWS SSO)
D.AWS CloudHSM
Correct Answer: AWS IAM Identity Center (AWS SSO)
Explanation:
AWS IAM Identity Center (formerly AWS SSO) centrally manages single sign-on access across multiple accounts in AWS Organizations.
Incorrect! Try again.
40Which of the following is NOT considered an IAM identity that permissions can be attached to?
IAM Identities
Medium
A.An IAM role
B.An IAM user
C.An IAM group
D.A CloudWatch alarm
Correct Answer: A CloudWatch alarm
Explanation:
IAM identities are users, groups, and roles. A CloudWatch alarm is a monitoring construct, not an identity.
Incorrect! Try again.
41An IAM user belongs to a group with an attached policy that allowss3:DeleteObject on a bucket. The user also has an inline policy that explicitly deniess3:DeleteObject on the same bucket. Additionally, a resource-based bucket policy allowss3:DeleteObject for that user. What is the effective permission?
IAM Policies
Hard
A.The delete is denied because an explicit deny overrides any allow
B.The delete is allowed because the resource-based policy grants it
C.The delete is allowed because inline policies are evaluated last
D.The delete is allowed because group and bucket policies outnumber the deny
Correct Answer: The delete is denied because an explicit deny overrides any allow
Explanation:
In IAM policy evaluation, an explicit Deny always takes precedence over any Allow, regardless of whether the allow comes from an identity-based, group, or resource-based policy. The single explicit deny makes the action denied.
Incorrect! Try again.
42An EC2 instance needs temporary credentials to call AWS APIs. Which mechanism provides these credentials securely without embedding long-term keys, and how are the credentials delivered?
IAM Roles
Hard
A.An IAM user with access keys stored in the instance's environment variables
B.An IAM group assigned directly to the EC2 instance at launch
C.An IAM role via an instance profile, with credentials retrieved from the instance metadata service
D.A resource-based policy attached directly to the EC2 instance ARN
Correct Answer: An IAM role via an instance profile, with credentials retrieved from the instance metadata service
Explanation:
EC2 uses an IAM role wrapped in an instance profile. STS issues rotating temporary credentials that applications fetch from the instance metadata service (IMDS), avoiding static long-term keys.
Incorrect! Try again.
43A policy's Condition block uses aws:MultiFactorAuthPresent set to true with a BoolIfExists operator. What behavior does BoolIfExists introduce compared to Bool?
IAM Identities
Hard
A.It forces MFA to always be present or the request is denied
B.It allows the request if the MFA key is absent, and evaluates the boolean only when the key exists
C.It applies the condition only to federated identities and ignores IAM users
D.It converts the boolean to a numeric comparison for long-term credentials
Correct Answer: It allows the request if the MFA key is absent, and evaluates the boolean only when the key exists
Explanation:
BoolIfExists returns true when the condition key is missing (e.g., some service-linked or long-term credential contexts), and only enforces the boolean match when the key is present. This avoids unintentionally denying requests where MFA context does not apply.
Incorrect! Try again.
44A team wants to use the same KMS encryption key material across multiple AWS Regions for a global DynamoDB table. Which KMS feature satisfies this while keeping identical key material?
AWS Key Management Service
Hard
A.Multi-Region keys, which share the same key ID and key material across replicas
B.Importing external key material separately into each Region's independent key
C.Enabling automatic key rotation on a single-Region CMK
D.KMS key aliases, which automatically synchronize ciphertext across Regions
Correct Answer: Multi-Region keys, which share the same key ID and key material across replicas
Explanation:
KMS multi-Region keys consist of a primary and replicas that share the same key material and key ID. This lets ciphertext encrypted in one Region be decrypted in another, which is required for global tables.
Incorrect! Try again.
45An organization notices that API calls to an S3 object are not appearing in CloudTrail Event History. The management events trail is enabled. What is the most likely reason?
CloudTrail
Hard
A.CloudTrail does not support S3 logging without AWS Config enabled
B.Event History only retains events for 24 hours, so they expired
C.S3 object-level operations are data events, which are not logged by default and must be explicitly enabled
D.Management events must be disabled before data events can appear
Correct Answer: S3 object-level operations are data events, which are not logged by default and must be explicitly enabled
Explanation:
Object-level S3 operations (GetObject, PutObject, DeleteObject) are classified as data events. CloudTrail does not record data events by default; you must create a trail with data event logging explicitly configured for the bucket.
Incorrect! Try again.
46CloudTrail log file integrity validation produces a digest file. How does it allow you to detect whether a delivered log file was modified or deleted after delivery?
Log File Integrity Validation
Hard
A.CloudWatch Alarms automatically re-hash files every hour to detect drift
B.Each log file is encrypted with a rotating KMS key that fails decryption if altered
C.Each digest file contains SHA-256 hashes of log files and is signed, and digests chain to the previous digest
D.The digest file stores a plaintext copy of each log for byte comparison
Correct Answer: Each digest file contains SHA-256 hashes of log files and is signed, and digests chain to the previous digest
Explanation:
Log file integrity validation creates hourly digest files containing SHA-256 hashes of the log files, signed with a private key. Each digest references the previous one, forming a chain, so tampering or deletion of logs or digests is detectable.
Incorrect! Try again.
47A CloudWatch alarm is configured with Evaluation Periods = 3, Datapoints to Alarm = 2, and a period of 5 minutes. What triggers the alarm state?
CloudWatch Alarms
Hard
A.2 consecutive breaching datapoints within a single 5-minute period
B.3 breaching datapoints followed by 2 recovery datapoints
C.3 consecutive breaching datapoints over 15 minutes
D.2 breaching datapoints within any sliding window of the last 3 periods
Correct Answer: 2 breaching datapoints within any sliding window of the last 3 periods
Explanation:
This is an 'M out of N' alarm: with M=2 (Datapoints to Alarm) and N=3 (Evaluation Periods), the alarm enters ALARM state if any 2 of the last 3 datapoints breach the threshold, even if they are non-consecutive.
Incorrect! Try again.
48In Amazon Cognito, what is the key functional difference between a User Pool and an Identity Pool when a mobile app needs both sign-in and temporary AWS credentials?
Amazon Cognito
Hard
A.Both perform identical functions, and only one can be used at a time
B.The User Pool issues IAM access keys while the Identity Pool stores passwords
C.The Identity Pool authenticates users; the User Pool grants temporary AWS credentials
D.The User Pool authenticates and issues tokens; the Identity Pool exchanges tokens for temporary AWS credentials
Correct Answer: The User Pool authenticates and issues tokens; the Identity Pool exchanges tokens for temporary AWS credentials
Explanation:
A Cognito User Pool is the identity provider that handles sign-up/sign-in and returns JWT tokens. An Identity Pool (federated identities) takes those tokens and provides temporary, limited AWS credentials via STS for accessing AWS services.
Incorrect! Try again.
49AWS Secrets Manager is configured for automatic rotation of an RDS database credential using the 'single user' rotation strategy. During rotation, what risk exists that the 'multi-user' strategy mitigates?
AWS Secrets Manager
Hard
A.The KMS key used to encrypt the secret is rotated simultaneously
B.The Lambda rotation function cannot connect to the database at all
C.The secret is permanently deleted if rotation fails midway
D.A brief window where the old password is invalidated before clients fetch the new one, causing failures
Correct Answer: A brief window where the old password is invalidated before clients fetch the new one, causing failures
Explanation:
The single-user strategy changes the password on the one user, creating a short window where applications still holding the old credential may fail. The multi-user (alternating users) strategy keeps the previous credential valid until clients pick up the new one, avoiding downtime.
Incorrect! Try again.
50An enterprise requires FIPS 140-2 Level 3 single-tenant hardware with exclusive control over cryptographic key material, where AWS cannot access the keys. Which service meets this and what is a key operational implication?
AWS Cloud HSM
Hard
A.IAM roles with MFA; cryptographic operations are offloaded to STS
B.AWS Secrets Manager; keys are stored in a shared multi-tenant vault
C.AWS KMS with a custom key store; AWS manages all backups automatically
D.AWS CloudHSM; the customer is solely responsible for key durability and must manage HSM cluster backups
Correct Answer: AWS CloudHSM; the customer is solely responsible for key durability and must manage HSM cluster backups
Explanation:
CloudHSM provides single-tenant, FIPS 140-2 Level 3 validated hardware where only the customer controls keys. Because AWS has no access, the customer bears responsibility for availability (via multi-AZ clustering) and key durability through proper backups.
Incorrect! Try again.
51AWS Config evaluates a custom rule written as a Lambda function. The rule should re-evaluate whenever a security group's inbound rules change. Which trigger type must the rule use to achieve near-real-time evaluation?
AWS Config
Hard
A.CloudTrail event trigger with data event logging enabled
B.Periodic trigger set to a 1-minute interval for continuous polling
C.Configuration changes trigger, which invokes the rule when a configuration item is recorded
D.Snapshot trigger that fires only during daily configuration snapshots
Correct Answer: Configuration changes trigger, which invokes the rule when a configuration item is recorded
Explanation:
AWS Config rules support configuration-change triggers (fire when the configuration recorder records a change to a resource) and periodic triggers (fire on a schedule). For near-real-time evaluation on security group changes, the change-triggered type is required.
Incorrect! Try again.
52An organization uses AWS IAM Identity Center (AWS SSO) with permission sets to grant access across multiple accounts. What AWS resource is actually provisioned in each target account when a permission set is assigned?
AWS single Sign-on
Hard
A.A standalone IAM group synced from the external directory
B.A new IAM user per permission set with console password
C.A resource-based policy attached to every account's root
D.An IAM role that Identity Center creates and manages, assumed by the federated user
Correct Answer: An IAM role that Identity Center creates and manages, assumed by the federated user
Explanation:
When a permission set is assigned to a user/group for an account, Identity Center provisions and manages a corresponding IAM role in that account. Users federate in and assume this role to get the permissions defined by the permission set.
Incorrect! Try again.
53A company enables CloudTrail data event logging for a Lambda function and an S3 bucket. Why might this significantly increase cost compared to management events, and how is it priced?
Data Events
Hard
A.Data events force all trails into multi-Region mode doubling charges
B.Data events require a dedicated KMS key billed hourly
C.Data events are stored in CloudWatch Logs which bills per alarm
D.Data events are high-volume and charged per event, unlike the first copy of management events which is free
Correct Answer: Data events are high-volume and charged per event, unlike the first copy of management events which is free
Explanation:
Management events get one free copy per trail, but data events (object-level S3, Lambda invokes) are typically very high volume and are charged per event recorded. Enabling them on busy resources can greatly increase CloudTrail costs.
Incorrect! Try again.
54By default, EC2 sends metrics to CloudWatch at 5-minute intervals (basic monitoring). A team needs 1-minute granularity and also sub-minute custom application metrics. Which combination is correct?
CloudWatch Metrics
Hard
A.Use basic monitoring with CloudWatch Alarms set to 1-second periods
B.Custom metrics cannot go below 1 minute regardless of configuration
C.Enable detailed monitoring for 1-minute EC2 metrics and publish custom high-resolution metrics at 1-second granularity
D.Enable detailed monitoring, which provides 1-second EC2 metrics automatically
Correct Answer: Enable detailed monitoring for 1-minute EC2 metrics and publish custom high-resolution metrics at 1-second granularity
Explanation:
Detailed monitoring raises EC2 metric frequency from 5 minutes to 1 minute. For finer granularity, custom (high-resolution) metrics can be published with periods as low as 1 second via the PutMetricData API.
Incorrect! Try again.
55An EventBridge rule must match CloudTrail events only when an S3 bucket is made public (a specific PutBucketPolicy outcome). Which EventBridge feature evaluates the event JSON structure to decide a match?
Amazon Event Bridge
Hard
A.A metric filter applied to CloudWatch Logs streams
B.An IAM condition key attached to the event bus policy
C.An event pattern that filters on specific fields and values within the event payload
D.A scheduled cron expression evaluated every minute
Correct Answer: An event pattern that filters on specific fields and values within the event payload
Explanation:
EventBridge rules use event patterns to match the structure and content of incoming event JSON (e.g., source, detail.eventName, specific field values). This allows precise filtering of CloudTrail events to trigger targets.
Incorrect! Try again.
56In AWS Config, what precisely does a Configuration Item (CI) represent, and what triggers the creation of a new CI?
Configuration Items
Hard
A.A point-in-time snapshot of a resource's attributes, relationships, and metadata, created on any change
B.A continuous live stream of CloudTrail API calls for a resource
C.A billing record tracking the cost of a resource over time
D.A static template defining the desired state of a resource
Correct Answer: A point-in-time snapshot of a resource's attributes, relationships, and metadata, created on any change
Explanation:
A Configuration Item captures a resource's configuration, relationships to other resources, and metadata at a specific point in time. The configuration recorder generates a new CI whenever a change to the resource is detected.
Incorrect! Try again.
57A permissions boundary is attached to an IAM user granting only s3:*. The user's identity-based policy allows s3:* and ec2:*. What can the user actually do?
IAM Policies
Hard
A.Both S3 and EC2 actions, because identity policies override boundaries
B.Only EC2 actions, because boundaries exclude listed services
C.Only S3 actions, because effective permissions are the intersection of the boundary and identity policy
D.Nothing, because a boundary and policy conflict results in implicit deny
Correct Answer: Only S3 actions, because effective permissions are the intersection of the boundary and identity policy
Explanation:
A permissions boundary sets the maximum permissions an identity can have. Effective permissions are the intersection of the boundary and the identity-based policy. Since the boundary only allows S3, EC2 actions are not permitted.
Incorrect! Try again.
58A metric filter on a CloudWatch Logs group counts occurrences of the term ERROR. The log group receives data, and ERROR lines appear, but the derived metric shows no datapoints for periods with no matches. Why?
CloudWatch Logs
Hard
A.Metric filters require an attached alarm before publishing any datapoints
B.The log group retention must be set to 'never expire' for metrics to appear
C.Metric filters only work on exported logs stored in S3
D.Metric filters only publish datapoints when a match occurs; absent matches produce no data unless a default value is set
Correct Answer: Metric filters only publish datapoints when a match occurs; absent matches produce no data unless a default value is set
Explanation:
A metric filter emits a datapoint only when its pattern matches. Periods with no matches yield no data (a gap), not a zero. To treat non-matching periods as zero, configure a default value on the metric filter, or handle missing data in the alarm.
Incorrect! Try again.
59An organization-wide trail is created in the management account using AWS Organizations. A member account administrator wants to delete this trail from within their account. What happens?
Trails
Hard
A.They can convert it to a single-account trail without restrictions
B.They can modify it but changes apply to all member accounts
C.They can delete it, which stops logging only for their account
D.They cannot delete or modify it; organization trails are managed only from the management account
Correct Answer: They cannot delete or modify it; organization trails are managed only from the management account
Explanation:
Organization trails appear as read-only in member accounts. Only the management account (or a delegated administrator) can create, modify, or delete the organization trail, ensuring centralized, tamper-resistant logging across all accounts.
Incorrect! Try again.
60A company runs AWS Managed Microsoft AD and wants on-premises AD users to access AWS resources without recreating accounts, while keeping passwords on-premises. Which configuration achieves this?
AWS Managed Microsoft AD
Hard
A.Enable AD Connector in place of AWS Managed Microsoft AD for full directory replication
B.Replace the on-premises AD with a Simple AD in the cloud
C.Export on-premises password hashes into Cognito User Pools
D.Establish a trust relationship between AWS Managed Microsoft AD and the on-premises AD domain
Correct Answer: Establish a trust relationship between AWS Managed Microsoft AD and the on-premises AD domain
Explanation:
AWS Managed Microsoft AD supports forest/external trust relationships with on-premises Active Directory. A trust lets on-premises users be authenticated by their home domain (passwords stay on-premises) while accessing resources that trust the AWS directory.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →