- Học kỳ
- SU2026
- Thời Gian
- 16/8/26
- Loại tài liệu
- FE
DWP301c SU26 FE
1. (Choose 1 answer)
Which cloud service provider is well-suited for running event-driven functions, building serverless applications, and processing data streams?
A. Microsoft Azure
B. Google Cloud Platform (GCP)
C. IBM Cloud
D. Amazon Web Services (AWS)
Đáp án:
2. (Choose 1 answer)
Samantha is designing a user interface for a complex web application that requires high interactivity and responsiveness. Which approach she should consider to create a seamless and efficient front-end user experience?
A. Using jQuery for DOM manipulation
B. Implementing asynchronous JavaScript and AJAX
C. Applying responsive web design with media queries
D. Using modern front-end frameworks like React or Angular
Đáp án:
3. (Choose 1 answer)
In a Git workflow, what does the term 'cherry-picking' refer to?
A. It is a command to discard specific commits from a branch.
B. It means selecting and applying specific commits from one branch to another.
C. It is a process to create a new branch with only the latest commits.
D. It refers to randomly choosing which branch to merge into the main branch.
Đáp án:
4. (Choose 1 answer)
Liam is a cloud strategist tasked with advising a traditional manufacturing company on cloud adoption. The company is concerned about the security of its proprietary manufacturing processes. How should Liam address the security concerns and convince the company of the benefits of cloud adoption?
A. Propose using public cloud services for maximum security
B. Recommend a hybrid cloud approach with encryption and access controls
C. Advocate for on-premises data centers to maintain full control
D. Suggest outsourcing security to a third-party provider
Đáp án:
5. (Choose 1 answer)
Liam is a cloud strategist tasked with advising a traditional manufacturing company on cloud adoption. The company is concerned about the security of its proprietary manufacturing processes. How should Liam address the security concerns and convince the company of the benefits of cloud adoption?
A. Propose using public cloud services for maximum security
B. Recommend a hybrid cloud approach with encryption and access controls
C. Advocate for on-premises data centers to maintain full control
D. Suggest outsourcing security to a third-party provider
Đáp án:
6. (Choose 1 answer)
Which cloud service model delivers software applications over the internet on a subscription basis?
A. PaaS
B. IaaS
C. SaaS
D. DaaS
Đáp án:
7. (Choose 1 answer)
In the context of virtual machines, what is the primary purpose of a 'snapshot'?
A. A backup of the entire virtual machine's state
B. A real-time record of CPU performance metrics
C. A virtual networking component for VMs
D. A container for storing virtual machine backups
Đáp án:
8. (Choose 1 answer)
In CSS, what is the "z-index" property used for?
A. Animating elements with a zoom effect
B. Defining the size and dimensions of elements
C. Controlling the stacking order of elements in a web page, determining which elements appear in front of others
D. Setting the background colour of elements
Đáp án:
9. (Choose 1 answer)
Which programming language is commonly used for scripting in front-end web development?
A. Python
B. JavaScript
C. Java
D. C++
Đáp án:
10. (Choose 1 answer)
Diana is explaining the concept of semantic HTML to a group of junior web developers. They are discussing the concept of Semantic HTML. What explanation should se provide of semantic HTML and its importance in web development?
A. Semantic HTML refers to using meaningful tags to convey the structure of a web page and its content. It is important for accessibility and SEO. Examples include <div> and <span>.
B. Semantic HTML refers to using non-meaningful tags like <div> and <span>. It is not important for web development.
C. Semantic HTML is not relevant in modern web development.
D. Semantic HTML refers to using any HTML tags without specific meaning.
Đáp án:
11. (Choose 1 answer)
What is the primary purpose of the "testing" phase in the web development lifecycle?
A. To design the user interface
B. To write and optimize the server-side code.
C. To identify and fix issues, bugs, and errors in the web application.
D. To deploy the website to a production server.
Đáp án:
12. (Choose 1 answer)
What is the first step to get started with GitHub?
A. Creating a GitHub account
B. Downloading GitHub software
C. Writing code
D. Joining a GitHub organisation
Đáp án:
13. (Choose 1 answer)
In a Git workflow, what is the purpose of a 'squash and merge' strategy when handling pull requests?
A. To create a new branch by merging multiple feature branches
B. To combine all the commits from a pull request into a single, coherent commit before merging into the main branch
C. To reject pull requests that introduce conflicts with the main branch
D. To automatically merge pull requests without any review
Đáp án:
14. (Choose 1 answer)
How does the 'abort' function in Flask contribute to error handling and the overall robustness of a web application?
A. By terminating the entire application in case of an error
B. By logging error messages to a file for analysis
C. By raising an HTTP error with a specific status code and optional description
D. By triggering a system-level exception when an error occurs
Đáp án:
15. (Choose 1 answer)
What is the primary advantage of using modules in Node.js, and how does this advantage influence the development process in terms of code architecture and scalability?
A. Modules in Node.js promote code encapsulation, allowing for the creation of self-contained, reusable units of code. This facilitates better code organisation and debugging, leading to more maintainable applications.
B. Modules in Node.js optimise memory usage by reducing code duplication, resulting in smaller memory footprints and improved runtime performance.
C. Modules in Node.js enable seamless integration with external hardware devices and peripherals, making it easier to interface with IoT (Internet of Things) components.
D. Modules in Node.js primarily serve as a security mechanism, protecting sensitive code segments from unauthorised access and ensuring data privacy.
Đáp án:
16. (Choose 1 answer)
In a Git workflow, what does the term 'cherry-picking' refer to?
A. It is a command to discard specific commits from a branch.
B. It means selecting and applying specific commits from one branch to another.
C. It is a process to create a new branch with only the latest commits.
D. It refers to randomly choosing which branch to merge into the main branch.
Đáp án:
17. (Choose 1 answer)
Oliver is developing a feature that requires handling concurrent access to the database by multiple users.
What database concurrency control technique should Oliver implement?
A. Database Replication
B. Locking
C. Database Partitioning
D. Database Sharding
Đáp án:
18. (Choose 1 answer)
In a highly optimised and performance-sensitive React application, considering various factors such as component isolation, encapsulation, and data consistency, what are the techniques and strategies be employed as the primary method for passing data between sibling components?
A. Using a global state managed by Redux
B. Using props to pass data from a parent component to child components
C. Using a JavaScript file to directly share data between components
D. Using the 'setState' method to update the state of sibling components
Đáp án:
19. (Choose 1 answer)
You are designing a RESTful API for a financial application that deals with sensitive customer data. What security measures should you consider when designing the authentication system for this API?
A. Use HTTP Basic Authentication with SSL/TLS for all requests.
B. Implement OAuth 2.0 with JWT (JSON Web Tokens) for secure authentication and authorisation.
C. Use a custom authentication mechanism with a shared secret key for all clients.
D. No authentication is needed since SSL/TLS provides sufficient security.
Đáp án:
20. (Choose 1 answer)
In a Git workflow, what does the term 'cherry-picking' refer to?
A. It is a command to discard specific commits from a branch.
B. It means selecting and applying specific commits from one branch to another.
C. It is a process to create a new branch with only the latest commits.
D. It refers to randomly choosing which branch to merge into the main branch.
Đáp án:
21. (Choose 1 answer)
How does the use of JSX Transform in React applications improve performance, and what role does Babel play in this optimisation process?
A. JSX Transform has no impact on React application performance, and Babel is not related to optimisation.
B. JSX Transform compiles JSX code to efficient JavaScript, reducing the runtime overhead of React applications. Babel is a transpiler that integrates JSX Transform for optimisation.
C. JSX Transform is used for converting React components to HTML, while Babel focuses on syntax checking.
D. JSX Transform is used to enhance animation performance, and Babel is a standalone package unrelated to React optimisation.
Đáp án:
22. (Choose 1 answer)
David is working on a project where he is responsible for error handling in a RESTful API. He wants to ensure that when errors occur, clients receive meaningful error messages that help them diagnose and resolve issues. What error handling approach should David consider to address this real-life problem?
A. Returning Generic Error Codes
B. Customising Error Responses with Descriptive Messages
C. Silently Ignoring Errors
D. Disabling Error Reporting
Đáp án:
23. (Choose 1 answer)
What is the significance of server-side rendering (SSR) in server-side JavaScript, and how does it differ from client-side rendering (CSR)?
A. SSR improves SEO by rendering web pages on the server, while CSR renders pages on the client-side.
B. SSR enhances client-side interactivity, while CSR focuses on server-side logic.
C. SSR and CSR are identical concepts with no differences.
D. SSR is used for mobile web applications, while CSR is for desktop applications.
Đáp án:
24. (Choose 1 answer)
In Docker, what is the primary role of the Docker Daemon (dockerd)?
A. Building container images
B. Running containerised applications
C. Managing container clusters
D. Orchestrating container deployments
Đáp án:
25. (Choose 1 answer)
How would you use the route decorator in Flask to create different endpoints for a web application?
A. Utilising the route decorator to specify which HTTP methods a route should respond to in Flask.
B. The route decorator in Flask is primarily used for database operations within a web application.
C. The route decorator helps manage the layout and design of web pages.
D. Using the route decorator to define distinct URL paths and associate them with specific functions in your Flask application.
Đáp án:
26. (Choose 1 answer)
Isabella is managing a Django project with a large database schema. She must add a new field to an existing Django Model and apply this change to the database. What Django command should she use to create a database migration for this change?
A. python manage.py syncdb
B. python manage.py makemigrations
C. python manage.py migrate
D. python manage.py create_migration
Đáp án:
27. (Choose 1 answer)
In a sophisticated Git-based software development workflow, what is the precise role and purpose of a 'pre-commit' hook?
A. It automatically merges changes from one branch to another.
B. It sends notifications to team members when a commit is made.
C. It executes custom scripts or checks before a commit is finalised.
D. It manages user access and permissions for Git repositories.
Đáp án:
28. (Choose 1 answer)
You are building an AI-based Flask application that performs real time language translation using IBM Watson Language Translator service. What is a key consideration for optimising user experience in this scenario?
A. Minimising the number of supported languages to reduce complexity
B. Reducing the accuracy of translation to speed up the process
C. Implementing client-side caching of translated content
D. Increasing the AI model's complexity to handle rare languages more effectively
Đáp án:
29. (Choose 1 answer)
What is a React component?
A. A server for handling API requests
B. A reusable building block for user interfaces
C. A JavaScript library for data manipulation
D. A content management system
Đáp án:
30. (Choose 1 answer)
You must select an API approach for a mobile application with varying data requirements. Explain the key considerations in choosing between GraphQL and RESTful APIs for this project.
A. GraphQL is always the better choice for mobile applications due to its flexibility.
B. Consider factors such as network efficiency, client-side complexity, and the need for real-time updates when choosing between GraphQL and RESTful APIs.
C. RESTful APIs are more suitable for mobile applications because they require less bandwidth.
D. GraphQL is ideal for mobile applications only if the backend services are already using GraphQL.
Đáp án:
31. (Choose 1 answer)
William is facing a challenge in his Kubernetes environment where he needs to expose multiple microservices to external clients securely. Which Kubernetes object can help William achieve this goal while enforcing authentication and authorisation policies?
A. Use Kubernetes Deployments with NodePort Services.
B. Implement Kubernetes ConfigMaps to store service configuration.
C. Leverage Kubernetes Services with LoadBalancer type.
D. Deploy Kubernetes Ingress resources with associated Ingress Controllers.
Đáp án:
32. (Choose 1 answer)
Kenny is a senior front-end developer leading a project that requires handling concurrent user interactions in a real-time collaborative application. What should Kenny consider when dealing with Promises and concurrency challenges in this project?
A. Include asynchronous handling and use 'Promise.allSettled()' for managing multiple Promises concurrently.
B. Implement 'async/await' and 'bluebird' library to handle race conditions effectively.
C. Perform data streaming with 'rxjs' Observables for better concurrency control.
D. Use 'q' library to avoid callback hell when managing multiple concurrent Promises.
Đáp án:
33. (Choose 1 answer)
What is the primary advantage of using modules in Node.js, and how does this advantage influence the development process in terms of code architecture and scalability?
A. Modules in Node.js promote code encapsulation, allowing for the creation of self-contained, reusable units of code. This facilitates better code organisation and debugging, leading to more maintainable applications.
B. Modules in Node.js optimise memory usage by reducing code duplication, resulting in smaller memory footprints and improved runtime performance.
C. Modules in Node.js enable seamless integration with external hardware devices and peripherals, making it easier to interface with IoT (Internet of Things) components.
D. Modules in Node.js primarily serve as a security mechanism, protecting sensitive code segments from unauthorised access and ensuring data privacy.
Đáp án:
34. (Choose 1 answer)
Which SQL statement is used to retrieve data from a database?
A. SEARCH
B. FIND
C. SELECT
D. GET
Đáp án:
35. (Choose 1 answer)
How does the 'abort' function in Flask contribute to error handling and the overall robustness of a web application?
A. By terminating the entire application in case of an error
B. By logging error messages to a file for analysis
C. By raising an HTTP error with a specific status code and optional description
D. By triggering a system-level exception when an error occurs
Đáp án:
36. (Choose 1 answer)
You are tasked with deploying a containerised application that requires sensitive data, such as database credentials and API keys. How would you securely manage and inject this sensitive information into the application's pods running in a Kubernetes cluster?
A. Store sensitive data directly in the application code repository to ensure easy pod access.
B. Use Kubernetes ConfigMaps to store sensitive data and inject them into pods as environment variables.
C. Embed sensitive data directly in Docker images to simplify pod deployment and access.
D. Create plaintext text files with sensitive data and mount them as volumes in pods for easy access.
Đáp án:
37. (Choose 1 answer)
Noah is working on a legacy JavaScript project and wants to use modern ES6 features to improve code readability and maintainability. Which ES6 feature allows him to create variables with block scope and avoid variable hoisting?
A. Template literals
B. Arrow functions
C. Let and const declarations
D. Promise and async/await
Đáp án:
38. (Choose 1 answer)
In a Kubernetes cluster, what is the purpose of the etcd component?
A. Scaling application workloads
B. Storing configuration data
C. Running containerised applications
D. Managing cluster networking
Đáp án:
39. (Choose 1 answer)
What is a React component, and how does it differ from a regular HTML element?
A. A React component is an HTML element with additional styling options.
B. A React component is a reusable piece of UI that can have its own state and behaviour, unlike regular HTML elements.
C. A React component is a smaller HTML element nested within a larger HTML element.
D. A React component is an HTML element that can only be used in React applications.
Đáp án:
40. (Choose 1 answer)
Winston is a senior front-end developer tasked with enhancing the back end of a web application. He wants to incorporate serverless architecture. What key considerations should Winston take into account when implementing serverless architecture for the back end?
A. Analyse the application's state management and leverage AWS Lambda for serverless compute.
B. Include API Gateway for HTTP requests and maintain stateless functions for scalability.
C. Perform cold start optimisation for AWS Lambda functions and implement caching for improved performance.
D. Use Amazon DynamoDB for persistent data storage and implement 'Step Functions' for orchestration.
Đáp án:
41. (Choose 1 answer)
You must select an API approach for a mobile application with varying data requirements. Explain the key considerations in choosing between GraphQL and RESTful APIs for this project.
A. GraphQL is always the better choice for mobile applications due to its flexibility.
B. Consider factors such as network efficiency, client-side complexity, and the need for real-time updates when choosing between GraphQL and RESTful APIs.
C. RESTful APIs are more suitable for mobile applications because they require less bandwidth.
D. GraphQL is ideal for mobile applications only if the backend services are already using GraphQL.
Đáp án:
42. (Choose 1 answer)
In Kubernetes, what is the primary purpose of a Service object?
A. Defining containerised applications
B. Storing configuration data
C. Exposing a stable network endpoint to access pods
D. Managing container replicas
Đáp án:
43. (Choose 1 answer)
You are building a multi-page web application using Django and must organise your project into reusable components. What is the recommended approach for structuring your project?
A. Create a single Django app with multiple views and templates for each page.
B. Create multiple Django apps, each focusing on a specific feature or functionality of the application.
C. Use a single Django app with one view and one template for the entire application.
D. Do not use Django apps; rely on a single monolithic structure for the project.
Đáp án:
44. (Choose 1 answer)
How does the use of JSX Transform in React applications improve performance, and what role does Babel play in this optimisation process?
A. JSX Transform has no impact on React application performance, and Babel is not related to optimisation.
B. JSX Transform compiles JSX code to efficient JavaScript, reducing the runtime overhead of React applications. Babel is a transpiler that integrates JSX Transform for optimisation.
C. JSX Transform is used for converting React components to HTML, while Babel focuses on syntax checking.
D. JSX Transform is used to enhance animation performance, and Babel is a standalone package unrelated to React optimisation.
Đáp án:
45. (Choose 1 answer)
What is a primary advantage of using Docker containers when contemplating containerisation for deploying microservices?
A. Easier integration with monolithic applications
B. Isolation of microservices from each other
C. Complex orchestration of containerised services
D. Limited support for multi-cloud environments
Đáp án:
46. (Choose 1 answer)
Liam is facing a challenge in his project where he must ensure efficient communication between client applications and multiple microservices. He is concerned about maintaining security and rate limiting. What solution should Liam consider for this real-life problem?
A. Implement API Rate Limiting Policies
B. Use an API Gateway
C. Implement OAuth 2.0 Authentication
D. Optimise Database Queries
Đáp án:
47. (Choose 1 answer)
In Kubernetes, what is the primary purpose of a Service object?
A. Defining containerised applications
B. Storing configuration data
C. Exposing a stable network endpoint to access pods
D. Managing container replicas
Đáp án:
48. (Choose 1 answer)
You must update the 'price' column of all 'products' with a 'category' of 'Electronics' to set the price to $500. Which SQL statement should you use?
A. UPDATE products SET price = 500 WHERE category ='Electronics';
B. ALTER TABLE products SET price =500 WHERE category ='Electronics';
C. MODIFY products SET price =500 WHERE category='Electronics';
D. UPDATE products FROM category = 'Electronics' SET price=500;
Đáp án:
49. (Choose 1 answer)
Aiden is developing a web application for an e-commerce platform. He needs to provide a seamless shopping experience with real-time product availability updates. Which technology or approach should he consider for this complex requirement?
A. Building a monolithic application
B. Implementing a microservices architecture with message queues
C. Conducting static code analysis
D. Focusing on unit testing for code quality
Đáp án:
50. (Choose 1 answer)
In a real-world application, how would you apply the 'Configuration' factor of the Twelve-Factor App Methodology?
A. Hard-code configuration values within the codebase
B. Store configuration in environment-specific files
C. Use a central configuration server or environment variables
D. Ignore configuration and focus on code logic
Đáp án:
Đính kèm
-
DWP301c SU26 FE_01.webp29.2 KB · Lượt xem: 43 -
DWP301c SU26 FE_02.webp43.8 KB · Lượt xem: 30 -
DWP301c SU26 FE_03.webp34.9 KB · Lượt xem: 33 -
DWP301c SU26 FE_04.webp54.4 KB · Lượt xem: 29 -
DWP301c SU26 FE_05.webp54.1 KB · Lượt xem: 26 -
DWP301c SU26 FE_06.webp19.9 KB · Lượt xem: 33 -
DWP301c SU26 FE_07.webp29.4 KB · Lượt xem: 29 -
DWP301c SU26 FE_08.webp30.9 KB · Lượt xem: 28 -
DWP301c SU26 FE_09.webp19.9 KB · Lượt xem: 28 -
DWP301c SU26 FE_10.webp62.3 KB · Lượt xem: 28 -
DWP301c SU26 FE_11.webp30.1 KB · Lượt xem: 28 -
DWP301c SU26 FE_12.webp21.2 KB · Lượt xem: 24 -
DWP301c SU26 FE_13.webp40.1 KB · Lượt xem: 28 -
DWP301c SU26 FE_14.webp37.7 KB · Lượt xem: 28 -
DWP301c SU26 FE_15.webp78.2 KB · Lượt xem: 25 -
DWP301c SU26 FE_16.webp34.9 KB · Lượt xem: 26 -
DWP301c SU26 FE_17.webp30.9 KB · Lượt xem: 25 -
DWP301c SU26 FE_18.webp53.7 KB · Lượt xem: 22 -
DWP301c SU26 FE_19.webp50.3 KB · Lượt xem: 20 -
DWP301c SU26 FE_20.webp34.9 KB · Lượt xem: 19 -
DWP301c SU26 FE_21.webp60.3 KB · Lượt xem: 18 -
DWP301c SU26 FE_22.webp47.2 KB · Lượt xem: 18 -
DWP301c SU26 FE_23.webp45.8 KB · Lượt xem: 20 -
DWP301c SU26 FE_24.webp25.2 KB · Lượt xem: 20 -
DWP301c SU26 FE_25.webp46.7 KB · Lượt xem: 20 -
DWP301c SU26 FE_26.webp42.3 KB · Lượt xem: 21 -
DWP301c SU26 FE_27.webp38.9 KB · Lượt xem: 19 -
DWP301c SU26 FE_28.webp48.7 KB · Lượt xem: 20 -
DWP301c SU26 FE_29.webp23 KB · Lượt xem: 21 -
DWP301c SU26 FE_30.webp58.3 KB · Lượt xem: 25 -
DWP301c SU26 FE_31.webp51.3 KB · Lượt xem: 22 -
DWP301c SU26 FE_32.webp57 KB · Lượt xem: 23 -
DWP301c SU26 FE_33.webp78.3 KB · Lượt xem: 26 -
DWP301c SU26 FE_34.webp16.5 KB · Lượt xem: 26 -
DWP301c SU26 FE_35.webp37.8 KB · Lượt xem: 28 -
DWP301c SU26 FE_36.webp61.1 KB · Lượt xem: 25 -
DWP301c SU26 FE_37.webp36.8 KB · Lượt xem: 25 -
DWP301c SU26 FE_38.webp24.8 KB · Lượt xem: 26 -
DWP301c SU26 FE_39.webp44 KB · Lượt xem: 25 -
DWP301c SU26 FE_40.webp63.1 KB · Lượt xem: 24 -
DWP301c SU26 FE_41.webp58.3 KB · Lượt xem: 27 -
DWP301c SU26 FE_42.webp26 KB · Lượt xem: 20 -
DWP301c SU26 FE_43.webp51.3 KB · Lượt xem: 22 -
DWP301c SU26 FE_44.webp60.2 KB · Lượt xem: 22 -
DWP301c SU26 FE_45.webp34.7 KB · Lượt xem: 23 -
DWP301c SU26 FE_46.webp42.1 KB · Lượt xem: 21 -
DWP301c SU26 FE_47.webp25.9 KB · Lượt xem: 22 -
DWP301c SU26 FE_48.webp42.2 KB · Lượt xem: 21 -
DWP301c SU26 FE_49.webp44.5 KB · Lượt xem: 17 -
DWP301c SU26 FE_50.webp34.8 KB · Lượt xem: 42


