Skip to main content

Quiz

No.Training UnitLectureTraining contentQuestionLevelMarkAnswerAnswer Option AAnswer Option BAnswer Option CAnswer Option DExplanation
1Unit 5: Basic Cloud Essentials for DeveloperLec1Amazon ECRWhat is the primary purpose of Amazon ECR (Elastic Container Registry)?Easy1AA managed container image registry that stores Docker imagesA database service for containersA compute service for running containersA networking service for containersECR is a managed container image registry that stores Docker images for applications and integrates seamlessly with EC2 and other AWS services.
2Unit 5: Basic Cloud Essentials for DeveloperLec1Amazon EC2What does Amazon EC2 (Elastic Compute Cloud) provide?Easy1BContainer orchestrationVirtual servers where application code runsObject storageDatabase managementEC2 provides virtual servers where your application code runs. In multi-agent systems and RAG pipelines, EC2 instances host the orchestration layer and agent runtime environments.
3Unit 5: Basic Cloud Essentials for DeveloperLec1NAT GatewayWhat is the primary function of a NAT Gateway in AWS?Medium1CStoring data in the cloudManaging user permissionsAllowing private VPC resources to initiate outbound internet connections while remaining unreachable from the internetLoad balancing traffic between serversNAT Gateway allows resources inside your private VPC to initiate outbound connections to the internet while remaining unreachable from the internet.
4Unit 5: Basic Cloud Essentials for DeveloperLec1VPCWhat is a VPC (Virtual Private Cloud) in AWS?Easy1DA storage serviceA compute instanceA databaseA private network in AWS where you can isolate your resourcesA VPC is a private network in AWS where you can isolate your resources. All services (EC2, databases, etc.) run within a VPC, controlling who can access what.
5Unit 5: Basic Cloud Essentials for DeveloperLec1Amazon DynamoDBWhich of the following best describes Amazon DynamoDB?Easy1AA fast, NoSQL database excellent for applications requiring quick, unpredictable access patternsA relational database serviceA file storage serviceA container registryDynamoDB is a fast, NoSQL database excellent for applications requiring quick, unpredictable access patterns. It automatically scales based on traffic.
6Unit 5: Basic Cloud Essentials for DeveloperLec1Amazon RDSWhat type of data is Amazon RDS best suited for?Medium1BUnstructured data with simple access patternsStructured data with complex relationships and transactionsContainer imagesVector embeddings onlyRDS provides managed relational databases. Unlike DynamoDB, RDS is best for structured data with complex relationships and transactions.
7Unit 5: Basic Cloud Essentials for DeveloperLec1Amazon S3What can Amazon S3 (Simple Storage Service) store?Easy1COnly Docker imagesOnly database recordsAny type of data—documents, images, logs, or raw training dataOnly text filesS3 is object storage that can hold any type of data—documents, images, logs, or raw training data. It's highly scalable and cost-effective for large-scale data storage.
8Unit 5: Basic Cloud Essentials for DeveloperLec1Amazon BedrockWhat does Amazon Bedrock provide?Medium1AServerless access to foundation models for language generation and embedding tasksContainer orchestration servicesVirtual private networkingObject storageAmazon Bedrock provides serverless access to foundation models, enabling both language generation and embedding tasks without managing infrastructure.
9Unit 5: Basic Cloud Essentials for DeveloperLec1AWS IAMWhat is the primary purpose of AWS IAM (Identity and Access Management)?Easy1DStoring files in the cloudRunning virtual machinesManaging databasesControlling who can access which AWS resources and what actions they can performIAM controls who can access which AWS resources and what actions they can perform. It's fundamental for secure multi-agent architectures.
10Unit 5: Basic Cloud Essentials for DeveloperLec1RAG PipelineIn a typical RAG system, what is the purpose of vectorization?Medium1BCompressing files for storageConverting extracted text to embeddings for semantic searchEncrypting data for securityFormatting data for displayIn RAG systems, vectorization converts extracted text to embeddings using services like Bedrock Embedding (Titan v2) for semantic search and retrieval.
11Unit 5: Basic Cloud Essentials for DeveloperLec2IAM ConfigurationWhat command is used to configure AWS CLI with your credentials?Easy1Aaws configureaws setupaws initaws credentialsThe command aws configure is used to set up your access key, secret access key, region, and output format for AWS CLI.
12Unit 5: Basic Cloud Essentials for DeveloperLec2IAM Access KeysWhere can AWS credentials be stored for authentication?Medium1COnly in environment variablesOnly in the AWS web consoleIn ~/.aws/credentials file, environment variables, or via aws configureOnly in the application codeAWS credentials can be stored in ~/.aws/credentials file, using export commands for environment variables, or configured via aws configure command.
13Unit 5: Basic Cloud Essentials for DeveloperLec2Amazon BedrockWhich Python library is used to interact with Amazon Bedrock for chat functionality?Medium1Bboto3 onlyChatBedrockConverse from langchain_awsrequeststensorflowThe ChatBedrockConverse class from langchain_aws is used to interact with Amazon Bedrock for chat functionality with foundation models.
14Unit 5: Basic Cloud Essentials for DeveloperLec2Embedding ModelsWhich embedding model is mentioned as available in Amazon Bedrock?Easy1DGPT-4DALL-EClaudeCohere Embed English v3Embedding models available in Bedrock include Titan v2 and Cohere (cohere.embed-english-v3) for creating vector embeddings.
15Unit 5: Basic Cloud Essentials for DeveloperLec2S3 BucketWhat is a requirement when naming an S3 bucket?Easy1AThe bucket name must be globally unique across all AWS usersThe bucket name must start with a numberThe bucket name must be exactly 10 charactersThe bucket name must contain special charactersWhen creating an S3 bucket, the name must be globally unique across all AWS users.
16Unit 5: Basic Cloud Essentials for DeveloperLec2S3 VectorsWhat parameters are required when creating an index in S3 Vectors?Hard1COnly bucket nameOnly index name and dimensionvectorBucketName, indexName, dataType, dimension, and distanceMetricOnly region and bucket nameWhen creating an index in S3 Vectors, you need to specify vectorBucketName, indexName, dataType (e.g., float32), dimension (e.g., 1024), and distanceMetric (e.g., cosine).
17Unit 5: Basic Cloud Essentials for DeveloperLec2Amazon ECRIn a CI/CD pipeline, what command is used to authenticate Docker with Amazon ECR?Medium1Bdocker login ecraws ecr get-login-passwordaws ecr authenticatedocker ecr connectThe command aws ecr get-login-password is used to get the password and pipe it to docker login for ECR authentication.
18Unit 5: Basic Cloud Essentials for DeveloperLec2EC2 SecurityWhat should be configured in EC2 security groups to allow web traffic?Easy1AInbound rules for HTTP and HTTPS trafficOnly outbound rulesVPC peeringNAT Gateway rulesSecurity groups need inbound and outbound rules to allow necessary traffic such as HTTP, HTTPS, and SSH for EC2 instances.
19Unit 5: Basic Cloud Essentials for DeveloperLec2EC2 CLIWhich AWS CLI command is used to stop an EC2 instance?Easy1Daws ec2 terminate-instancesaws ec2 start-instancesaws ec2 describe-instancesaws ec2 stop-instancesThe command aws ec2 stop-instances --instance-ids <instance-id> is used to stop an EC2 instance.
20Unit 5: Basic Cloud Essentials for DeveloperLec2S3 UploadWhen using boto3 to upload a file to S3, which method of the S3 client is used?Medium1Bput_fileupload_filesend_filetransfer_fileThe s3_client.upload_file() method is used in boto3 to upload a file to an S3 bucket, taking the file path, bucket name, and object name as parameters.
21Unit 5: Basic Cloud Essentials for DeveloperLec1Service SelectionA customer wants to build a chatbot that can answer questions based on their company documents. Which combination of services should they use?Hard1AS3 for document storage, Bedrock for embeddings and LLM, DynamoDB for conversation stateEC2 only for all processingRDS for document storage, EC2 for LLMVPC and NAT Gateway onlyFor a RAG-based chatbot, S3 stores documents, Bedrock provides embeddings and LLM capabilities, and DynamoDB maintains conversation state for multi-turn interactions.
22Unit 5: Basic Cloud Essentials for DeveloperLec1Service SelectionA customer needs to store user profiles with complex relationships between users, roles, and permissions. Which service is most appropriate?Medium1BDynamoDBAmazon RDSAmazon S3Amazon ECRRDS is best for structured data with complex relationships and transactions, making it ideal for user profiles with relationships between users, roles, and permissions.
23Unit 5: Basic Cloud Essentials for DeveloperLec1Problem SolvingA customer's agents in a private VPC need to call external LLM APIs but the agents should not be directly accessible from the internet. What should they use?Medium1CVPC PeeringInternet GatewayNAT GatewayDirect ConnectNAT Gateway allows resources inside a private VPC to initiate outbound connections to the internet while remaining unreachable from the internet.
24Unit 5: Basic Cloud Essentials for DeveloperLec1Service SelectionA customer wants to deploy multiple microservices as containers and needs a place to store and version their Docker images. Which service should they use?Medium1AAmazon ECRAmazon S3Amazon RDSAmazon DynamoDBECR is a managed container image registry that stores Docker images, enables versioning of pipeline processing containers, and integrates with CI/CD for automated deployments.
25Unit 5: Basic Cloud Essentials for DeveloperLec1Problem SolvingA customer needs to run inference pipelines that require flexible compute resources that can scale based on demand. Which service should they choose?Medium1DAmazon S3Amazon DynamoDBAmazon ECRAmazon EC2EC2 provides virtual servers with flexible compute for varying workloads, allowing customers to scale up or down based on demand and pay only for resources used.
26Unit 5: Basic Cloud Essentials for DeveloperLec1Service SelectionA customer wants to implement semantic search across their knowledge base without managing embedding infrastructure. Which service should they use?Medium1BAmazon RDSAmazon BedrockAmazon EC2NAT GatewayAmazon Bedrock provides serverless access to embedding models like Titan v2, enabling semantic similarity matching without managing infrastructure.
27Unit 5: Basic Cloud Essentials for DeveloperLec1Problem SolvingA customer needs to ensure each component in their multi-agent system has only the necessary permissions to access specific resources. What should they implement?Medium1AAWS IAM with least-privilege access principlesVPC with private subnetsNAT Gateway restrictionsS3 bucket policies onlyIAM enforces least-privilege access principles, defines roles for different agent services, and controls access to all AWS resources.
28Unit 5: Basic Cloud Essentials for DeveloperLec1ArchitectureA customer is building a RAG system and needs to store pre-computed vector embeddings for fast retrieval. Which storage option should they consider?Hard1CRDS with standard tablesDynamoDB with string attributesS3 Vectors or S3 with structured formatEC2 local storageS3 can store pre-computed vector embeddings in a structured format, and S3 Vectors enables efficient similarity search and retrieval for RAG systems.
29Unit 5: Basic Cloud Essentials for DeveloperLec1Problem SolvingA customer needs low-latency access to agent metadata and conversation context during multi-turn interactions. Which database should they use?Medium1DAmazon RDSAmazon S3Amazon ECRAmazon DynamoDBDynamoDB provides low-latency access to agent metadata, stores conversation state and context, and maintains session information for multi-turn interactions.
30Unit 5: Basic Cloud Essentials for DeveloperLec1ArchitectureA customer wants to isolate their agent infrastructure for security and compliance while enabling private communication between components. What should they set up?Medium1BNAT GatewayVPCIAM RolesS3 Bucket PoliciesVPC isolates infrastructure for security, controls network traffic between services, enables private communication, and supports compliance requirements.
31Unit 5: Basic Cloud Essentials for DeveloperLec1Service SelectionA customer needs to store large amounts of training data for fine-tuning models and wants a cost-effective, highly scalable solution. Which service fits best?Medium1AAmazon S3Amazon RDSAmazon DynamoDBAmazon EC2 EBSS3 is highly scalable and cost-effective for large-scale data storage, making it ideal for storing training data for fine-tuning models.
32Unit 5: Basic Cloud Essentials for DeveloperLec1Problem SolvingA customer's application requires ACID transactions for critical operations involving user data. Which database service should they use?Hard1CAmazon DynamoDBAmazon S3Amazon RDSAmazon ECRRDS supports ACID transactions for critical operations, making it suitable for applications requiring transaction integrity.
33Unit 5: Basic Cloud Essentials for DeveloperLec1ArchitectureA customer is designing a data ingestion pipeline where raw documents need to be stored and later processed for text extraction. Which service should store the raw documents?Medium1BAmazon DynamoDBAmazon S3Amazon RDSAmazon ECRIn a typical RAG pipeline, raw documents are stored in S3 before being processed for text extraction. S3 serves as the data lake for multi-agent knowledge.
34Unit 5: Basic Cloud Essentials for DeveloperLec1Problem SolvingA customer needs to audit all access and actions performed on their AWS resources for compliance purposes. Which service provides this capability?Medium1DAmazon S3Amazon VPCAmazon DynamoDBAWS IAMIAM audits all access and actions for compliance, providing visibility into who accessed which resources and what actions were performed.
35Unit 5: Basic Cloud Essentials for DeveloperLec1Service SelectionA customer wants to use foundation models for agent reasoning and decision-making without managing GPU infrastructure. Which service should they use?Medium1AAmazon BedrockAmazon EC2 with GPU instancesAmazon SageMakerAWS LambdaAmazon Bedrock provides serverless access to foundation models like NOVA PRO for agent reasoning and decision-making without managing infrastructure.
36Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA developer created an IAM user but cannot access S3 vectors service. The error says "Access Denied". What is the most likely issue?Hard1CThe AWS CLI is not installedThe region is incorrectThe user lacks the required s3vectors permissions policyThe S3 bucket doesn't existSome policies like s3vectors are not available in the policy generator, so an inline policy with s3vectors actions must be created and attached to the user.
37Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA customer wants to run their Python application that uses boto3 on a new machine but gets "NoCredentialsError". What should they do first?Medium1BInstall PythonRun aws configure to set up credentialsCreate an S3 bucketInstall DockerThe aws configure command sets up access key, secret access key, and region, which are required for boto3 to authenticate with AWS services.
38Unit 5: Basic Cloud Essentials for DeveloperLec2ArchitectureA customer wants to automate the deployment of their containerized application whenever code is pushed to GitHub. Which services should be involved?Hard1DS3 and DynamoDBRDS and EC2VPC and NAT GatewayECR for image storage and EC2 for deployment via CI/CD pipelineA CI/CD pipeline builds Docker images, pushes them to ECR, then deploys to EC2 by pulling new images and restarting services.
39Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA customer's EC2 instance cannot be accessed via SSH from their local machine. What should they check first?Medium1ASecurity group inbound rules for SSH (port 22)The instance typeThe AMI versionThe EBS volume sizeSecurity groups must have inbound rules configured to allow SSH traffic (port 22) for remote access to EC2 instances.
40Unit 5: Basic Cloud Essentials for DeveloperLec2Service SelectionA customer needs to create vector embeddings for their documents and store them for semantic search. Which combination of services should they use?Hard1BEC2 and RDSBedrock Embeddings and S3 VectorsLambda and DynamoDBECS and ElastiCacheBedrock Embeddings (like Cohere or Titan v2) create vector representations, and S3 Vectors provides scalable vector storage with indexing for semantic search.
41Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA customer is getting "InvalidParameterValue" when creating an S3 Vectors index. They specified dataType as "int" and dimension as 1024. What is wrong?Hard1CThe dimension is too largeThe index name is invalidThe dataType should be "float32" not "int"The bucket doesn't existWhen creating an S3 Vectors index, the dataType parameter should be "float32" for vector embeddings, not "int".
42Unit 5: Basic Cloud Essentials for DeveloperLec2ArchitectureA customer wants to use temporary AWS credentials in their application. Which method should they use to set credentials?Medium1DOnly ~/.aws/credentials fileOnly aws configureOnly environment variablesEnvironment variables including AWS_SESSION_TOKENFor temporary credentials, you can use export commands including AWS_SESSION_TOKEN in addition to access key and secret access key.
43Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA customer deployed their application to EC2 but it cannot pull Docker images from ECR. What should they verify?Hard1AThe EC2 instance has run aws ecr get-login-password and authenticated with DockerThe S3 bucket permissionsThe DynamoDB table existsThe VPC has internet access onlyTo pull images from ECR, the EC2 instance must authenticate Docker with ECR using aws ecr get-login-password piped to docker login.
44Unit 5: Basic Cloud Essentials for DeveloperLec2Service SelectionA customer wants to query similar documents based on semantic meaning from their knowledge base. What feature of S3 Vectors should they use?Medium1BListVectorsQueryVectorsGetVectorsPutVectorsThe QueryVectors action in S3 Vectors enables semantic similarity search across the vector index based on query embeddings.
45Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA customer's boto3 code is connecting to the wrong AWS region. How can they specify the correct region in their code?Medium1COnly through aws configureOnly through environment variablesBy passing region_name parameter to boto3.client()By modifying the AWS SDK source codeThe region_name parameter can be passed directly to boto3.client() to specify the AWS region, e.g., boto3.client("s3vectors", region_name="ap-southeast-1").
46Unit 5: Basic Cloud Essentials for DeveloperLec1ArchitectureA customer is building a multi-agent system where agents need to cache frequently accessed embeddings for fast retrieval. Which service should they use?Medium1AAmazon DynamoDBAmazon S3Amazon RDSAmazon ECRDynamoDB is ideal for caching frequently accessed embeddings due to its low-latency access and automatic scaling based on traffic.
47Unit 5: Basic Cloud Essentials for DeveloperLec1Problem SolvingA customer wants their backend workers to process tasks asynchronously while the main orchestration server handles user requests. Which service hosts both components?Medium1DAmazon S3Amazon DynamoDBAmazon ECRAmazon EC2EC2 runs both agent orchestration servers and hosts background workers processing tasks, providing flexible compute for varying workloads.
48Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA customer is trying to upload a file to S3 using boto3 but gets "NoSuchBucket" error. What should they verify?Medium1BThe file exists locallyThe bucket name is correct and the bucket existsThe IAM permissionsThe region settingThe "NoSuchBucket" error indicates the specified bucket doesn't exist. The customer should verify the bucket name is correct and the bucket has been created.
49Unit 5: Basic Cloud Essentials for DeveloperLec2ArchitectureA customer wants to tag their Docker images with both "latest" and the git commit SHA for version tracking in ECR. Why is this a good practice?Hard1CIt reduces storage costsIt improves image pull speedIt enables rollback to specific versions while maintaining a latest referenceIt is required by ECRTagging with both latest and git SHA allows maintaining a latest reference for convenience while enabling rollback to specific versions using the commit SHA.
50Unit 5: Basic Cloud Essentials for DeveloperLec1Service SelectionA customer needs to store pgvector extensions for PostgreSQL-based vector search. Which service supports this?Hard1AAmazon RDS with PostgreSQLAmazon DynamoDBAmazon S3Amazon ECRRDS with PostgreSQL can store vector extensions like pgvector, enabling vector-based similarity search within a relational database.
51Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA customer's CI/CD pipeline fails when pushing to ECR with "denied: Your authorization token has expired". What should they do?Medium1BCreate a new ECR repositoryRe-run aws ecr get-login-password to get a fresh tokenChange the Docker image tagRestart the EC2 instanceECR authorization tokens expire, so the pipeline needs to re-authenticate by running aws ecr get-login-password before pushing images.
52Unit 5: Basic Cloud Essentials for DeveloperLec1ArchitectureA customer is designing a system where agents need to track decision history for debugging and auditing. Which services should store this data?Hard1DS3 onlyEC2 local storageECRDynamoDB for quick access and RDS for audit trailsDynamoDB tracks agent decision history with low-latency access, while RDS maintains audit trails of agent actions with complex query capabilities.
53Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA customer wants to list all available foundation models in Amazon Bedrock using Python. Which boto3 client method should they call?Medium1Abedrock_client.list_foundation_models()bedrock_client.get_models()bedrock_client.describe_models()bedrock_client.show_models()The list_foundation_models() method of the bedrock client returns a list of available Amazon Bedrock foundation models.
54Unit 5: Basic Cloud Essentials for DeveloperLec2ArchitectureA customer wants to embed multiple documents in batch for their RAG system. Which BedrockEmbeddings method should they use?Medium1Cembed_query()embed_single()embed_documents()embed_batch()The embed_documents() method of BedrockEmbeddings accepts a list of documents and returns embeddings for all of them.
55Unit 5: Basic Cloud Essentials for DeveloperLec1Problem SolvingA customer's agents are making external API calls but the responses are slow due to network latency from the private subnet. What should they check?Hard1BThe EC2 instance typeThe NAT Gateway configuration and bandwidthThe S3 bucket regionThe DynamoDB read capacityNAT Gateway enables outbound connections from private subnets. Slow responses could indicate NAT Gateway bandwidth or configuration issues.
56Unit 5: Basic Cloud Essentials for DeveloperLec2Service SelectionA customer wants to use cosine similarity for comparing vectors in their semantic search system. Which parameter should they set when creating an S3 Vectors index?Medium1DdataTypedimensionindexNamedistanceMetricThe distanceMetric parameter should be set to "cosine" when creating an S3 Vectors index for cosine similarity comparisons.
57Unit 5: Basic Cloud Essentials for DeveloperLec1Problem SolvingA customer's multi-agent system needs to maintain temporary working memory for complex tasks. Which service is most appropriate?Medium1AAmazon DynamoDBAmazon S3Amazon RDSAmazon ECRDynamoDB manages temporary working memory for complex tasks due to its low-latency access and automatic scaling capabilities.
58Unit 5: Basic Cloud Essentials for DeveloperLec2ArchitectureA customer deployed their application but environment variables with AWS credentials are not persisting after EC2 restart. What is a better approach?Hard1CHardcode credentials in the applicationStore credentials in S3Use ~/.aws/credentials file or IAM roles for EC2Store credentials in DynamoDBThe ~/.aws/credentials file persists credentials, or better yet, use IAM roles attached to EC2 instances for automatic credential management.
59Unit 5: Basic Cloud Essentials for DeveloperLec2Problem SolvingA customer is using ChatBedrockConverse and gets "ValidationException: Model not found". What should they verify?Hard1BThe AWS CLI versionThe model_id is correct and the model is available in the specified regionThe temperature parameterThe max_tokens parameterThe model_id must be a valid model identifier (e.g., "amazon.nova-lite-v1:0") and the model must be available in the specified region_name.
60Unit 5: Basic Cloud Essentials for DeveloperLec1Service SelectionA customer wants to enable batch processing of large datasets for their RAG knowledge base. Which service should store the datasets?Medium1AAmazon S3Amazon DynamoDBAmazon ECRAmazon VPCS3 enables batch processing of large datasets and serves as a data lake for multi-agent knowledge, making it ideal for RAG knowledge bases.