Quiz
QUIZ 1
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (102)
1What is the primary function of IAM in AWS?
- ATo monitor resource usage across AWS services
- BTo manage and control user access to AWS resources
- CTo optimize the cost of AWS services
- DTo back up data across multiple AWS regions
2Which IAM feature allows a user to authenticate using a password and a software token?
- AIdentity Federation
- BPassword Rotation Policy
- CMulti-Factor Authentication (MFA)
- DGranular Permissions
3In IAM, what is a role primarily used for?
- AGrouping users with similar permissions
- BCreating password policies for users
- CAssigning permissions to AWS resources like EC2 instances
- DIntegrating external identity providers
4Which of the following are features of IAM? (Select TWO)
- ATemporary access for services or users
- BEnabling billing optimization
- CMulti-Factor Authentication (MFA)
- DAutomating EC2 instance creation
- ECross-region replication
5What are core IAM concepts that help manage access in AWS? (Select THREE)
- AUsers
- BRegions
- CGroups
- DRoles
- EAvailability Zones
6What is the primary purpose of the IAM Policy Simulator?
- ATo encrypt IAM policies for added security
- BTo test and validate IAM permissions before deploying them to production
- CTo automatically assign permissions to new users in AWS
- DTo generate new IAM policies based on system activity logs
7A developer is troubleshooting an IAM permission issue where a user cannot access an S3 bucket. How can the IAM Policy Simulator help in this situation?
- AIt automatically updates the user’s policy to grant the required permissions
- BIt creates a log of all failed authentication attempts
- CIt allows the developer to simulate actions and verify if the IAM policy permits access
- DIt modifies the IAM role to include the missing permissions
8Which of the following are valid use cases for the IAM Policy Simulator? (Select TWO)
- ATesting IAM permissions before applying them to production
- BAutomatically assigning roles to new users based on job titles
- CValidating whether an IAM policy correctly allows or denies specific AWS actions
- DEncrypting IAM policies for compliance requirements
- EGenerating cost optimization reports based on IAM activity
9What is one of the primary advantages of using Amazon EC2 compared to traditional on-premises servers?
- AEC2 instances are automatically backed up without user configuration
- BEC2 provides a fixed amount of compute power that cannot be resized
- CEC2 allows developers to launch virtual machines within minutes instead of months
- DEC2 instances do not require an operating system to function
10Which of the following are benefits of Amazon EC2? (Select TWO)
- APay-as-you-go pricing model reduces upfront costs
- BRequires a fixed commitment of at least 3 years
- CProvides complete control over instance configurations
- DAll EC2 instances come with pre-installed applications
- ECan scale up or down based on application demand
11Which EC2 pricing model is best suited for applications with unpredictable workloads that require flexibility without long-term commitments?
- AReserved Instances
- BSpot Instances
- CDedicated Hosts
- DOn-Demand Instances
12Which EC2 pricing model offers the highest possible discount but comes with the risk of instance termination if the market price exceeds your set maximum price?
- AReserved Instances
- BSpot Instances
- COn-Demand Instances
- DDedicated Instances
13Which of the following are true about Reserved Instances in AWS EC2? (Select TWO.)
- AThey provide up to a 72% discount compared to On-Demand pricing.
- BThey can be used across multiple AWS regions without restrictions.
- CConvertible Reserved Instances allow switching to a different instance type of equal or greater value.
- DReserved Instances are only available for a three-year term.
- EYou are required to pay the full cost upfront.
14Which of the following are valid use cases for Spot Instances? (Select TWO.)
- ARunning mission-critical applications that require high availability.
- BLarge-scale image or video rendering jobs.
- CHosting a production database with 24/7 uptime requirements.
- DGenomic sequencing workloads requiring large-scale compute capacity.
- ERunning an enterprise CRM system with predictable usage patterns.
15Which of the following best describes the purpose of EC2 instance types?
- AEC2 instance types determine the Amazon Machine Image (AMI) that will be used for an instance.
- BEC2 instance types define the availability zone where an instance will be launched.
- CEC2 instance types determine the hardware configuration and capabilities of the host machine running the instance.
- DEC2 instance types are only relevant for the Solutions Architect Professional exam.
16Which EC2 instance family is best suited for compute-intensive applications such as high-performance computing and media transcoding?
- AGeneral Purpose (T, M, A)
- BCompute Optimized (C, HPC)
- CMemory Optimized (R, X, Z)
- DStorage Optimized (I, D, H)
17A developer is selecting an EC2 instance type for a machine learning workload that requires specialized hardware acceleration. Which instance families should they consider? (Select TWO.)
- ACompute Optimized (C, HPC)
- BAccelerated Computing (P, Inf, Trn, G)
- CGeneral Purpose (T, M, A)
- DMemory Optimized (R, X, Z)
- EStorage Optimized (I, D, H)
18Which of the following statements about EC2 instance families are correct? (Select TWO.)
- AGeneral Purpose instances provide a balance of compute, memory, and networking resources.
- BCompute Optimized instances are best suited for applications requiring high disk I/O operations.
- CStorage Optimized instances are recommended for NoSQL databases and data warehousing.
- DMemory Optimized instances are mainly used for media transcoding workloads.
- EAccelerated Computing instances are designed for workloads requiring specialized hardware accelerators.
19A developer needs to increase the storage capacity of an Amazon EC2 instance that uses an Amazon EBS volume. What must the developer do after modifying the volume size?
- ARestart the EC2 instance for the changes to take effect
- BDetach and reattach the volume to apply the new size
- CExtend the file system on the instance if required
- DCreate a snapshot and restore it to a new, larger volume
20Which of the following Amazon EBS volume types provides the lowest latency and highest IOPS performance for a database workload requiring high throughput?
- AGeneral Purpose SSD (gp3)
- BProvisioned IOPS SSD (io2)
- CCold HDD (sc1)
- DThroughput Optimized HDD (st1)
21A developer wants to back up an Amazon EBS volume attached to an Amazon EC2 instance without causing application downtime. What is the recommended approach?
- AStop the EC2 instance before creating a snapshot
- BUse Amazon Data Lifecycle Manager to automate backups
- CDetach the EBS volume before creating a snapshot
- DCreate an Amazon Machine Image (AMI) instead of a snapshot
22A developer wants to encrypt data at rest for an existing Amazon EBS volume. What is the recommended approach?
- AEnable encryption on the existing volume using the AWS Management Console
- BCreate an encrypted snapshot and restore it to a new encrypted volume
- CModify the EC2 instance’s IAM role to enforce encryption
- DUse AWS Secrets Manager to encrypt the data on the EBS volume
23A developer needs to optimize the cost and performance of Amazon EBS volumes. Which of the following actions can help achieve this? (Choose TWO)
- AUse Amazon S3 for infrequently accessed data instead of EBS
- BResize an existing EBS volume dynamically to reduce cost
- CUse gp3 instead of gp2 to lower costs while maintaining performance
- DStore temporary data on EBS snapshots to reduce costs
- EEnable Amazon EBS Multi-Attach for high-performance applications
24A developer wants to improve the durability and reliability of Amazon EBS volumes. Which actions should they take? (Choose TWO)
- AEnable Amazon EBS Multi-Attach to allow multiple EC2 instances to access the same volume
- BRegularly create Amazon EBS snapshots and store them in Amazon S3
- CUse Amazon S3 Intelligent-Tiering to store EBS backups
- DUse Amazon Data Lifecycle Manager (DLM) to automate EBS snapshots
- EAttach the same EBS volume to multiple availability zones for high availability
25Which type of AWS Elastic Load Balancer operates at Layer 7 of the OSI model and supports advanced request routing?
- AClassic Load Balancer
- BNetwork Load Balancer
- CApplication Load Balancer
- DGateway Load Balancer
26A developer needs to load balance TCP traffic while ensuring high performance with ultra-low latencies. Which type of Elastic Load Balancer should they use?
- AApplication Load Balance
- BNetwork Load Balancer
- CClassic Load Balancer
- DGateway Load Balancer
27An application behind an Elastic Load Balancer is experiencing 504 Gateway Timeout errors. What is the most likely cause of this issue?
- AThe load balancer security group is incorrectly configured
- BThe downstream web or application server failed to respond in time
- CThe request was blocked by AWS WAF rules
- DThe client made too many requests in a short period
28 Which of the following are valid types of AWS Elastic Load Balancers? (Select TWO)
- ANetwork Load Balancer
- BHardware Load Balancer
- CEdge Load Balancer
- DClassic Load Balancer
- EProxy Load Balancer
29A developer needs to determine the originating IP address of clients accessing their web application through an AWS Elastic Load Balancer. Which of the following statements are true? (Select TWO)
- AThe originating IP address can be found in the X-Forwarded-For HTTP header
- BOnly the Classic Load Balancer supports retrieving the originating IP address
- CThe private IP address of the load balancer is always shown to the backend servers by default
- DThe Network Load Balancer automatically provides the originating IP in the connection metadata
- EApplication Load Balancers support the X-Forwarded-For header for identifying client IP addresses
30You need to grant an Amazon EC2 instance permissions to access an Amazon S3 bucket. What is the best way to achieve this following AWS security best practices?
- AStore the AWS access key and secret access key in the EC2 instance’s user data.
- BCreate an IAM user with S3 permissions and embed the credentials in the application running on the instance.
- CAttach an IAM role with an S3 access policy to the EC2 instance.
- DManually configure the AWS credentials using the aws configure command on the EC2 instance.
31An EC2 instance has an IAM role attached with permissions to access an S3 bucket. What happens if the IAM role is detached from the running EC2 instance?
- AThe EC2 instance retains access to S3 until it is restarted.
- BThe temporary credentials provided by the IAM role are revoked immediately, and the instance loses access to S3.
- CThe EC2 instance will have permanent access to S3 because the credentials were cached.
- DThe IAM role remains attached until the EC2 instance is stopped and restarted.
32Which of the following statements about IAM roles for EC2 instances are true? (Select TWO.)
- AIAM roles provide temporary security credentials that are automatically rotated.
- BOnce an IAM role is assigned to an EC2 instance, it cannot be changed until the instance is restarted.
- CIAM roles can be attached or detached from a running EC2 instance without requiring a reboot.
- DAn IAM role allows EC2 instances to use AWS resources but does not provide any security credentials.
- EThe access policies attached to an IAM role can be updated, but the changes take effect only after a restart of the EC2 instance.
33Which AWS service is best suited for Online Transaction Processing (OLTP) workloads?
- AAmazon Redshift
- BAmazon RDS
- CAmazon S3
- DAWS Glue
34Which of the following database engines is an Amazon-managed relational database that is MySQL and PostgreSQL compatible but provides better performance and scalability?
- AMicrosoft SQL Server
- BAmazon Aurora
- CMariaDB
- DOracle
35Which of the following statements are true about Amazon RDS? (Select two.)
- AAmazon RDS is optimized for OLAP workloads.
- BAmazon RDS supports automatic backups and Multi-AZ deployments.
- CAmazon RDS is a serverless database service designed for highly variable workloads.
- DAmazon RDS supports multiple database engines, including MySQL, PostgreSQL, and Oracle.
- EAmazon RDS allows you to run SQL queries on petabytes of structured and unstructured data.
36What is the primary purpose of Amazon RDS Multi-AZ deployments?
- ATo improve read performance by distributing queries across multiple instances
- BTo provide automatic failover in case of a database instance failure
- CTo enable horizontal scaling of the database
- DTo reduce the cost of database operations
37What is the purpose of modifying the inbound rules of the RDS security group?
- ATo allow SSH access to the RDS instance
- BTo enable automatic backup configurations
- CTo allow MySQL connections from the EC2 instance
- DTo attach an IAM role for enhanced authentication
38When launching an EC2 instance to connect to an RDS database, which of the following configurations are required? (Select TWO)
- AAssigning a public IP address to the EC2 instance
- BEnabling Multi-AZ deployment for high availability
- CCreating a security group rule to allow MySQL connections
- DSelecting a key pair for SSH access
- EEnabling IAM authentication for MySQL access
39When configuring an RDS database in AWS, which of the following are true regarding authentication and security settings? (Select TWO)
- AIAM authentication must be enabled to connect from an EC2 instance
- BThe default MySQL port is 3306
- CEncryption settings cannot be changed after database creation
- DA password must be defined for database authentication unless IAM authentication is used
- ESecurity groups do not impact access to RDS instances
40What is the primary purpose of Multi-AZ deployment in Amazon RDS?
- ATo improve the read performance of the database by distributing read requests.
- BTo provide disaster recovery by maintaining a standby database in another Availability Zone.
- CTo allow multiple applications to write data to different database replicas.
- DTo enable cross-region replication for high availability.
41Which of the following is a requirement to create a Read Replica in Amazon RDS?
- AEnabling automatic backups on the primary database instance.
- BPlacing the primary database in multiple Availability Zones.
- CEnsuring that the Read Replica is in the same region as the primary database.
- DConfiguring Multi-AZ before creating a Read Replica.
42Which of the following statements about Read Replicas in Amazon RDS are true? (Select THREE)
- ARead Replicas can be promoted to standalone databases.
- BRead Replicas are primarily used for disaster recovery.
- CRead Replicas support cross-region replication.
- DRead Replicas automatically fail over in case of primary database failure.
- ERead Replicas require automatic backups to be enabled.
43Which statement best describes how Automated Backups work in Amazon RDS?
- AThey take a manual snapshot of the database at a specific point in time and store it indefinitely.
- BThey create daily backups and transaction logs, enabling point-in-time recovery within a user-defined retention period.
- CThey create encrypted snapshots automatically, but they cannot be used for restoration.
- DThey store only incremental backups without maintaining full daily snapshots.
44What happens when you restore an RDS database from an automated backup or a manual snapshot?
- AThe restored database will use the same DNS endpoint as the original instance.
- BThe restored database will replace the existing database instance.
- CThe restored database will be a new instance with a different DNS endpoint.
- DThe restored database will contain only the transaction logs, requiring additional configuration to apply them.
45Which of the following statements are true about Amazon RDS snapshots and backups? (Select three.)
- AManual snapshots are automatically deleted when the associated RDS instance is deleted.
- BAutomated backups have a retention period between 1 and 35 days.
- CYou can enable encryption on an existing unencrypted RDS instance without taking a snapshot.
- DManual snapshots can be retained indefinitely even after the RDS instance is deleted.
- EAutomated backups include transaction logs, which enable point-in-time recovery.
46What is the primary benefit of using Amazon RDS Proxy in an application?
- AIt provides automated data encryption for RDS databases.
- BIt eliminates the need for database maintenance tasks.
- CIt improves application scalability and database efficiency through connection pooling.
- DIt replaces the need for Multi-AZ deployments in RDS.
47Which of the following statements is true about Amazon RDS Proxy?
- AIt requires manual scaling to handle increased workloads.
- BIt helps prevent database overload by pooling and reusing database connections.
- CIt can only be used with Amazon Aurora databases.
- DIt does not support Multi-AZ deployments
48Which of the following are key features of Amazon RDS Proxy? (Select three.)
- AIt automatically scales based on workload demand.
- BIt preserves application connections during database failover.
- CIt replaces the need for database snapshots and backups.
- DIt provides up to 66% faster failover times.
- EIt requires configuring and managing database connections manually.
49A developer is working on an application that experiences frequent read queries for the same data, causing high load on an Amazon RDS database.
Which AWS service should the developer use to reduce database load and improve performance?- AAmazon RDS Proxy
- BAmazon ElastiCache
- CAmazon DynamoDB Accelerator (DAX)
- DAWS Lambda
50Which of the following is a key difference between ElastiCache for Memcached and ElastiCache for Redis?
- AMemcached supports Multi-AZ, while Redis does not.
- BRedis provides data persistence, while Memcached does not.
- CMemcached is better for leaderboard ranking, while Redis is not.
- DRedis cannot be used for caching database query results.
51Which of the following are valid use cases for Amazon ElastiCache? (Select three.)
- AReducing read load on a frequently queried database.
- BImproving performance for a gaming leaderboard using sorting and ranking.
- CReplacing an RDS database for OLAP workloads.
- DCaching session data for distributed applications.
- EHandling high write throughput for a transactional database.
52Which of the following is a key difference between MemoryDB for Redis and ElastiCache for Redis?
- AMemoryDB for Redis is used as a cache for databases, while ElastiCache for Redis is a primary database.
- BMemoryDB for Redis supports microsecond read and millisecond write latency, while ElastiCache for Redis has higher latency.
- CElastiCache for Redis is scalable to over 100 terabytes, while MemoryDB for Redis is limited to 10 terabytes
- DMemoryDB for Redis is suitable for session data caching, while ElastiCache for Redis is suitable for online gaming applications.
53What is a common use case for MemoryDB for Redis?
- AStoring session data for customer login on a website.
- BCaching frequently accessed data for a traditional RDS database.
- CStoring the entire dataset for an online gaming application with millions of concurrent users.
- DReducing the load on an OLAP data warehouse by caching query results.
54Which of the following are benefits of using MemoryDB for Redis? (Select three.)
- AIt supports storing the entire dataset in memory.
- BIt is scalable to over 100 terabytes.
- CIt provides transaction logging for data durability and recovery.
- DIt can be used as a primary database for ultra-fast performance.
- EIt is suitable for high-latency, write-heavy applications.
55You need to securely store database credentials and API keys for your AWS application. Which AWS service should you use?
- AAWS Secrets Manager
- BAWS Systems Manager Parameter Store
- CAWS Key Management Service (KMS)
- DAmazon S3
56Which of the following are features of AWS Systems Manager Parameter Store? (Select four.)
- ASupports both plain text and encrypted values using AWS KMS.
- BCan store up to 10,000 parameters in the Standard tier without additional charges.
- CCan natively rotate secrets like database passwords automatically.
- DAllows integration with AWS services like EC2, Lambda, and CloudFormation.
- ESupports SecureString type for encrypting sensitive data.
57Which AWS service allows you to centrally manage and automatically rotate database credentials, API keys, and other secrets?
- AAWS Key Management Service (KMS)
- BAWS Systems Manager Parameter Store
- CAWS Secrets Manager
- DAWS Identity and Access Management (IAM)
58Which of the following is a key benefit of AWS Secrets Manager over AWS Systems Manager Parameter Store?
- AAbility to store database credentials securely
- BAbility to encrypt stored secrets using AWS KMS
- CAutomatic rotation of secrets without additional code deployment
- DAbility to store configuration parameters such as license keys
59You are storing database credentials in AWS Secrets Manager. What AWS service does Secrets Manager use to encrypt these credentials?
- AAWS Identity and Access Management (IAM)
- BAWS Certificate Manager (ACM)
- CAWS Key Management Service (KMS)
- DAWS CloudHSM
60Which of the following statements about AWS Secrets Manager are true? (Select TWO.)
- ASecrets Manager allows you to configure automatic rotation of secrets using AWS Lambda.
- BSecrets stored in Secrets Manager must be manually rotated every 90 days.
- CAWS Secrets Manager can only store database credentials, not API keys.
- DSecrets Manager supports replication of secrets across AWS regions.
- EAWS Secrets Manager is primarily used for storing configuration parameters like application settings.
61A developer wants to automate the process of creating and maintaining Amazon Machine Images (AMIs) with security updates and custom software installations. Which AWS service should they use?
- AAWS Lambda
- BAWS CodeBuild
- CAmazon EC2 Image Builder
- DAWS Systems Manager Parameter Store
62Which of the following statements best describes the function of an image recipe in EC2 Image Builder?
- AIt defines the base image, installed software, and build components for an AMI
- BIt specifies the AWS regions where the AMI will be distributed.
- CIt automates the provisioning of EC2 instances in an Auto Scaling group.
- DIt provides runtime configurations for Lambda functions deployed in AWS.
63A developer needs to use an existing Amazon Machine Image (AMI) from us-east-1 in us-west-2. What is the correct approach?
- AModify the AMI settings to allow cross-region usage.
- BCopy the AMI to us-west-2 and then launch instances from the copied AMI.
- CShare the AMI across regions without copying it.
- DUse an AWS Lambda function to replicate the AMI automatically.
64Which of the following statements about copying an AMI is correct?
- AAn encrypted AMI can be copied and converted into an unencrypted AMI.
- BAn unencrypted AMI can be copied and encrypted during the copying process.
- CAn AMI can be copied between regions without any restrictions.
- DIf no encryption option is specified, the copied AMI will always be encrypted by default.
65Which of the following best describes Amazon S3?
- AA block storage service used for running operating systems.
- BA scalable object storage service for storing files, images, and backups.
- CA relational database service for structured data storage.
- DA caching service for improving database performance.
66Which statement about Amazon S3 bucket naming is correct?
- ABucket names must be globally unique across all AWS regions.
- BBucket names must be unique within the AWS account but can be reused in different regions.
- CBucket names can only contain uppercase letters, numbers, and hyphens
- DS3 bucket names must be at least 10 characters long and contain a region prefix.
67What is the maximum object size that can be stored in Amazon S3?
- A1 TB
- B5 TB
- C100 TB
- DUnlimited
68Which of the following are features of Amazon S3? (Select two correct answers.)
- ASupports server-side encryption for data protection.
- BAllows storing objects up to 100 TB in a single bucket.
- CProvides object versioning to retain historical versions of files.
- DSupports running an operating system directly from S3.
- EUses block storage for high-performance applications.
69Which Amazon S3 storage class provides the highest availability and durability for frequently accessed data?
- AS3 Glacier
- BS3 One Zone-Infrequent Access
- CS3 Standard
- DS3 Standard-Infrequent Access
70What is a characteristic of the S3 One Zone-Infrequent Access storage class?
- AIt stores data redundantly across at least three Availability Zones.
- BIt is optimized for frequently accessed data.
- CIt provides lower availability compared to S3 Standard-Infrequent Access.
- DIt requires a minimum storage duration of 90 days.
71Which Amazon S3 storage class is the most cost-effective option for data that is rarely accessed but must be retained for compliance reasons?
- AS3 Intelligent-Tiering
- BS3 Glacier Deep Archive
- CS3 Standard-Infrequent Access
- DS3 Standard
72Which of the following statements about S3 Glacier and S3 Glacier Deep Archive are correct? (Select TWO)
- AS3 Glacier has a minimum storage duration of 180 days.
- BS3 Glacier Deep Archive is designed for data that is rarely accessed.
- CBoth S3 Glacier and S3 Glacier Deep Archive have retrieval times ranging from milliseconds to minutes.
- DS3 Glacier requires a minimum storage duration of 90 days.
- ES3 Glacier Deep Archive provides faster retrieval than S3 Glacier.
73Which of the following are characteristics of the S3 Intelligent-Tiering storage class? (Select TWO)
- AIt automatically moves objects between different tiers based on access frequency.
- BIt charges an additional monthly fee per object.
- CIt requires a minimum storage duration of 180 days.
- DIt is only available in a single AWS region.
- EIt is designed for long-term data archiving with retrieval times of up to 12 hours.
74A developer wants to allow another AWS user to read all objects in an S3 bucket. What is the best way to achieve this?
- AApply an IAM policy to the user granting read access to the bucket
- BCreate a bucket policy allowing read access for the user
- CAttach an IAM role to the bucket that grants the user read permissions
- DEnable public access settings for the bucket
75Which of the following is true about S3 Bucket Policies?
- AThey provide fine-grained permissions at the object level
- BThey must be manually written in XML format
- CThey are applied at the bucket level and affect all objects in the bucket
- DThey replace the need for IAM policies
76Which of the following statements are true regarding S3 Access Control Lists (ACLs)? (Select two.)
- AThey allow setting different permissions for different objects within the same bucket
- BThey are written in JSON format like IAM policies
- CThey provide object-level permissions, unlike bucket policies
- DThey can be used to configure access logs for an S3 bucket
- EThey automatically override any existing IAM policies
77Which of the following encryption methods is enabled by default for objects stored in Amazon S3?
- AServer-side encryption using customer-provided keys (SSE-C)
- BServer-side encryption with AWS Key Management Service (SSE-KMS)
- CServer-side encryption with S3-managed keys (SSE-S3)
- DClient-side encryption
78A company wants to ensure that sensitive data stored in Amazon S3 is encrypted using keys they manage within AWS to meet compliance requirements. Which encryption method should they use?
- ASSE-S3
- BSSE-KMS
- CSSE-C
- DClient-side encryption
79Which of the following statements about Amazon S3 encryption are correct? (Select two.)
- ASSE-S3, SSE-KMS, and SSE-C are all server-side encryption options.
- BSSL/TLS encryption in transit is automatically applied when using HTTP.
- CSSE-C allows customers to bring and manage their own encryption keys.
- DAmazon S3 does not support client-side encryption.
- EAWS Key Management Service (KMS) is required for all encryption in Amazon S3.
80What is the primary purpose of Cross-Origin Resource Sharing (CORS) in Amazon S3?
- ATo enforce encryption on objects stored in S3 buckets.
- BTo allow requests for resources from one S3 bucket to be accessed by another domain or bucket.
- CTo enable automatic replication of objects between S3 buckets.
- DTo enforce IAM policies on S3 bucket access.
81When configuring CORS in Amazon S3, which header must be included in the CORS configuration to allow access from a specific origin?
- A"Access-Control-Allow-Origin"
- B"S3-Bucket-Policy-Origin"
- C"X-Amz-Allow-External-Requests"
- D"AWS-Access-Control"
82Which of the following statements are true regarding configuring CORS in Amazon S3? (Select two correct answers.)
- ACORS allows an S3 bucket to serve files to a web page that originates from a different domain.
- BBy default, CORS is enabled on all S3 buckets.
- CCORS policies are defined in the IAM roles of the S3 bucket.
- DYou must specify allowed HTTP methods such as "GET" in the CORS configuration.
- ECORS settings are managed at the object level, not the bucket level.
83Which of the following best describes an AWS CloudFront edge location?
- AA data center that hosts the original version of the content.
- BA collection of AWS Availability Zones that improve global connectivity.
- CA geographically dispersed server that caches copies of content to reduce latency.
- DA private AWS region dedicated to content delivery.
84What is the default Time to Live (TTL) for cached objects in Amazon CloudFront?
- A1 hour
- B12 hours
- C24 hours
- D7 days
85Which AWS services can be used as an origin for a CloudFront distribution?
- AAWS Lambda, API Gateway, and AWS Backu
- BS3 Bucket, EC2 Instance, and Elastic Load Balancer
- CAWS WAF, AWS Shield, and AWS Secrets Manager
- DDynamoDB, AWS Glue, and Amazon Athena
86Which of the following statements about Amazon CloudFront are true? (Select two correct answers.)
- ACloudFront automatically caches content indefinitely until manually cleared.
- BCloudFront reduces latency by delivering content from the nearest edge location.
- CCloudFront distributions only support S3 as an origin.
- DCloudFront integrates with AWS services like S3, EC2, and Route 53.
- EUsers must manually select an edge location for content delivery.
87A developer needs to restrict direct access to objects stored in an Amazon S3 bucket and ensure that all requests go through an Amazon CloudFront distribution. Which of the following actions should the developer take?
- AEnable AWS Shield Advanced on the CloudFront distribution.
- BCreate an Origin Access Identity (OAI) and update the S3 bucket policy to allow access only from CloudFront.
- CConfigure an Amazon S3 Access Point and use it as the origin for CloudFront.
- DEnable AWS WAF on CloudFront and create a rule to allow only CloudFront traffic.
88A developer has configured an Amazon CloudFront distribution with an Amazon S3 bucket as the origin. Public access to the S3 bucket has been blocked. However, users are unable to access objects through the CloudFront distribution. What is the MOST likely reason for this issue?
- AThe CloudFront distribution does not have an SSL certificate attached.
- BThe CloudFront distribution is not using signed URLs for authentication.
- CThe S3 bucket policy does not grant permissions to the CloudFront Origin Access Identity (OAI).
- DThe S3 bucket is located in a different AWS Region than the CloudFront distribution.
89A developer is configuring an Amazon CloudFront distribution and needs to allow users to submit form data, upload files, and delete resources. Which AllowedMethods setting should be selected?
- AGET, HEAD
- BGET, HEAD, OPTIONS
- CGET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE
- DHEAD, OPTIONS, DELETE
90A developer is setting up an Amazon CloudFront distribution for a static website hosted on Amazon S3. The website is entirely read-only and does not allow users to submit any data. Which AllowedMethods configuration is the MOST appropriate?
- AGET, HEAD
- BGET, HEAD, OPTIONS
- CGET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE
- DPUT, POST, PATCH, DELETE
91A developer needs to analyze AWS CloudTrail logs that are stored in an S3 bucket using SQL queries. The developer wants to avoid setting up servers or managing infrastructure. Which AWS service should they use?
- AAmazon RDS
- BAmazon Athena
- CAWS Glue
- DAmazon Redshift
92Which of the following statements about Amazon Athena is false?
- AAthena allows querying data stored in Amazon S3 using standard SQL.
- BAthena requires setting up an EC2 instance to run queries.
- CAthena is serverless, and you pay per query and per terabyte scanned.
- DAthena is useful for analyzing log files, such as ELB access logs and AWS Cost and Usage reports.
93What AWS service acts as an identity broker for web identity federation?
- AIAM
- BAmazon Cognito
- CAWS STS
- DAmazon S3
94Which AWS service provides the API operation AssumeRoleWithWebIdentity?
- AAmazon Cognito
- BAWS IAM
- CAWS STS
- DAWS KMS
95What is the primary purpose of an Identity Pool in Amazon Cognito?
- AUser authentication and sign-in
- BManaging user attributes
- CProviding temporary AWS credentials
- DCreating user groups
96Which type of IAM policy is embedded within a single user, group, or role?
- AManaged Policy
- BCustomer Managed Policy
- CIdentity Policy
- DInline Policy
97What is the recommended approach by AWS for handling web identity federation in mobile applications?
- AUsing IAM with static credentials
- BUsing AWS KMS to encrypt credentials
- CUsing Amazon Cognito
- DUsing STS directly
98When a user authenticates with Facebook and accesses AWS resources, what does the application do after receiving the token?
- ACreates a new IAM user
- BCalls AssumeRoleWithWebIdentity
- CRequests permanent credentials
- DPushes the token to an S3 bucket
99 Which of the following statements are true about AWS STS temporary credentials? (Choose two)
- AThey consist of access key ID, secret access key, and session token
- BThey are long-term credentials
- CThey can be obtained via the Cognito user pool
- DThey are returned from the AssumeRoleWithWebIdentity API call
- EThey are only available to IAM users
100What are key responsibilities of Amazon Cognito? (Choose three)
- AManaging IAM roles
- BActing as a broker between applications and web identity providers
- CHandling sign-up and sign-in
- DProviding temporary AWS credentials
- EEncrypting user data using KMS
101Which of the following are types of IAM policies in AWS? (Choose three)
- AStatic policy
- BAWS Managed policy
- CInline policy
- DCustomer Managed policy
- EFederated policy
102When configuring cross-account access using IAM roles, which steps are necessary? (Choose two)
- ACreate an IAM user in the target account
- BCreate a role in the target account with trust policy for the source account
- CAssign the role to an EC2 instance in the source account
- DDefine a policy in the source account allowing the user to assume the role
- EEnable SAML federation in both accounts
Information
- Description
- Training and Development Manager AWS-ASSDEV Quiz on QUIZ 1, created by Leon Souza on 28/01/2025.
- Author
- Leon Souza
- Language
- English
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz