Curated

Monitoring, Logging, Analysis, Remediation, and Performance Optimization (1.1–1.3)

0 votes

Questions66

  1. Question 51

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An alarm in account A must publish to an unencrypted SNS topic in account B in the same Region. Account B must authorize only that alarm, rather than every alarm in account A. Which topic policy permission meets this requirement?

    Show the answer

    Correct answerD. Allow cloudwatch.amazonaws.com sns:Publish, conditioned on aws:SourceArn matching the alarm ARN.

    AWhy not this: EventBridge is not the publishing service for a direct CloudWatch alarm SNS action.

    BWhy not this: The alarm publishes through the CloudWatch service principal, not account A's root principal.

    CWhy not this: The source-account condition alone does not restrict permission to one alarm within that account.

    DWhy this is right: The service principal authorizes CloudWatch, and the exact source ARN limits permission to the designated alarm.

    The SNS topic policy must authorize the CloudWatch service principal, with aws:SourceArn restricting publishing to the specific alarm. An aws:SourceAccount condition restricts the source account but does not distinguish alarms within it.

    Open this question
  2. Question 52

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An EFS Regional file system in General Purpose performance mode has unpredictable throughput spikes separated by long idle periods, and its Bursting mode exhausts credits as stored data shrinks. Which change accommodates the spikes without capacity planning, retaining unused data, or paying for provisioned peak throughput during idle periods?

    Show the answer

    Correct answerD. Use Elastic throughput with General Purpose mode

    AWhy not this: Max I/O changes performance characteristics but does not remove Bursting throughput's storage and credit dependence.

    BWhy not this: Peak-sized Provisioned throughput incurs provisioned capacity charges during idle periods.

    CWhy not this: Increasing stored data can raise Bursting throughput but violates the requirement to avoid retaining unused data.

    DWhy this is right: Elastic throughput scales automatically without burst credits or provisioning peak capacity.

    Elastic throughput automatically scales with workload activity independently of stored data and charges for data transferred. Provisioned throughput avoids credit dependence but provisioning for the peak incurs charges even during idle periods.

    Open this question
  3. Question 53

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A Windows application requires shared SMB storage, integration with an existing Active Directory domain, and Windows file access controls. Which managed storage solution BEST meets these requirements?

    Show the answer

    Correct answerA. Amazon FSx for Windows File Server

    AWhy this is right: Amazon FSx for Windows File Server supports SMB, Active Directory integration, and Windows access controls.

    BWhy not this: EBS Multi-Attach exposes shared block storage; it does not provide a managed SMB file server.

    CWhy not this: Amazon FSx for Lustre targets high-performance computing workloads rather than Windows SMB file sharing.

    DWhy not this: Amazon EFS provides NFS access, not the native SMB and Windows permissions required.

    Amazon FSx for Windows File Server provides SMB shares, Active Directory integration, and Windows access controls. Amazon EFS provides NFS file access rather than native Windows SMB shares.

    Open this question
  4. Question 54

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which service provides elastic, managed NFS file storage that Linux EC2 instances in multiple Availability Zones can mount concurrently?

    Show the answer

    Correct answerD. Amazon EFS

    AWhy not this: EBS provides block storage within an Availability Zone, not managed cross-AZ NFS file storage.

    BWhy not this: Instance store provides host-local temporary block storage rather than shared NFS storage.

    CWhy not this: S3 provides object storage rather than a native NFS file system.

    DWhy this is right: EFS Regional file systems provide elastic NFS storage accessible concurrently from multiple Availability Zones.

    Amazon EFS provides elastic NFS file storage, with Regional file systems supporting access across Availability Zones. Amazon EBS provides Availability Zone–scoped block storage rather than a managed NFS file system.

    Open this question
  5. Question 55

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Files in an EFS Regional file system often remain unread for months, but reused files become frequently accessed for several days. Which lifecycle settings reduce storage cost after 30 days without access and automatically restore reused files to EFS Standard? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Set Transition into Standard to On first accessC. Set Transition into IA to 30 days

    AWhy this is right: This setting moves files from EFS Infrequent Access or Archive back to Standard when accessed.

    BWhy not this: A 90-day Archive transition does not implement the required 30-day transition or restore accessed files to Standard.

    CWhy this is right: This setting transitions eligible files into EFS Infrequent Access after 30 days without access.

    DWhy not this: S3 Lifecycle policies manage S3 objects, not files in an EFS file system.

    Transition into IA moves eligible inactive files to lower-cost EFS Infrequent Access storage. Transition into Standard set to On first access returns reused files to Standard; an Archive transition neither implements the 30-day requirement nor controls their return.

    Open this question
  6. Question 56

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A Linux compute cluster processes datasets stored in Amazon S3 and requires a shared file system with high aggregate throughput and submillisecond file access. Which solution provides a parallel file system with native S3 data repository integration?

    Show the answer

    Correct answerC. Amazon FSx for Lustre

    AWhy not this: S3 File Gateway provides cached file access to S3, not the requested parallel compute file system.

    BWhy not this: FSx for Windows File Server provides SMB shares rather than a Linux-oriented parallel file system with S3 integration.

    CWhy this is right: FSx for Lustre combines parallel file access for compute workloads with native S3 data repository integration.

    DWhy not this: EFS provides shared NFS storage but does not offer Lustre's native S3 data repository associations.

    Amazon FSx for Lustre provides a high-performance parallel file system with native S3 data repository integration. S3 File Gateway exposes S3-backed file shares but is not a parallel file system designed for compute-cluster performance.

    Open this question
  7. Question 57

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An RDS for PostgreSQL instance has high database load but low CPU utilization; load analysis shows most sessions waiting on locks. A transaction holds row locks while waiting for an external API response; which change should the operator prioritize?

    Show the answer

    Correct answerD. Move the external API call outside the transaction.

    AWhy not this: Storage IOPS does not resolve contention caused by a transaction retaining row locks.

    BWhy not this: Allowing more connections can add waiting sessions without reducing lock duration.

    CWhy not this: Additional CPU capacity does not remove the transaction responsible for blocking other sessions.

    DWhy this is right: Removing external waiting from the transaction reduces how long row locks block other sessions.

    Moving the external call outside the transaction shortens lock duration and reduces blocking. More CPU does not resolve sessions waiting for another transaction to release row locks.

    Open this question
  8. Question 58

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Reporting queries saturate an RDS for MySQL primary instance's CPU and slow transaction processing. Reports can tolerate several seconds of replication delay; which change BEST isolates their read workload?

    Show the answer

    Correct answerC. Create a read replica and direct reports to it.

    AWhy not this: A standard Multi-AZ DB instance standby is for failover and cannot serve reporting queries.

    BWhy not this: A higher connection limit does not provide separate compute capacity for reporting.

    CWhy this is right: A read replica offloads reporting queries, and the workload permits asynchronous replication delay.

    DWhy not this: Storage autoscaling increases storage capacity rather than isolating CPU-intensive reads.

    A read replica provides a separate instance for reporting queries, reducing read load on the primary. A standby in a standard Multi-AZ DB instance deployment does not serve read traffic.

    Open this question
  9. Question 59

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An AWS Lambda application opens many short-lived connections to an RDS for PostgreSQL instance, causing connection failures during traffic spikes. Database CPU and storage utilization remain low; which change BEST addresses the problem?

    Show the answer

    Correct answerB. Route application connections through RDS Proxy.

    AWhy not this: A Multi-AZ standby improves availability rather than managing application connection spikes.

    BWhy this is right: Connection pooling reduces the overhead and pressure caused by many short-lived database connections.

    CWhy not this: Additional storage IOPS will not address connection churn when storage utilization is low.

    DWhy not this: Additional subnets do not pool connections or reduce database connection overhead.

    RDS Proxy pools and reuses database connections, reducing connection churn and helping absorb connection spikes. Multi-AZ improves availability but does not pool application connections.

    Open this question
  10. Question 60

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which Amazon RDS feature provides operating system metrics and process-level CPU and memory usage for a DB instance?

    Show the answer

    Correct answerC. Enhanced Monitoring

    AWhy not this: Automated backups support recovery rather than process-level performance monitoring.

    BWhy not this: Event subscriptions notify operators about database events, not operating system process utilization.

    CWhy this is right: Enhanced Monitoring exposes operating system and process-level resource usage for the DB instance.

    DWhy not this: VPC Flow Logs record network flow information rather than operating system process metrics.

    Enhanced Monitoring provides operating system metrics, including process-level CPU and memory usage. RDS event subscriptions report operational events rather than process resource consumption.

    Open this question
  11. Question 61

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An RDS for PostgreSQL instance using gp3 storage shows rising ReadLatency and DiskQueueDepth while IOPS reaches its provisioned limit. CPU, memory, and storage throughput have headroom; which change MOST directly addresses the bottleneck?

    Show the answer

    Correct answerC. Increase the storage's provisioned IOPS.

    AWhy not this: More connections do not increase storage IOPS and can add further queued work.

    BWhy not this: Throughput has headroom, so raising its limit does not address the saturated IOPS limit.

    CWhy this is right: Higher provisioned IOPS allows the storage to process more I/O operations and reduce queued requests.

    DWhy not this: Memory has headroom, while the evidence identifies provisioned IOPS as the active constraint.

    IOPS at its provisioned limit with rising latency and queue depth indicates an I/O operations bottleneck. Increasing throughput targets bytes transferred per second, which already has headroom.

    Open this question
  12. Question 62

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An EC2 packet-processing service drops small packets while network throughput remains below its bandwidth limit. The ENA metric pps_allowance_exceeded increases during each incident; which change BEST addresses the bottleneck?

    Show the answer

    Correct answerC. Select an instance size with a higher packet-per-second allowance

    AWhy not this: EBS IOPS affect block storage operations, not the instance's packet-per-second networking allowance.

    BWhy not this: Cluster placement improves network proximity but does not remove an instance's packet-per-second limit.

    CWhy this is right: A higher packet-per-second allowance addresses the limit identified by the ENA counter.

    DWhy not this: More workers cannot increase the networking allowance enforced at the instance level.

    The increasing ENA counter identifies the instance's packet-per-second allowance as the bottleneck, even when bandwidth remains available. Additional application workers cannot raise an instance-level networking allowance.

    Open this question
  13. Question 63

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    An application stores working data on EC2 instance store volumes, but operators must preserve that data through instance stop/start cycles. Which change meets this requirement?

    Show the answer

    Correct answerC. Move the working data to an EBS volume

    AWhy not this: Mirroring local volumes cannot preserve data when stopping the instance removes all instance store data.

    BWhy not this: Placement groups control instance placement, not local storage persistence.

    CWhy this is right: EBS provides persistent block storage that retains data across instance stop/start cycles.

    DWhy not this: The root volume's deletion setting does not change the persistence of data on instance store volumes.

    EBS volumes preserve data independently of an instance's stop/start lifecycle, whereas instance store data is lost when the instance stops. Mirroring instance store volumes does not protect against an event that removes all their contents.

    Open this question
  14. Question 64

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which Amazon CloudWatch metrics report network traffic for an EC2 instance? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersC. NetworkInD. NetworkOutF. NetworkPacketsOut

    AWhy not this: VolumeReadOps reports completed read operations for an EBS volume rather than EC2 network traffic.

    BWhy not this: DiskReadBytes reports bytes read from instance store volumes rather than network traffic.

    CWhy this is right: NetworkIn reports the number of bytes received on the instance's network interfaces.

    DWhy this is right: NetworkOut reports the number of bytes sent on the instance's network interfaces.

    EWhy not this: CPUCreditBalance reports available CPU credits for a burstable performance instance.

    FWhy this is right: NetworkPacketsOut reports the number of packets sent on the instance's network interfaces.

    NetworkIn and NetworkOut report received and sent bytes, while NetworkPacketsOut reports sent packets. DiskReadBytes measures instance store reads, not bytes received over the network.

    Open this question
  15. Question 65

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    A self-managed distributed database needs 18 EC2 instances in one Availability Zone, with three replicas of each shard on separate racks. The database can use EC2 placement topology when assigning replicas; which design meets these requirements?

    Show the answer

    Correct answerD. Use one partition placement group with three partitions and place replicas across partitions

    AWhy not this: Separate spread placement groups do not guarantee hardware isolation between the groups.

    BWhy not this: A spread placement group cannot accommodate 18 running instances in one Availability Zone.

    CWhy not this: Separate cluster placement groups do not guarantee that their instances occupy different racks.

    DWhy this is right: Distinct partitions occupy separate racks, allowing topology-aware replica placement across rack failure domains.

    Partitions in a partition placement group do not share racks, and applications can use partition information to distribute replicas. A spread placement group supports only seven running instances per Availability Zone; separate placement groups do not guarantee rack isolation from each other.

    Open this question
  16. Question 66

    Monitoring, Logging, Analysis, Remediation, and Performance Optimization

    Which EC2 placement strategy is designed for tightly coupled workloads requiring low-latency communication between instances in one Availability Zone?

    Show the answer

    Correct answerB. Cluster placement group

    AWhy not this: Spread placement separates instances across distinct hardware rather than optimizing their proximity.

    BWhy this is right: Cluster placement groups pack instances close together to support low-latency inter-instance communication.

    CWhy not this: Partition placement isolates groups of instances on separate racks for distributed workloads.

    DWhy not this: Distributing instances across Availability Zones improves resilience but does not minimize communication latency.

    A cluster placement group places instances close together within one Availability Zone to support low-latency communication. Spread placement groups separate instances across distinct hardware to reduce correlated failures.

    Open this question